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.

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!!!!!!!!!

Go ahead. Make your own decision. http://www.petitiononline.com/510911/petition.html

Only in India

August 26th, 2008

The image says it all
Check out what it is at Here

Update : Jul 2, 2009


Update : Jul 15, 2009

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

If you using gmail & using Apple Mail program to check your google mail over IMAP then make sure to turn off the "Store Draft Messages on the Server" option. Otherwise you would end up with zillion draft messages under a mail thread in you gmail.

To do this Mail -> Preferences -> Accounts -> Mailbox Behaviors -> Uncheck the option under Draft for the gmail account.
Recently I had to move all the photos off my hard drive to an external hard drive & also at the same not change much the way iPhoto works.

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

Have you guys seen the new feature in Google Maps called Street View. It gives a 360% view at the street level. My hats off to Google . They are making this whole mapping thing ridiculously awesome. Cab you imagine getting this kind of information in 1995. Awesome Awesome..

Developers DayCome & 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.

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.

  1. 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
  1. configure your browser to use SOCKS5 proxy as localhost on port 3000

Thats it.

There is another good article here

Just received my Rebel Xti

December 11th, 2006

I just got my new toy for Christmas. It just feels so nice to hold this camera.
Nonprofit_banner_horizontal_banner_3991