Skip to content

Instantly share code, notes, and snippets.

View jeffjrare's full-sized avatar

JeffJRare jeffjrare

  • Canada
View GitHub Profile
@jeffjrare
jeffjrare / 0-readme.md
Created November 23, 2012 16:59 — forked from burke/0-readme.md
ruby-1.9.3-p194 cumulative performance patch.

Patched ruby 1.9.3-p194 for 30% faster rails boot

Overview

This script installs a patched version of ruby 1.9.3-p194 with boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84). It also includes the new backported GC from ruby-trunk.

Many thanks to funny-falcon for the performance patches.

@jeffjrare
jeffjrare / prepare-commit-msg
Created May 23, 2012 18:36 — forked from ngarneau/prepare-commit-msg
Checks if your commit / branch name as a specific pattern
#!/usr/bin/env ruby
# Get the commit type.
# We only want this hook to take effect on message commit.
commit_type = ARGV[1]
if commit_type != "message"
exit 0
end
# The pattern we are looking