View github_light.user.js
/* Instructions
1. Open chrome://extensions
2. Drag this file into the chrome window
// ==UserScript==
// @match https://**
// ==/UserScript==
function fixHeader() {
el = document.getElementsByClassName("header-dark")[0]
View caceable.rb
module Cacheable
def self.extended(base)
@@unaliased_methods = {}
@@cacheable_methods =
def method_added(m)
if @@unaliased_methods[m]
View meteor_galaxy_login.expect
#!/usr/bin/env expect
set timeout 5
spawn meteor login
expect "Username:" { send "$env(METEOR_USERNAME)\r" }
expect "Password:" { send "$env(METEOR_PASSWORD)\r" }
View wp_domain_count.rb
#!/usr/bin/env ruby
## Dependencies:
## * curl
## * jq (not really needed, but I like it)
## * sqlite
## * quit chrome before running this since the History file is locked
require 'uri'

Keybase proof

I hereby claim:

  • I am btaitelb on github.
  • I am benji ( on keybase.
  • I have a public key whose fingerprint is 6C52 F9C2 5596 2CC1 F4C9 9A6B 3D03 B326 DAF1 D7E7

To claim this, I am signing this object:

View gist:5359668
Run options:
# Running tests:
/Users/btaitelb/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:707:in `block in _prepare_run': undefined method `size' for #<ParallelEach:0x007fcebca02c00> (NoMethodError)
from /Users/btaitelb/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:707:in `each'
from /Users/btaitelb/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:707:in `inject'
from /Users/btaitelb/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:707:in `_prepare_run'
from /Users/btaitelb/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/test/unit.rb:648:in `_run_suites'
from /Users/btaitelb/.rvm/gems/ruby-2.0.0-p0@sprockets-rails/gems/minitest-4.7.1/lib/minitest/unit.rb:861:in `_run_anything'
View gist:5149527
>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on, CTRL+C to stop
!! Unexpected error while processing request: Content-Length header was 4005, but should be 7895 - - [13/Mar/2013 01:04:24] "GET HTTP/1.1" 404 4005 0.2757
View gist:4375301
  • Preferences -> Settings - User (Cmd-, in osx)
  • add "ignored_packages": [] (don't forget the commas at the end of lines)
  • save
  • now you see INSERT MODE in the lower left corner
  • hit ESC to get to COMMAND MODE. You can use vim commands like :w for save, and navigation keys like j,k,h,l
  • now hit i to get back to INSERT MODE, and use your favorite emacs key bindings, like C-a and C-e
View gist:3668537

Programming Pretty Good Practices

  • Write code that works, most of the time at least.
  • Keep documentation up-to-date unless no one's going to read it anyway.
  • Use TDD, but don't both to hook up CI.
  • Hire a ScrumMaster (certified of course), and then tell him/her what to do on the team, based on your (uncertified) ideas of scrums from all those rugby games you watched last year.
  • Test files should exist to give the appearance of caring and design.
  • Popular libraries should be included to give the appearance of being cutting-edge.
  • Always use the words agile, rock start, and ninja in your job ads whether they apply to your existing team or not
View gist:2939745
as submitted via
I personally find the way that Sullivan left UVa to be consistent with the way I left,
through a non-transparent, closed-door decision that demonstrates neither scientific inquiry
nor academic rigor. It's great to see that the president is held to the same standards as students.
Speaking of standards, I believe that getting asked to leave the university demonstrates
that Sullivan was an upstanding person, who never lied, cheated or stole,
since I also know first hand that people don't get kicked out for those reasons.