Skip to main content

Posts

Showing posts from August, 2011

GitX and Finder in MacOs

GitX is a cool tool to visualize your git branches. It automatically assumes all files ending in .git files are git applications. When you browse files in Finder, anything ending in .git is now not a folder anymore, and clicking on it will launch GitX. Very annoying. I assumed I could just right click the file and set Open with to finder, but you can only change it to other applications, you can't tell your Mac that foo.git is a folder, not a git application. Instead, I edited the file /Applications/GitX.app/Contents/Info.plist (sudo!). Remove the following line inside CFBundleTypeExtensions <string>git</string> ... <key>CFBundleTypeExtensions</key>       <array>           <string>git</string>           <string></string>       </array> ... And then run /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -u -r -f /Applications/GitX.ap

Thunderbird notification pop-up

Every time I get an email, Thunderbird shows a little pop-up on my screen, saying x new emails from xxx . Oftentimes, I have co-workers look at my screen, they don't need to know everytime I get an email that it's from Amazon, Zappos, Banana Republic, or Victoria's Secret. So, here's how you turn it off: Click Edit and select Preferences Click Advanced Select the General tab Click the Config Editor button Search for biff Set mail.biff.show_alert to false