Skip to content

Instantly share code, notes, and snippets.

View texel's full-sized avatar

Leigh Caplan texel

View GitHub Profile
.wishlist-grid {
background-color: #cbcccd;
float: left;
width: 200px;
height: 200px;
margin: 10px 10px 10px 0;
padding: 5px;
}
#!/usr/bin/env ruby
branch_name = `git rev-parse --abbrev-ref HEAD`
branch_number_regex = /^(\d+)/
matcher = branch_name.match(branch_number_regex)
branch_number = matcher[1]
if branch_number
path = ARGV[0]
@texel
texel / gist:485147
Created July 21, 2010 21:15 — forked from loe/gist:485146
ree-1.8.7-2009.10 > fuckery = ActiveSupport::Deprecation::DeprecatedObjectProxy.new(nil, "fuckery!")
=> nil
ree-1.8.7-2009.10 > fuckery
=> nil
ree-1.8.7-2009.10 > fuckery.object_id
=> 4
ree-1.8.7-2009.10 > !!fuckery
=> true
ree-1.8.7-2009.10 >