Skip to content

Instantly share code, notes, and snippets.

View saintaardvark's full-sized avatar
💭
68% and trending up 📈

Hugh Brown (Saint Aardvark the Carpeted) saintaardvark

💭
68% and trending up 📈
View GitHub Profile
@dlutzy
dlutzy / gist:2469037
Created April 23, 2012 05:59
Multi VM Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# David Lutz's Multi VM Vagrantfile
# inspired from Mark Barger's https://gist.github.com/2404910
boxes = [
{ :name => :web, :role => 'web_dev', :ip => '192.168.33.1', :ssh_port => 2201, :http_fwd => 9980, :cpus =>4, :shares => true },
{ :name => :data, :role => 'data_dev', :ip => '192.168.33.2', :ssh_port => 2202, :mysql_fwd => 9936, :cpus =>4 },
{ :name => :railsapp, :role => 'railsapp_dev', :ip => '192.168.33.3', :ssh_port => 2203, :http_fwd => 9990, :cpus =>1}
]
@mhayes
mhayes / bootstrap.sh
Created July 30, 2011 20:01
Bootstrap CentOS 5.5 w/Ruby 1.9 and Chef
#!/bin/bash
# bootstrap ruby1.9 on a fresh RHEL5.5/CentOS5.5
# installs chef and bundler as well
# warning: this script does NOT make you breakfast
#enable EPEL repo, some packages (i.e. ruby-mysql) depend on this
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
RUBY_19_VERSION="ruby-1.9.2-p180"