Skip to content

Instantly share code, notes, and snippets.

View calleluks's full-sized avatar

Calle Luks calleluks

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.13528014719486237</real>
<key>Green Component</key>
<real>0.12312769144773483</real>
@calleluks
calleluks / gist:9422602
Last active August 29, 2015 13:57
respond_to_missing? and BasicObject
class A
def initialize(obj)
@obj = obj
end
def method_missing(message, *args, &block)
@obj.send(message, *args, &block)
end
end
@calleluks
calleluks / setup_mail.zsh
Last active August 29, 2015 13:57
Setup mutt and dependencies
cd ~
git clone git://github.com/spaetz/offlineimap.git
cd offlineimap
git checkout 679c491c56c981961e18aa43b31955900491d7a3
sudo python setup.py install
cd ..
sudo rm -rf offlineimap
brew install sqlite mutt urlview msmtp contacts notmuch
mkdir ~/.mail
mkdir -p ~/.mutt/temp
@calleluks
calleluks / gist:969885e44a576832e7e9
Created September 12, 2014 19:48
Ruby man pages.
man ActiveRecord::Base
@calleluks
calleluks / gist:08f240093bfc990610ae
Created September 12, 2014 19:51
Searchable man pages.
man -k . | pick | xargs man