Skip to content

Instantly share code, notes, and snippets.

require 'rubygems'
require 'action_controller'
require 'test/unit'
class AccountsController < ActionController::Base
end
# Your mission, should you choose to accept it: Change the RouteSet (in the
# with_route_set method) so as to make both tests pass.
class RoutingTest < ActionController::TestCase
#!/usr/bin/env ruby
#
# I have a couple of GeekTool windows at the bottom of the screen,
# where it's nice to bottom-justify their contents, but GeekTool
# doesn't seem to support this natively.
#
# Usage:
# cat TODO.rdoc | bottom-justify.rb 24
#
# It seems like there could be a nice shell command for this,
@matthewtodd
matthewtodd / .rsnapshot.conf
Created December 19, 2008 08:24
Local rsnapshot config to backup ${HOME} to external hard drive
config_version 1.2
snapshot_root /Volumes/Suspenders/
no_create_root 1
cmd_rm /bin/rm
cmd_rsync /opt/local/bin/rsync
cmd_logger /usr/bin/logger
interval nightly 3