Recently a client shared updated requirement document, unfortunately the document was in PDF and I don’t want to go through 60+ pages of document for changes.
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.
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.
Import Delicious bookmarks to Evernote including tags
It is unfortunate to know that Yahoo is going to shutdown/transfer the awesome Delicious bookmarking service.
Evernote does not support direct import of bookmarks from delicious as it does with Google notebook. I wrote this script to move my delicious bookmarks to evernote for my use.
Mac App Store - Source
You get the idea? You are not looking for the UI code are you?
Saurik will be doing the UI for us ;)
Solving Read-Only Notes.app issue
Notes.app of miPhone was not allowing me to save any new notes. This was after restoring the manual backup of notes.db. I have taken the backup of my Address book, notes and images data with iPhone Explorer.
Batch renaming of files (Mac OSX / *nix)
How to batch/bulk rename files with automatic sequence number? Try the following shell script from your terminal (OSX/*nix)
- Create a new directory
- Run the following command (you can replace newdir with the your directory name and some_prefix with your prefix the same applicable for extension as well. My eg., rename only the png files of the directory (there were no other extensions available).
i=0; for x in *.png; do cp \"$x\" "newdir/some_prefix_$i.png"; i=$(($i+1)); done