Use -r (recursive) and include/exclude to target files to grep
grep --include=\*.js --exclude=\*.min.js -r . -e pattern
Use -r (recursive) and include/exclude to target files to grep
grep --include=\*.js --exclude=\*.min.js -r . -e pattern
Being able to change web pages has intrigued me.
So I wrote a simple browser extension to hide/unhide the More/Tweets information within Techmeme pages.
Available for:
As per http://pivotallabs.com/git-unadd/, you can ‘unget’ a file.
git config --global alias.unadd "reset HEAD"
You can then do the following:
git unget file
Very useful, any so much easier to remember than:
git reset HEAD file