Skip to content

Instantly share code, notes, and snippets.

View erikdoe's full-sized avatar

Erik Doernenburg erikdoe

View GitHub Profile
@erikdoe
erikdoe / install_homebrew.rb
Created November 5, 2011 12:33 — forked from mxcl/install_homebrew.markdown
Installs Homebrew to /usr/local so you don't need sudo to `brew install`
#!/usr/bin/ruby
# This script installs to /usr/local only. To install elsewhere you can just
# untar https://github.com/mxcl/homebrew/tarball/master anywhere you like.
module Tty extend self
def blue; bold 34; end
def white; bold 39; end
def red; underline 31; end
def reset; escape 0; end
def bold n; escape "1;#{n}" end