This gist is now deprecated as I've finally sorted out and made my dotfiles public.
My ~/.gitconfig is available here, and my git-related shell setup here.
/* | |
As of version 1.1.2, Propane will load and execute the contents of | |
~Library/Application Support/Propane/unsupported/caveatPatchor.js | |
immediately following the execution of its own enhancer.js file. | |
You can use this mechanism to add your own customizations to Campfire | |
in Propane. | |
Below you'll find two customization examples. |
require 'formula' | |
class TmuxForIterm2 < Formula | |
url 'http://iterm2.googlecode.com/files/tmux-for-iTerm2-20120108.tar.gz' | |
md5 'f15d9f567b9b029482bb7b3227ee7ac3' | |
homepage 'http://code.google.com/p/iterm2/wiki/TmuxIntegration' | |
depends_on 'libevent' | |
def install |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.0</real> | |
<key>Green Component</key> | |
<real>0.0</real> |
/* ~/Library/KeyBindings/DefaultKeyBinding.dict */ | |
{ | |
/* Additional Emacs bindings */ | |
"~f" = "moveWordForward:"; /* M-f */ | |
"~b" = "moveWordBackward:"; /* M-b */ | |
"~<" = "moveToBeginningOfDocument:"; /* M-< */ | |
"~>" = "moveToEndOfDocument:"; /* M-> */ | |
"~v" = "pageUp:"; /* M-v */ | |
"^v" = "pageDown:"; /* C-v */ |
# From Bryan Liles on the Practicing Ruby Discussion List | |
1. TDD is a great tool. As a tool, you'll use it when appropriate. | |
TATFT mostly means that you should be thinking about how you can put | |
whatever you are creating under test at all times. Writing tests for | |
the sake of writing tests is silly. | |
2. Like Gregory stated, brittle tests aren't helping anyone. Think | |
about the ingress/egress points of your objects at all times. |
require 'ruby-prof' | |
require 'benchmark' | |
module BenchmarkHelpers | |
PROFILE_OUTPUT_DIR = "profiling" | |
def self.safe_filename(name) | |
name.gsub(" ", "_") | |
end | |
def self.example_output_target_file!(example) |