Skip to content

Instantly share code, notes, and snippets.

View davidkennedy-examtime's full-sized avatar

David Kennedy davidkennedy-examtime

View GitHub Profile
@davidkennedy-examtime
davidkennedy-examtime / tool_sharpening.md
Created November 5, 2012 10:19
Belfast Ruby Impromptu Talk

Tool Sharpening for Ruby

Due to Real Life (tm) interrupting I didn't have time to prepare an in-depth topic, but realised that we've got a better toolkit than we had a month or two ago, so let's talk about that.

Zero Downtime Deploys on EngineYard with Unicorn

  • Unicorn vs Thin - threads vs process
  • EngineYard setup trivial - cf Heroku etc?
  • Migrations still require downtime - question for audience, any experience here?
@davidkennedy-examtime
davidkennedy-examtime / benchmark.rb
Created May 19, 2012 14:19 — forked from panthomakos/benchmark.rb
Benchmark Your Bundle
#!/usr/bin/env ruby
require 'benchmark'
REGEXPS = [
/^no such file to load -- (.+)$/i,
/^Missing \w+ (?:file\s*)?([^\s]+.rb)$/i,
/^Missing API definition file in (.+)$/i,
/^cannot load such file -- (.+)$/i,
]