Tuesday, June 15, 2010

Nokia 5800: How to delete an email account

To delete an email account from Nokia 5800 is easy.

These are the steps:

  1. Go to Menu > Messaging.

  2. Options > Settings > Email > Mailboxes.

  3. Highlight the email account to delete.

  4. Options > Delete > Yes.

Monday, May 10, 2010

Windows 7 Computer Management failed to start by right clicking Computer

Windows 7 Computer Management could be started by right clicking Computer, and choose Manage.
However, sometimes this method just do not work.
Perform these steps to solve the problem:
  1. Launch the Registry Editor.Press Windows key > Type regedit >  Press Enter > Click on Yes.
  2. Browse to
    HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell Managecommand
  3. Replace the default string value to
    "%SystemRoot%System32mmc.exe" "%SystemRoot%system32compmgmt.msc" /s
  4. Close Registry Editor.
You should now be able to right click Computer and choose Manage, to launch Computer Management.

Thursday, April 1, 2010

Python: Swapping the keys and values of a dictionary

A function to swap the keys and immutable values of a dictionary.
def swap_dict(a_dict):
    return {val:key for key, val in a_dict.items()}
Example of usage:
>>> print(swap_dict({1: 'a', 2: 'b', 3: 'c'}))
{'a': 1, 'c': 3, 'b': 2}

Tuesday, February 16, 2010

Windows XP: How to create a password for the invisible administratoraccount

Windows XP create an administrator account by default which is invisible. This administrator account is not password protected. How to protect this account with a password?

Steps to password protect the administrator account.

Step 1.
If you are currently logged on to your computer, click Start, and then click Log Off.



Step 2.
On the “Welcome screen”, press CTRL+ALT+DEL twice on your keyboard by holding down both the CTRL and ALT keys and then pressing DELETE.

Step 3.
The “Log On to Windows” dialog box appears. In the “User name” box, type “Administrator”. Leave the “Password” box blank if you have not assigned a password. Click OK.


Step 4.

Open the entry “User Accounts” in the control panel. Click on the icon “Administrator” and select “Create a password”.

Step 5.

In the following dialog, specify a password for the “Administrator” account. Click “Create Password”.


It is important to create a strong but easily memorable password. A strong password should includes a combination of letters (small and capitals), numbers and special characters, and at least eight characters long.

Wednesday, February 3, 2010

How to configure Pidgin for Google Talk

Pidgin is an easy to use and free chat client that can connect to many chat networks all at once. The supported chat networks are AIM, Bonjour, Gadu-Gadu, Google Talk, Groupwise, ICQ, IRC, MSN, MySpaceIM, QQ, SILC, SIMPLE, Sametime, XMPP, Yahoo! and Zephyr.

But, sometimes Pidgin just don't work with Google Talk. You need to tweak Pidgin in order to make it works.

Here are the steps (as shown in Figure 1):
  1. Click on Account > Manage Accounts, add new Google Talk account. Fill in the Username and Password.
  2. Click to the Advance tab.
  3. Make sure that "Require SSL/TLS" and "Force old (port 5223) SSL are selected.
  4. Type 443 for "Connect port".
  5. Type "talk.google.com" for "Connect Server".
  6. Click on the "Save" button.
Pidgin should now works with Google Talk. By the way, I also figured out that sometimes I need to remove these settings, in order to connect to Google Talk, when I move to different place.

Tuesday, February 2, 2010

How to format memory card using Nokia 5800

Here are the steps to format memory card using Nokia 5800. You do not need to take out the memory card, or connect the phone to your PC.


Step 1.


Press the white menu button.

Step 2.


Select “Applications”.

Step 3.


Select “File mgr.”.

Step 4.


Double-click on “E: Memory Card”.

Figure 1

Step 5.


Select “Options”.

Step 6.


Select “Memory Card Options” and then “Format”.

Figure 2

Saturday, January 23, 2010

Replace y with 3 to download YouTube Video

3outube.com provides an easy way to download YouTube videos to your PC. The video could be downloaded in MP4 or FLV formats. The service is provided for free.

Figure 1: Replace letter "y" with number "3"
In order to download the video, replace the letter “y” with number “3” of the YouTube video link that you want to download as shown in Figure 1. Finally, choose the format of the video to download (Figure 2).

You can also go to their website and enter the YouTube video link directly inside a text box at the bottom of the page.

Figure 2: Choose between .MP4 or .FLV video format. 
I know there are other similar service exist, but replacing letter “y” with the number “3” to download the video is such an awesome idea.