Copy, Split Large Directory on to Multiple Disks | Mac OS X
January 27th, 2009
If you need to backup or copy a huge directory to multiple disks then this might be useful to you. I am on Mac OS X Leopard.
1 2 3 4 5 6 7 |
# Create a image of the folder. hdiutil create -o Image.dmg -format UDRO -srcfolder SourceFolder # Segment the image into multiple segments. hdiutil segment -o Image.Segment.dmg -segmentSize 4.7g Image.dmg |
The above command would split the Image.dmg into multiple segments of Size 4.7GB. The first one would be named Image.Segment.dmg and the rest would be Image.Segment.001.dmg and so on. Burn them to individual disks as you like. To mount the images, mount(double click) the first segment. Mac would do the rest.
New Law in India where Police can't arrest
January 18th, 2009
I just heard this. There is a new law going around in India where Police can't arrest a person if the offense carries a penalty of upto 7 yr jail term. I would be honest to say that I don't know much about this law or don't know what is the motivation behind this. But this sounds really bad on first read.
In India, attempt to commit culpable homicide, robbery, attempt to suicide, kidnapping, voluntarily causing grievous hurt, cheating, outraging a woman's modesty and death caused by negligence ( source times of India) are all offenses for which this law would apply and the police can't arrest.
I think Police in India are a clueless and corrupt bunch. But cutting the criminals a slack no matter what is the reason is insane. Just look at Oakland. When crime occurs our Mayor Ron Dellum blames everybody except the criminals. What else would justify random violence during a protest of police brutality ( which I think sucks and the officer should be hold accountable). That also during second time around when everybody was expecting it and were prepared to deal with it.
Wow... Please somebody educate me!!!!!!!!!
This is funny | Great Moments in Presidential Speeches
January 17th, 2009
Recall Petition of Oakland Mayor Ron Dellum.
August 26th, 2008
Only in India
August 26th, 2008
Notes 8.5 for Mac OS X Beta | First Impression
January 21st, 2008
I know you would be asking whatttttttttttttt.. but we use Lotus Notes at work & I have been using the Notes Client 7.03 on my Macbook Pro.
I just downloaded the new Notes client 8.5 Basic for Mac OS X Beta from here http://www-10.lotus.com/ldd/notesmacforum.nsf
I don’t see much changes from 7.0.3. So stick to the version 7 until 8 comes out of beta. There is not a single improvement that would warrant a beta risk.
Gmail IMAP with Apple Mail
November 2nd, 2007
To do this Mail -> Preferences -> Accounts -> Mailbox Behaviors -> Uncheck the option under Draft for the gmail account.
Move iPhoto albums to External Drive & Free up storage.
October 6th, 2007
My solution was to move the iPhoto Library folder under Pictures folder to external drive & change iTunes default root directory.
Here it is
1 2 3 4 5 6 7 8 9 |
# Move the iTunes Library Folder to External Drive mv ~/Pictures/iPhoto\ Library /Volumes/WDPassport/Pictures # Create the link locally for any other random needs ln -s /Volumes/WDPassport/Pictures/iPhoto\ Library ~/Pictures/iPhoto\ Library # Update the default root directory. defaults write com.apple.iPhoto RootDirectory /Volumes/WDPassport/Pictures/iPhoto\ Library |
Google Maps Street View
June 16th, 2007
I am at Google Developer Day in San Jose today.
May 31st, 2007
Come & say hello if you are here today in San Jose. I am amazed at the number of developers interested in learning, using & extending google apis. Google got some interesting things going on. The sessions I am focusing are around Search & Enterprise Search areas but things like AJAX testing, GData, Checkout were also quite interesting.
Use SSH as Proxy for Secure Browsing on Public WI-FI
March 1st, 2007
Recently I stumbled upen MetroFi when I was at the local coffee shop. MetroFi inserts a ad banner on top of every page when browsing any site using their connection which raised some privacy concern. Whenever one uses any internet connection there is always the issue of what the person in the middle(from whom you are getting the connection) can do with your data etc etc..
But for now I was only worried about safe browsing using public connection. So I found out my trusty ssh client can be used as a SOCKs server.
Here are the instructions.. If you are using cygwin and ssh on a windows machine.
- Open a SSH connection to your ssh server(in my case it's my home router) and ask ssh to dynamically forward all connection to port 3000(or any other port) to SSH server
1 2 |
ssh -i .ssh/id_rsa -D 3000 toyourhomeroute_or_any_other_ssh_server |
- configure your browser to use SOCKS5 proxy as localhost on port 3000
Thats it.
There is another good article here


