General

I have just installed the latest 's project called . It works with perfectly. Anyway, I have some problem with internet connection during in on-line mode. As a result, javascript was corrupted but Google Gears didn't realize this problem. Even though I moved to better internet connection, the broken javascript was not redownloaded again. I also tried to clear cache in Firefox with no luck. Eventually, I found that Google Gears have its own cache.

How to decode incorrect character encoding in e-mail using Python

Sometimes character encoding sent via e-mail are incorrect. The most often scenario is as follow.

  • Actual encoding is TIS-620.
  • Header indicates ISO-8859-1.
  • The e-mail reader displays contents in UTF-8.

As a result, it is very difficult to recover the failure. However, it is possible to solve this problem using Python.

How to fake referer in Firefox

At present, there are so many free image hosting on the wild. Since these service providers usually earn income from advertisements, e.g., , the most scary thing for them is hot link. Hot link means to embedding the hosted image directly to other sites. As a result, there is no chance to display the advertisements. Most providers have to reduce hot links to decrease useless traffics by detecting referer.

3 steps after upgrading kernel in Ubuntu

Few days ago, Ubuntu 7.04 Feisty Fawn had just released the latest kernel upgrade. Since my laptop has a few proprietary kernel modules, e.g., VMware player and fglrx, I have to rebuild them immediately before continue my usual work. Anyway, this process is a kind of auto response for kernel upgrade.

How to capture webcam with audio using Mencoder

I have a webcam and my laptop is Ubuntu 7.04 Feisty Fawn. I would like to capture a movie with both video and audio using those equipments. So the tool I used should be available in Ubuntu and the one I used is Mencoder.

How to retrieve comments feed from Blogger

Since I'm writing at The Boolim Blog, I would like to read all comments too. Anyway, it is not easy to get alert for new comments in Blogger even it provides a kind of comments feed somewhere. The fact is it already provides comments feed but there is not meta element to identify what the URL is. Fortunately, I guessed and it is correct.