Sometimes creating a .gitignore file can be a monotonous error prone pain. Well there seems to be a pretty nifty solution out there that will simplify this process. Enter http://gitignore.io !
This site generates gitignore files depending on the technology you are using. E.g if you're on OSX with SASS and laravel it will produce:
What makes it really cool is that you can couple that with cURL or wget to do
wget -O .gitignore http://www.gitignore.io/api/osx,linux,sass,laravel4
and it will produce a git ignore for you!