Archive for the ‘Programming’ Category

Growl notifier for mac’s battery status

Tuesday, February 9th, 2010

There have been many times that my macbook’s battery is almost running out and about to die and I don’t pay attention to the icon in my menubar. The warning itself appears only when the battery level is 10% remaining. Recently however, this problem started causing more pain. My battery needs to be replaced, because of which at about 23% the machine will just shutdown. So I wrote a small script that calculates the battery power and along with some launchctl magic and growl, I now get a notification when my batter level is below 30%.

Developers Bill of Rights

Wednesday, January 7th, 2009

I’m cross posting this one from an old post on coding horrors. I can’t find the original now, but I had saved the text. I found it on