Monthly Archives: March 2014

Git ignore file so it’s not committed

Not using .gitignore cos changes to the .gitignore file will want to be committed

Probably not the greatest method (or even all that correct), but it seems to work

git add  -- until you're left with files you don't want committed
git commit
git stash

Javascript redirect

// similar behavior as an HTTP redirect - prevents endless back button

// similar behavior as clicking on a link
window.location.href = "";

Referenced from

Install Ruby 2.1.1 Ubuntu 12.04

Open terminal

Terminal menu -> Edit -> Profile Preferences -> Title and Command -> Run command as a login shell

Close terminal & open again

sudo apt-get install build-essential git-core curl libmysqlclient18 nodejs
curl -L | bash -s stable
rvm install ruby-2.1.1
rvm use ruby-2.1.1