Skip to content

Instantly share code, notes, and snippets.

View lkosak's full-sized avatar

Lou Kosak lkosak

  • Airbnb
  • San Francisco, CA
View GitHub Profile
@lkosak
lkosak / gist:2353063
Created April 10, 2012 17:28 — forked from foxyblocks/gist:2314735
easy vim hash=>rocket and php $object->thingy
"Paste into your .vimrc
" for insert mode remap <c-l> to:
" Insert a hash rocket for ruby
" Insert a -> for php
function! SmartHash()
let ruby = &ft == 'ruby'
let php = &ft == 'php'
if php

ruby-1.9.3-p484 cumulative performance patch for rbenv

This installs a patched ruby 1.9.3-p484 with the railsexpress patchsets: https://github.com/skaes/rvm-patchsets

Requirements

You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf using homebrew.