Skip to content

Instantly share code, notes, and snippets.

View rossnoble's full-sized avatar
💎

Ross Noble rossnoble

💎
View GitHub Profile

Keybase proof

I hereby claim:

  • I am rossnoble on github.
  • I am rnoble (https://keybase.io/rnoble) on keybase.
  • I have a public key whose fingerprint is FA30 06BE 5DB0 B12F C193 C731 8171 2778 21B2 83D9

To claim this, I am signing this object:

git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch $FILE_MATCH' --prune-empty --tag-name-filter cat -- --all
@rossnoble
rossnoble / .gitconfig
Created October 20, 2015 15:04
Git Config Aliases
[alias]
st = status
cm = commit
df = diff
dt = difftool
br = branch
co = checkout
cp = cherry-pick
m = merge
p = pull
@rossnoble
rossnoble / greeter.rb
Last active September 25, 2015 20:06
Dependency example
class User
def initialize(name)
@name = name
end
def code_name
name.reverse
end
end
@rossnoble
rossnoble / server.bash
Created August 20, 2015 20:24
Simple HTTP server bash function
function server() {
local port="${1:-8000}"
open "http://localhost:${port}/"
python -m SimpleHTTPServer "${port}"
}