Thursday, April 22, 2010

Do Not Keep Same Password For All System



Recently google was subject of hacker attack. Actually, one friend of mine had it gmail account hacked. He not only lost access to his emails, fraudulent emails were sent to his contacts asking for money. It said he is stuck somewhere in Europe and needs money. I got one of those emails, but I knew it was phishing email and his email was hacked.

It is very usual to have many emails e.g. yahoo, gmail, aol, etc etc these days. It seems convenient also to keep same password for all system as it makes it easy to keep track of. But it can be very dangerous as well. If a hacker gets to know one password, he can gain access to all your emails and you have no way to reset as your backup email will not work either.

So although convenient, it is mandatory to keep different password for different systems. Also it is recommended to change the password every so often.

Friday, April 16, 2010

Uses of Breadcrumbs in Eclipse


Bookmark and Share

   


Eclipse has the breadcrumb feature for a while. It is immensely useful. One can turn it off or on by pressing Alt-Shift-B. It's main purpose is, of course, easy navigation. It makes it easy to navigate to different packages, classes or project without opening the package explorer view which takes up valuable space. But that is not the only use. Other uses are :
  1. Quickly go to the beginning of a class. If you are in the middle of a long class and you want to go to the beginning of the class. To do this, just type Alt-Shift-B and which will put the focus on the breadcrumb and use the left arrow key to highlight the class names and hit enter.
  2. Quickly go to other methods in a class. If you are in the middle of long class which has many methods and you want to go to some other method. One way to do it will be to use Ctrl-Shift-Up/Down which will take you to the next of previous method. One can also use Ctrl-O which will show all the methods. Yet another way is to type Alt-Shift-B and use the up/down arrow key to go to the desired method.
  3. Quickly delete a method or the whole class. Before there was breadcrumb one had to go to the package explorer view or the outline view. Not anymore. One can just go to the breadcrumb and hit the delete key now.