DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Open The Current Ruby On Rails Directory In TextMate Without Tmp, Log And Cache
ls -1 | egrep -vi "(log|tmp|cache)" | xargs mate
Instead of typing this everytime an alias would be handy. Put this
alias railsmate='ls -1 | egrep -vi "(log|tmp|cache)" | xargs mate'
or wherever you put your aliases.