Apr 8, 2012

Mac OS X Lion and iTerm 2 Keybindings

I had to switch from Linux to Mac OS X Lion (10.7) at my work place. After getting used to Linux bash shell, I did not like the Mac terminal at all. I've install iTerm 2 and played with its keybindings and I've got the following useful keyboard shortcuts working.
  • To move cursor word-by-word  backward: Mapped Option + Left Arrow key to "Send Escape Sequence" and b
  • To move cursor word-by-word  forward: Mapped Option + Right Arrow key and "Send Escape Sequence" and f
  • To move cursor to the beginning of the sentence: Mapped Option + Up Arrow key to "Send Hex Code" and 1
  • To move cursor to the end of the sentence: Mapped Option + Down Arrow key to "Send Hex Code" and 5
  • To delete a word-byword ( backward-kill-word ): Mapped Option + BackSpace key to to "Send Hex Code" and 17
The keybindings can be changed from Preferences > Keys (or Preferences > Profiles > Keys). Since the profile level shortcuts were not useful I got rid of most of them from Preferences > Profiles > Keys.

Additionally, these built-in shortcuts will be useful:
  • Ctrl a : Goto the beginning of sentence.
  • Ctrl e : Goto the end of the sentence.
  • Ctrl w : Delete words backward.

These were couple of useful articles helped me to fix this:

Mar 23, 2011

Is your privacy safe online? (I don't think so)

I have recently found that there are several online people search site which list our name, address, age, phone number, job, photo & map of house, price of the house, parent's names and many more information.

You can search yourself on these sites and see the results:

It is dangerous to keep your privacy information listed online, as a quick search by your name will reveal most your details to any one in the world!
You can remove listing your details from those sites by:


But there may be some other sites doing the same, showing your privacy info. If you find any just remove yourself from that site (and let me know too).

This is a good article about this topic: urbanlegends.about.com/b/2010/04/07/spokeo-com-scam.htm

Feb 11, 2011

It takes only 18 days in Egypt

I was fortunate to see a peaceful revolution within my life. I have admired the peaceful movements by Gandhi and Martin Luther King Jr. But I did not see them from my eyes. Did not hear from my ears. All happened before I was born. But today that is not the case. Egypt is free as a result of a peaceful movement which lasted just 18 days. It is a historical day that we can tell to our grand children. Achievements from peace are more stable and far more valuable. There will be a lot of people 'alive' to celebrate that achievement, that's what make it more valuable. It is the people in Egypt who achieved this freedom. And it is up to the people in Egypt to protect what they have achieved. That is what the rest of the world is hoping for!