There are times you would want to prevent your mac from sleeping after it’s idle for a long time. OS X provides a inbuilt utility called Caffeinate which helps you achieve this. Caffeinate creates assertions to alter system sleep behavior. If no assertion flags are specified, caffeinate creates an assertion to prevent idle sleep. If a utility is specified, caffeinate creates the assertions on the utility’s behalf, and those assertions will persist for the duration of the utility’s execution.
I just upgraded my Mac from Lion to Mountain Lion this morning. I must say the Mac OS just keeps getting better :). After the upgrade I just noticed that git was broken and I was getting the Command not found error. To fix this : * Download the latest git package from here. * If you try and install the package directly, it will fail to install and would complain saying Unidentified source.
Often I have seen my friends giving me directions to different venues like a marriage hall, a restaurant or even their house using google maps. Yes you can open google maps and search the directions entering the start and end addresses and get the way. However I wrote a small form which solves the problem in a much simpler and elegant way. The form just accepts the address where you are currently at.