Skip to content

Instantly share code, notes, and snippets.

View danhodge's full-sized avatar

Dan Hodge danhodge

View GitHub Profile
@danhodge
danhodge / gist:4177114
Last active October 13, 2015 09:47 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@danhodge
danhodge / hello_spec.rb
Created March 1, 2012 16:58
achievement unlocked!
describe MessageReceiver do
context 'with a hello message' do
let(:message) { "hello" }
it 'responds accordingly' do
subject.receive(message).should == 'is it me your looking for?'
end
end
end