Software
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 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.
- sugree's blog
- Add new comment
- Read more
- 9914 reads
How to sniff TCP connection in Linux
Today I have to investigate network related problem that caused some networks were usable for a moment. This problem was occurring at remote site so I didn't have physical access to anything. What I have is just an account on the Linux router for the NAT network in training room. The application relies on web services technology so it is absolutely pure TCP. There are so many problem regarding this investigation. The coordinator don't understand the lower level of network so I can't ask too much information. Actually, I have to try by myself. At a glance, I would like to know if the connection from the client to the web services container is success or not. So I need to have a kind of sniffer.
- sugree's blog
- Add new comment
- Read more
- 2744 reads
BTQueue 0.1.4 is coming soon
Eventually, BTQueue is coming very soon. In addition to later information regarding the change of core engine to BitTorrent 4.20.9, I have just created a new branch for changing the core engine to BitTorrent 5.0.7. I am pretty sure that it is possible to add priorities support in short period.
- sugree's blog
- Add new comment
- Read more
- 3384 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