Check These Out
You probably want to run `brew update` before you run this command
Get information of volume labels of bitlocker volumes, even if they are encrypted and locked (no access to filesystem, no password provided). Note that the volume labels can have spaces, but only if you name then before encryption. Renaming a bitlocker partition after being encrypted does not have the same effect as doing it before.
url can be like any one of followings:
$url="MejbOFk7H6c"
$url="http://youtu.be/MejbOFk7H6c"
$url="https://youtube.com/watch?feature=player_embedded&v=MejbOFk7H6c#t"
$url="//www.youtube.com/v/MejbOFk7H6c?hl=ru_RU&version=3&rel=0"
$url="http://www.youtube.com/embed/MejbOFk7H6c?feature=player_embedded"
If url mismatching, whole url will be returned.
Mask the user agent as firefox, recursively download 2 levels deep from a span host with a maximum of 1 redirection, use random wait time and dump all pdf files to myBooksFolder without creating any other directories. Host will have no way of knowing that this is a grabber script.
You're running a program that reads LOTS of files and takes a long time.
But it doesn't tell you about its progress.
First, run a command in the background, e.g.
$ find /usr/share/doc -type f -exec cat {} + > output_file.txt
Then run the watch command.
"watch -d" highlights the changes as they happen
In bash: $! is the process id (pid) of the last command run in the background.
You can change this to $(pidof my_command) to watch something in particular.
It's not my code, but I found it useful to know how many open connections per request I have on a machine to debug connections without opening another http connection for it.
You can also decide to sort things out differently then the way it appears in here.
Work out last months value
Possible simplification of egrep-awk-sort with find and -exec with xargs.
An improvement of the original (at: http://www.commandlinefu.com/commands/view/2872/update-twitter-via-curl) in the sense that you see a "from cURL" under your status message instead of just a "from API" ;-) Twitter automatically links it to the cURL home page.