Skip to content

Instantly share code, notes, and snippets.

View ursooperduper's full-sized avatar
👁️

Sarah Kuehnle ursooperduper

👁️
View GitHub Profile
@ursooperduper
ursooperduper / tmux-ref.md
Created August 24, 2014 17:15
tmux reference

tmux Reference

Creating Sessions

Command Description
tmux new-session Create new session without a name. (Alt: tmux or tmux new)
tmux new -s development Creates new session called "development."
tmux new -s development -n editor Create new session called "development" and a first window called "editor."
tmux attach -t development Attaches to a session called "development."
git clean -df & git checkout -- .
Git clean removes all untracked files & git checkout clears all unstaged changes
@ursooperduper
ursooperduper / finding-text-in-files
Created July 18, 2013 03:28
For a given file type, how do you find a particular text string?
find . -name "*.haml" -print | XARgs grep "toggle to use paths"