Skip to content

Instantly share code, notes, and snippets.

View kbuckler's full-sized avatar

Kenny Buckler kbuckler

  • Ironclad
  • South Lake Tahoe, CA
View GitHub Profile
@kbuckler
kbuckler / gist:9100765
Created February 19, 2014 20:25
.slate
# http://thume.ca/howto/2012/11/19/using-slate/
config defaultToCurrentScreen true
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
# Window Hints: cmd-e
bind e:cmd hint ASDFGHJKLQWERTYUIOPCVBN

Install Python 2.7.3 (if needed)

brew install python

Install cairo & py2cairo

brew install cairo
brew install py2cairo
@kbuckler
kbuckler / graphite.md
Last active December 12, 2015 03:49 — forked from oyiptong/graphite.md

This is a general overview (from memory) of the steps I used to install graphite (http://graphite.wikidot.com) on OS X Lion. I think the steps are in order but YMMV. Please fork and fix if you find an error.

Install Python 2.7.2

curl -kL http://xrl.us/pythonbrewinstall | bash
echo '[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc' >> ~/.bashrc
[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc
pythonbrew install 2.7.2
pythonbrew use 2.7.2
pythonbrew venv create graphite
+ def setup
+ puts Zendesk::Provisioning::Engine.routes.routes.routes.map(&:path).map(&:inspect)
+ end
module ZuoraClient
class ZObject
def initialize(type)
@type = type
end
def add_field(name, default_value)
@fields ||= {}
@fields[name.to_s] = default_value
for i in `find app lib -name *.rb`
do
echo `git log --oneline $i | grep -i -e fix -e bug -e zd: | wc -l` $i
done
set nocompatible
syntax enable
set encoding=utf-8
set showcmd
filetype on
filetype indent on
filetype plugin on
set nowrap
Actors & Threads @mperham
Concurrency
Two primatives: processes, threads
Problem: communication and coordination
Shared data, copied
IPC
pipes, sockets, shared mem, files