Skip to content

Instantly share code, notes, and snippets.

@jpantuso
jpantuso / gist:6370617
Created Aug 28, 2013
mark/jump navigation shell functions
View gist:6370617
export MARKPATH=$HOME/.marks
function jump {
cd -P "$MARKPATH/$1" 2>/dev/null || echo "No such mark: $1"
}
function mark {
mkdir -p "$MARKPATH"; ln -s "$(pwd)" "$MARKPATH/$1"
}
function unmark {
rm -i "$MARKPATH/$1"
}
@jpantuso
jpantuso / osx_lion_rail_setup.md
Created Jul 27, 2011
Setup OS X 10.7 w/ homebrew, oh-my-zsh, rvm, rails, and MySQL
View osx_lion_rail_setup.md
@jpantuso
jpantuso / README.md
Created Jun 17, 2011 — forked from jondkinney/README.md
Deploying Rails to Linode
View README.md

Deploying Rails to Linode

Installing Ruby Enterprise Edition, Apache, MySQL, and Passenger for deploying Rails 3.0 applications.

Get a Linode, and set it up with Ubuntu 10.04 LTS so that you have till April 2013 to get updates. Once the Linode is formatted, boot it and continue on.

Set up an 'A' record in your DNS, pointing to the IP of your Linode. I'm using demo.napcs.com here.

Initial setup