grep
Script to download all the related videos from youtube with youtube-dl
2010/05/17
Lets cut the long discussion <a class="zem_slink freebase/en/short_subject" title="Short film" rel="wikipedia" …
Downloading all related videos from youtube with youtube-dl
2010/05/16
How many time did you want to see all the videos (related) to the one you were watching on youtube but decided otherwise as the downloaded was not fast enough. Or has it happened to you that you …
Script to get the number of events from the logs.
2010/04/11
<a id="aptureLink_4P0PJ73NaG" style="margin: 0pt auto; padding: 0px 6px; text-align: center; display: block;" …
Extract all urls from the last firefox sessionstore.js file used.
2010/03/29
Some taken from commandlinefu. What all the below commands are doing is basically that the url: is captured from the sessionstore.js file and then just extract the URL from the line. These are done in …
vim search multiple files
2010/03/25
Searching some pattern in multiple files is something that is required very often. There are multiple ways to do it, like <a class="zem_slink freebase/en/grep" title="Grep" …
Color in grep output to distinquish the matching entries
2010/02/04
Most of the times I end up spending a lot of time to look for the string in the grep output when I do a search. This is quite frustrating and thus I looked at the options for grep command that would …
grep -v with multiple patterns.
2010/01/25
$ sed '/test/{/error|critical|warning/d}' somefile If you wanted to do all in one command, you could go w/ sed instead […] <a href="http://www.commandlinefu.com"><img …