Remapping Caps Lock to Control in Ubuntu 14.04
Remapping Caps Lock to Control in 14.04 was one of the biggest headaches in a long long time. But here is what you have to do: this link shows you how you ca...
Remapping Caps Lock to Control in 14.04 was one of the biggest headaches in a long long time. But here is what you have to do: this link shows you how you ca...
To get the “Open in terminal” command in the right-click menu of nautilus, install nautilus-open-terminal and nautilus-actions. Then restart nautilus with na...
To make nautilus open windows in front of the terminal in 14.04, install compizconfig-settings-manager and set the “Focus Prevention Level” to “Off” under “G...
http://stackoverflow.com/questions/4700614/how-to-put-the-legend-out-of-the-plot
In order to expand the number of dimensions of a numpy array, there are several options: np.expand_dims(x, axis=1) or x[:, np.newaxis] or x[:, None]. Refer t...
My ~/.bashrc file was not getting automatically loaded when I ssh-ed into the ece server. Turns out that you need a ~/.profile file, which tells bash to load...
When I ssh-ed into the ece server, inputrc was not loaded by default. So command-line history was not iPython-like. To make this happen, just press Ctrl-X Ct...
I made the .vim/bundle folder into a repo of submodules. Find it here. In order to successfully clone and set up this folder, first clone bundle, then run gi...
In bash, single-quotation causes all characters within to be treated as literal. “A single quotation mark may not appear within single quotes; not even when ...
To check out CPU utilization using a fancier top command, try htop.
Use the FIGNORE environment variable to tell bash to ignore certain file extensions while performing tab completion. Of course, this is now canon as far as m...
In order to get a time-stamped command line history for bash, look up the HISTTIMEFORMAT setting in the man pages for bash. My HISTTIMEFORMAT is currently se...
A possible method to ease the pain of parsing arguments in bash: man getopt. Note that this is GNU getopt in linux, by default. The non-GNU getopt is apparen...
Tools for improving your efficiency with the terminal: https://github.com/rupa/z/ and https://github.com/sjl/t/.
Here is a nice tutorial on installing ruby on ubuntu.