Skip to content

Instantly share code, notes, and snippets.


Philipp Keller philippkeller

View GitHub Profile
behrends / private.xml
Created Jul 5, 2012
Easy access to Umlauts on MacOS X using KeyRemap4MacBook
View private.xml
<?xml version="1.0"?>
<name>Easy access for Umlauts</name>
KeyCode::A, ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L,
KeyCode::U, ModifierFlag::OPTION_L, KeyCode::A, ModifierFlag::SHIFT_L
Frobitz / coffeescript-homebrew
Created Aug 4, 2012
Install CoffeeScript with Homebrew on OS X 10.8 Mountain Lion
View coffeescript-homebrew
# Install Homebrew
ruby <(curl -fsSk
# Follow on-screen instructions (X11 isn't necessary for this if it shows as not installed)
brew install node
# Open .bashrc and add this line (create .bashrc if its not in your home directory already)
JeffBelgum /
Created Sep 26, 2014
Python list comprehensions in Rust
/// MIT license etc. etc.
/// Experimenting with Python-like list comprehensions.
/// An attempt to explore the possibility space for ergonomic improvements
/// in Rust that can come post v1.0. Notice that there are not type declerations.
/// Aside from the "c!" macro invocation, Rust allows for an exact copy of the
/// Python comprehension syntax.
View xlwt - excel colors generator
"""Build an .xls file with all background colors vs patterns possibilities"""
import xlwt
wb = xlwt.Workbook()
ws = wb.add_sheet("Colors")
ws.write(0, 0, "Colors/Patterns")
for pat_index in range(0, 16):
ws.write(0, pat_index + 1, str(pat_index))
P7h /
Last active Jan 18, 2021
tmux 2.0 and tmux 2.3 installation steps for Ubuntu. Or build from tmux source v2.5 for Ubuntu and CentOS.
# Steps to build and install tmux from source.
# Takes < 25 seconds on EC2 env [even on a low-end config instance].
sudo yum -y remove tmux
sudo yum -y install wget tar libevent-devel ncurses-devel
tar xzf tmux-${VERSION}.tar.gz
rm -f tmux-${VERSION}.tar.gz
cd tmux-${VERSION}