Skip to content

Instantly share code, notes, and snippets.

rake <options> <tasks> ...;
options = [(-T | --tasks) | (-v | --verbose)] ...;
tasks = ! [ -e .rake_compleat ] && cat .rake_compleat || rake -T | cut -f2 -d' ' | tee .rake_compleat ;
[user]
email = <your-email>
name = <your-name>
[color]
diff = auto
status = auto
branch = auto
[alias]
st = status
co = checkout
<?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>Label</key>
<string>com.swig505.memcached</string>
<key>Program</key>
<string>/usr/bin/memcached</string>
<key>ProgramArguments</key>
<array>
<?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>Label</key>
<string>com.swig505.kestrel</string>
<key>ProgramArguments</key>
<array>
<string>java</string>
<string>-jar</string>
<?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>Label</key>
<string>com.swig505.mongod</string>
<key>Program</key>
<string>/usr/local/mongodb/bin/mongod</string>
<key>ProgramArguments</key>
<array>
<?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>Label</key>
<string>com.swig505.redis</string>
<key>Program</key>
<string>/usr/local/redis/redis-server</string>
<key>ProgramArguments</key>
<array>
sinatra --version 1.0
mustache --version 0.10.0
# terminal with 256 color
set -g default-terminal "screen-256color"
# Clipboard fix for iterm + OS X
set-option -g default-command "reattach-to-user-namespace -l zsh"
# command prefix (like screen)
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
autoload -Uz vcs_info
zstyle ':vcs_info:*' stagedstr '%F{green}●%f'
zstyle ':vcs_info:*' unstagedstr '%F{red}●%f'
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:*' formats '[%F{027}%b%f%c%u] '
zstyle ':vcs_info:*' enable git
theme_precmd () {
if [[ -z $(git ls-files --other --exclude-standard 2> /dev/null) ]] {
zstyle ':vcs_info:*' formats '[%F{027}%b%f%c%u] '
// Track user clicks on specified links
//
$("a.track").click(function(event) {
var link = $(this).attr("href");
var category = $(this).attr("rel");
if(!category) {
category = "General";
}