Skip to content

Instantly share code, notes, and snippets.

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

Hack on github.com with Kyle Neath

At GitHub, they've set out to GitHub be the best place to share code with friends, co-workers, classmates, and complete strangers.

Already, over three million people use GitHub to build amazing things together.

But that isn't enough. Everyone should enjoy the benefits of Git and everyone should Fork everything.

It turns out GitHub needs your help. You can be GitHub's partner in crime to help Kneath out.

class Company < ActiveRecord::Base
before_create :generate_api_token
attr_accessible :name, :owner, :owner_id
validates :name, presence: true, uniqueness: { case_sensitive: false }, :length => { :minimum => 5, :maximum => 40 }
validates :owner, presence: true
validates :owner_id, presence: true