Check These Out
Only under linux.
Requires Gvim compiled with "clientserver" functionality and
wmctrl command installed on system.
Instead of servername can be used the current edited file name.
Put it in a function and map it for get rid of "Press a key" after execution.
Using this command you can track a moment when usb device was attached.
usefull in case of abuser/DoS attacks.
print multiple increasing years using cal - calendar -. You can also try
$seq Start Increment End
This is an example of the usage of pdfnup (you can find it in the 'pdfjam' package). With this command you can save ink/toner and paper (and thus trees!) when you print a pdf.
This tools are very configurable, and you can make also 2x2, 3x2, 2x3 layouts, and more (the limit is your fantasy and the resolution of the printer :-)
You must have installed pdfjam, pdflatex, and the LaTeX pdfpages package in your box.
Change to your taste. Much quicker than having to add 'cd' every time. Add it to your .bashrc or .bash_profile.
USAGE: $ sudor your command
This command uses a dirty hack with history, so be sure you not turned it off.
WARNING!
This command behavior differ from other commands. It more like text macro, so you shouldn't use it in subshells, non-interactive sessions, other functions/aliases and so on. You shouldn't pipe into sudor (any string that prefixes sudor will be removed), but if you really want, use this commands:
$ proceed_sudo () { sudor_command="`HISTTIMEFORMAT=\"\" history 1 | sed -r -e 's/^.*?sudor//' -e 's/\"/\\\"/g'`" ; pre_sudor_command="`history 1 | cut -d ' ' -f 5- | sed -r -e 's/sudor.*$//' -e 's/\"/\\\"/g'`"; if [ -n "${pre_sudor_command/ */}" ] ; then eval "${pre_sudor_command%| *}" | sudo sh -c "$sudor_command"; else sudo sh -c "$sudor_command" ;fi ;}; alias sudor="proceed_sudo # "
Replace 'csv_file.csv' with your filename.
This is the FOURTH in a set of five commands. Please see my other commands for the previous three steps.
This command builds the authorization header required by Twitter.
For this command to work, see my previous 3 commands (step1, step2 and step3) as they are required to build the environment variables used in this command.
For more information on the authorization header, go to dev.twitter.com/apps, click on any of your apps (or create a new one) and then click on the "OAuth Tool" tab.