Skip to content

Instantly share code, notes, and snippets.

View jlsuttles's full-sized avatar

Jessica Aster (Suttles) jlsuttles

  • South Lake Tahoe, CA
View GitHub Profile

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
//= require application
//= require_tree .
//= require_self
document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>');
document.write('<style>#ember-testing-container { position: absolute; background: white; bottom: 0; right: 0; width: 640px; height: 384px; overflow: auto; z-index: 9999; border: 1px solid #ccc; } #ember-testing { zoom: 50%; }</style>');
App.rootElement = '#ember-testing';
App.setupForTesting();
App.injectTestHelpers();
@jlsuttles
jlsuttles / activities_helper.rb
Created February 27, 2012 22:49 — forked from ehrenmurdick/activities_helper.rb
activity_sequence
ACTIVITIES = [PersonalValues, PersonActions, SomeOther]
def next_activity(klass)
ACTIVITIES[ACTIVITIES.index(klass) + 1].to_s.underscore.pluralize + "some shit"
end
def prev_activity(klass)
ACTIVITIES[ACTIVITIES.index(klass) - 1].to_s.underscore.pluralize + "some shit"
end