How to move Mozilla profile folder

Mozilla profile folder (which stores netscape profile) occupies huge space in C drive. Here is how to move it:

1. Exit Netscape
2. Start -> Run -> type '%APPDATA%'
3. Select Mozilla -> Profiles
4. Copy profile folder (XXXXXXX.default) and paste it to desired location (eg. D:\Mozilla\Profiles)
5. Start -> Run -> type 'netscp.exe -ProfileManager'
6. Click 'Create Profile'
7. Click 'Choose Folder'
8. Select the newly copied folder (eg. D:\Mozilla\Profiles\XXXXXXX.default)
9. Now select the newly created profile and click 'Start Netscape x.x' -- verify that it retrieves old cookies and proxy settings, etc. -- VOILA!!

digg story

How to move profile folder in Firefox

Firefox profile folder occupies huge space in C drive. Here is how to move these:

1. Exit Firefox
2. Start -> Run -> type '%APPDATA%'
3. Select Mozilla -> Firefox -> Profiles
4. Copy profile folder (XXXXXXX.default) and paste it to desired location (eg. D:\Firefox\Profiles)
5. Start -> Run -> type 'firefox.exe -ProfileManager'
6. Click 'Create Profile'
7. Click 'Choose Folder'
8. Select the newly copied folder (eg. D:\Firefox\Profiles\XXXXXXX.default)
9. Now select the newly created profile and click 'Start Firefox' -- verify that it retrieves old cookies and proxy settings, etc. -- VOILA!!

digg story

How to move profile folder in Thunderbird

Thunderbird mails occupy huge space in C drive. Here is how to move these:

1. Exit Thunderbird
2. Start -> Run -> type '%APPDATA%'
3. Select Thunderbird -> Profiles
4. Copy profile folder (XXXXXXX.default) and paste it to desired location (eg. D:\Thunderbird\Profiles)
5. Start -> Run -> type 'thunderbird.exe -ProfileManager'
6. Click 'Create Profile'
7. Click 'Choose Folder'
8. Select the newly copied folder (eg. D:\Thunderbird\Profiles\XXXXXXX.default)
9. Now select the newly created profile and click 'Start Thunderbird' -- verify that this shows all the mails
10. Close Thunderbird.
11. Repeat steps 2 & 3
12. Open file 'profiles.ini'
13. For windows, change IsRelative=0
14. Path=D:\Thunderbird\Profiles\XXXXXXX.default
15. Now restart Thunderbird -- VOILA!!

Source : http://www.mozilla.org/support/thunderbird/profile

digg story

String Permutation

Here's an efficient implementation of string permutation in java:

Efficient string permutation

digg story

Java - Reverse a singly linked list

Sometimes the solutions are not quite obvious. Search for an algorithm to reverse a singly linked list using Java and you won't find any good hits except for this code.

public void reverse()
{
  Node currentNode, nextNode, loopNode;

  if(first == null) return;

  currentNode = first;
  nextNode = first.next;
  loopNode=null;

  while(nextNode != null)
  {
    currentNode.next = loopNode;
    loopNode = currentNode;
    currentNode = nextNode;
    nextNode = nextNode.next;
  }
  first = currentNode;
  first.next = loopNode;
}


This might not be a very intuitive solution at first sight but infact this is a very clever simulation of C/C++ pointers in Java.

read more | digg story

Added a mis-spelt word to firefox dictionary?

Don't fret.. there is a way to fix this -

Click here for details.

Adblock plus

Researched on AdBlock Plus and found that Filterset.G isn't recommended to run with it.

Check this