This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| background: linear-gradient(30deg, #116, cyan); | |
| min-height: 100%; | |
| * Essential | |
| BASH | |
| * In bash, 'ctrl-r' searches your command history as you type | |
| - Add "set -o vi" in your ~/.bashrc to make use the vi keybindings instead | |
| of the Emacs ones. Takes some time to get used to, but it's fantastic! | |
| - Input from the commandline as if it were a file by replacing | |
| 'command < file.in' with 'command <<< "some input text"' | |
| - '^' is a sed-like operator to replace chars from last command | |
| 'ls docs; ^docs^web^' is equal to 'ls web'. The second argument can be empty. |
| apt-get install xvfb | |
| apt-get install firefox |
I hereby claim:
To claim this, I am signing this object: