Skip to content

Instantly share code, notes, and snippets.

@Frobitz
Frobitz / Rails 3 Environment
Created June 30, 2011 13:13 — forked from laserlemon/Rails 3 Environment
Snow Leopard, Homebrew, Git, RVM, Ruby, Rails, Passenger, Apache, MySQL, Memcached and ImageMagick
# 2011-06-30
#
# Mac OS X 10.6.8
# Homebrew 0.8
# Xcode 4.0.2
# Git 1.7.6
# RVM 1.6.20
# Ruby 1.9.2
# Rails 3.0.9
# Passenger 3.0.7
@Frobitz
Frobitz / ror-slicehost
Created July 29, 2012 11:22
Ruby on Rails setup on Slicehost server
#
# Set up Ruby on Rails on Ubuntu 10.04 LTS Lucid
#
# First use Slicehost articles to set up secure Slice and backup
http://articles.slicehost.com/2010/4/30/ubuntu-lucid-setup-part-1
http://articles.slicehost.com/2010/10/18/ubuntu-maverick-setup-part-2
# RVM dependencies
@Frobitz
Frobitz / coffeescript-homebrew
Created August 4, 2012 13:32
Install CoffeeScript with Homebrew on OS X 10.8 Mountain Lion
# Install Homebrew
ruby <(curl -fsSk https://raw.github.com/mxcl/homebrew/go)
# Follow on-screen instructions (X11 isn't necessary for this if it shows as not installed)
brew install node
# Open .bashrc and add this line (create .bashrc if its not in your home directory already)
@Frobitz
Frobitz / simpleHTTPServer
Created November 15, 2012 11:42
Run SimpleHTTPServer in a folder in OS X 10.8 Mountain Lion
python -m SimpleHTTPServer
@Frobitz
Frobitz / gist:4306392
Created December 16, 2012 11:13
Install Homebrew on OS X 10.8.2 Mountain Lion
#
# From a fresh install of Mountain Lion and XCode
#
# Set /usr/local folder to current user ownership, not root
sudo chown -R `whoami` /usr/local
# Install Homebrew - follow instructions given by script
@Frobitz
Frobitz / gist:4306452
Created December 16, 2012 11:24
Install RVM and latest stabe Ruby on OS X 10.8.2 Mountain Lion
#
# Install RVM and up-to-date Ruby
#
# Follows on from installing Homebrew (https://gist.github.com/4306392)
# Install RVM and latest stable ruby
\curl -L https://get.rvm.io | bash -s stable --ruby
# Follow on screen instructions carefully
@Frobitz
Frobitz / gist:4306533
Created December 16, 2012 11:46
Install Jekyll (with fix for gcc make error)
#
# Install Jekyll
#
# Follows on from Install RVM and up-to-date Ruby (https://gist.github.com/4306452)
# As my build stands I need to make a symbolic link to gcc
sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2
# Then it should just be a matter of running...
@Frobitz
Frobitz / gist:d3531bb399a49c286a1c
Last active August 29, 2015 14:07
Sublime Text 3 Settings
{
// Sets the colors used within the text area
"color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme",
// Note that the font_face and font_size are overriden in the platform
// specific settings file, for example, "Preferences (Linux).sublime-settings".
// Because of this, setting them here will have no effect: you must set them
// in your User File Preferences.
"font_face": "Anonymous Pro",
"font_size": 17,