English
How to convert DVD video structure to AVI using Mencoder
Sometimes I have videos in DVD structure. It is a suitable format for burning to DVD disc directly. However, I don't want this high quality format. AVI is enough to reduce disk space usage. My tool is Mencoder again.
- sugree's blog
- Add new comment
- Read more
- 2418 reads
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.
- sugree's blog
- 4476 reads
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.
- sugree's blog
- Add new comment
- Read more
- 2634 reads
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.
- sugree's blog
- Add new comment
- Read more
- 10317 reads
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.
- sugree's blog
- Add new comment
- Read more
- 2158 reads
How to set socket timeout in Python
BTQueue provides some functions regarding remote access, e.g., wget, wpost and scrape. Anyway, some urls are temporary or even permanent unavailable due to unpredictable reasons. It is necessary to set reasonable timeout for all operations including connect, send and receive.
- sugree's blog
- 1 comment
- Read more
- 10881 reads
Recent comments
3 years 29 weeks ago
3 years 34 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago