Encrypting files with gpg
Encrypt a file with gpg -c <file>. Decrypt with gpg <file>. Be sure to delete the un-encrypted file after encryption. shred it, perhaps.
Encrypt a file with gpg -c <file>. Decrypt with gpg <file>. Be sure to delete the un-encrypted file after encryption. shred it, perhaps.
In order to solve the problem of a slow wireless connection on Thinkpads running Ubuntu 12.04 (and possibly later versions as well), disable the N-mode (IEEE...
In order to find out which headers each .cpp file requires, perform a g++ -MM file.cpp. This lists out the dependencies for converting file.cpp into an objec...
When trying to change fonts in matplotlib, you might run into an error that says that the font or the font family was not found. To fix this, you need to act...
I was trying to find a method to get Rhythmbox to stop after the current track. I found a plugin that does this, but it is old, and the manual installation d...
Firefox doesnt change tabs with Ctrl+PgUp or Ctrl+PgDn when you are focused on a text input field. To fix this, install the “free control” add-on.
Check out some choices on fonts for a thesis: http://www.khirevich.com/latex/font/. They use Bitstream Charter for the main body text and Computer Modern for...
In order to make applications that you can “summon” from X, say by double-clicking on a file in nautilus, you need to create a .desktop file corresponding to...
In order to create a pair of RSA keys, use ssh-keygen -t rsa -C "user@host". The -C option is optional, but can be used to put your email address into the key.
You can find out your glibc version by running ldd --version. You can also do a locate libc.so.6 and then execute the shared library like a program. This act...
To remove lines the object oriented way in matplotlib (using axes, etc.) take a look at my tuner program for an example. Alternatively, look at the fitzhugh-...
Use the select module in python for non-blocking input. Look at my tuner program for an example of its usage.
To get ipython-like command completion in bash, i.e. to make it so that bash will only search the subset of history that starts with letters you have already...
When linking object files (static libraries) into an executable, the order in which you give the libraries matters. For simple scenarios where there are no c...
“The implementation of a non-specialized template must be visible to a translation unit that uses it. The compiler must be able to see the implementation in ...