most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| presets: | |
| global: | |
| torrent_alive: yes | |
| seen: local # We don't want accepted movies on this feed to affect actual download feed | |
| download: | |
| path: /c/media/BitTorrent/sources | |
| overwrite: no | |
| notifications: | |
| rapidpush: |
| var Robot = function(robot){ | |
| robot.turnLeft(robot.angle % 90); | |
| //robot.turnGunRight(90); | |
| robot.clone(); | |
| this.direction = 1; | |
| }; | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot = ev.robot; | |
| robot.ahead(1); |
| if Chef::Config[:solo] | |
| class Chef | |
| module Mixin | |
| module Language | |
| def data_bag(bag) | |
| @solo_data_bags = {} if @solo_data_bags.nil? | |
| unless @solo_data_bags[bag] | |
| @solo_data_bags[bag] = {} | |
| Dir.glob(File.join(Chef::Config[:data_bag_path], bag, |
| require 'open-uri' | |
| # url dsl -- the ultimate url dsl! | |
| # | |
| # You just can't beat this: | |
| # | |
| # $ irb -r url_dsl | |
| # >> include URLDSL | |
| # => Object | |
| # >> http://github.com/defunkt.json |
| # http://unicorn.bogomips.org/SIGNALS.html | |
| rails_env = ENV['RAILS_ENV'] || 'production' | |
| rails_root = ENV['RAILS_ROOT'] || "/data/github/current" | |
| God.watch do |w| | |
| w.name = "unicorn" | |
| w.interval = 30.seconds # default | |
| # unicorn needs to be run from the rails root |
| #!/usr/bin/env ruby | |
| $:.unshift File.dirname(__FILE__)+"/../lib" | |
| require 'mongomapper' | |
| require 'irb' | |
| IRB.setup(nil) | |
| irb = IRB::Irb.new | |
| IRB.conf[:MAIN_CONTEXT] = irb.context |