Skip to content

Instantly share code, notes, and snippets.

View julienma's full-sized avatar

Julien Ma julienma

View GitHub Profile
@julienma
julienma / #rails101.md
Last active December 19, 2015 16:59
Properly bootstrapping a new rails app, including RSpec + Spork + Foreman + Heroku

All these useful tips (and more!) taken from http://ruby.railstutorial.org/chapters/

This is based on Rails 3.2, but should work on Rails 4.0.

Create Rails app

(skip standard test unit and instead will use RSpec)

$ cd ~/rails_projects
@julienma
julienma / Git tricks.txt
Last active January 19, 2017 18:22
Collection of useful OSX commands.
### Move a directory out of an existing repo, and push it to its own repo, keeping only relevant commits:
See http://teach.github.com/articles/lesson-filter-branch/