This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get install xvfb | |
| apt-get install firefox |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * 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. |
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