This is a local copy of the commands from:
- http://www.jmknoble.net/keys/#master-key
- http://www.macfreek.nl/mindmaster/Convert_GPG_keys_to_subkeys
- Bootable offline cd with gpg: http://tails.boum.org
| #!/bin/bash | |
| # Script for installing tmux on systems where you don't have root access. | |
| # tmux will be installed in $HOME/local/bin. | |
| # It's assumed that wget and a C/C++ compiler are installed. | |
| # exit on error | |
| set -e | |
| TMUX_VERSION=1.8 | 
This is a local copy of the commands from:
It's a common confusion about terminal colors... Actually we have this:
The 256 color palete is configured at start, and it's a 666 cube of colors, each of them defined as a 24bit (888 rgb) color.
| import subprocess | |
| import time | |
| def wait(seconds): | |
| time.sleep(seconds) | |
| def play_note(note='C', duration=4, delay=0): | |
| # requires sox to be installed | 
| #!env ruby | |
| # | |
| # brew install sox | |
| # | |
| def play(note, octave=1) | |
| "play -q -n synth sq #{note}#{octave} remix - fade 0 .6 .1 norm; " | |
| end | |
| song_notes = %w(B A G A B B B A A A G D D B A G A B B B B A A B A G) | 
| # vim: filetype=neomuttrc | |
| # Default index colors: | |
| color index yellow default '.*' | |
| color index_author red default '.*' | |
| color index_number blue default | |
| color index_subject cyan default '.*' | |
| # For new mail: | |
| color index brightyellow black "~N" | |
| color index_author brightred black "~N" | 
| #!/usr/bin/env python | |
| import logging | |
| import socket | |
| import sys | |
| import threading | |
| import paramiko | |
| logging.basicConfig() | |
| logger = logging.getLogger() | 
To remove a submodule you need to:
| # Use xinput to find your keyboards. | |
| $ xinput | |
| ⎡ Virtual core pointer id=2 [master pointer (3)] | |
| ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] | |
| ⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)] | |
| ⎜ ↳ TPPS/2 IBM TrackPoint id=12 [slave pointer (2)] | |
| ⎜ ↳ Logitech Performance MX id=14 [slave pointer (2)] | |
| ⎜ ↳ E-Signal USB Gaming Keyboard id=16 [slave pointer (2)] | |
| ⎣ Virtual core keyboard id=3 [master keyboard (2)] |