I was cleaning up my mac before handing it to systems on my last job. I had a couple of days just for the Knowledge Transfer of projects and nothing else. I have always run two or three passive self policing apps like Rescuetime and Timing etc.,
Grep - Swiss army knife
I have used this command sparingly in the past and I recently learnt more options by solving couple of my problems. I really don’t know whether grep is the right choice here, but hey! it worked :-)
Book Recommendation: Testing with coffeescript by Jack Franklin [Free ebook]
TDD (Test Driven Development) was introduced to me around 2006 with PHPUnit. As a naive, I couldn’t see the benefits, eg., I saw the pattern of code has been updated very often (growing organically) and frequent failing test. I was like, Why should I write unit test to test my own code? with the same data I used for manual testing? As they say I was seeing the forest for the trees. I failed to realize the failing test is actually the benefit of practicing TDD.
Disable networking/internet from command line on a Mac
If you want to quickly disable internet/networking to test offline features. Doing it frequently with System preferences GUI is quite a slow workflow.
Laptop Cooling Pad & Sudden Motion Sensor
Finally I found a good usecase to test the Sudden Motion Sensor of my macbook pro. I was curious to know whether there is an impact of cooling pad’s fan.
Distribute your iPhone/iPad adhoc builds Over The Air using Dropbox
Update: I recently found this site called diawi.com which allows you to distribute the app similar to file-sharing sites, drag and drop ipa file and share the link to the testers.
Shell script to generate images for testing
Recently I was in need of generating sample images for no. of products in my db. I really hate to create a copy of image for each products in my db.
How to view (Windows) line ending characters on Mac OSX
Notepad++ on windows has this beautiful option “View all characters” to display all invisbile characters such as line endings.
Enter into / Exit from Recovery mode for iPhone
Yes, every post you come across suggest the same thing, hold your power button and home button for X seconds. Though it is true, unfortunately I had a couple of situations my iphone doesn’t respond to the key combinations. And some time it is very frustrating to hold your buttons so long.
Pure Reader for Chrome
I love the theme of the Pure Reader for Safari (http://nadesign.net/safari/). I’ve ported the CSS as a userscript to use it with Google Chrome. Firefox need some css modification pls find the css here.
GotoMeeting Video recording (G2M3 codec for Mac)
If you use GotoMeeting to record video of the shared screen, make sure that you DO NOT use G2M3 codec. It does a great job in compressing the size of the video but it is not compatible with OSX or any OS other than Windows.
Snow Leopard (Retail) on Lenovo 3000 N100
Disclaimer: There is no alternative to real Mac, if you like Mac go and buy it. If buying a real Mac is too much, you can at least buy a license for Mac OS X Snow Leopard which costs $29 only. This post is to test the Snow Leopard compatibility with Lenovo 3000 N100.
Random Notes: LAMP/Web development |Tools & Best practices
I was planning to write a post similar to this for very long time. My intension is to help beginners to know the jargons and best practices. Please add your comments and I will update.
PeerGuardian and history.db
PeerGuardian is a great tool to maintain your privacy. But you should be aware of a fact that it uses a sqlite db to maintain the history called history.db in its directory under Program Files.
WinDirStat | My Software Toolbox
No matter how large your hard drive is, the data will grow to fill the disk!
Recently I was running out of space on both of my internal 120Gig and external 320Gig HDD. I don’t have any clue on what to delete I have tried CCleaner to delete the history to save some space.