Skip to content

Instantly share code, notes, and snippets.

@tobscher
tobscher / README.md
Created July 8, 2015 12:30
Automatically enable press and hold on boot (OSX)

File location: ~/Library/LaunchAgents/org.tobiashaar.press_and_hold.plist Command to load: launchctl load

@tobscher
tobscher / custom_plan.rb
Created January 30, 2013 15:39
Zeus engine setup.
require 'zeus/rails'
ROOT_PATH = File.expand_path(Dir.pwd)
ENV_PATH = File.expand_path('spec/dummy/config/environment', ROOT_PATH)
BOOT_PATH = File.expand_path('spec/dummy/config/boot', ROOT_PATH)
APP_PATH = File.expand_path('spec/dummy/config/application', ROOT_PATH)
ENGINE_ROOT = File.expand_path(Dir.pwd)
ENGINE_PATH = File.expand_path('lib/my_engine/engine', ENGINE_ROOT)
class CustomPlan < Zeus::Rails