Here is how one can mathematically find the minimum and maximum of a set of two rational numbers. Whether you are programming something in a language that doesn’t have built in Min(…) and Max(…) such as VBScript (and choose not to use IF…ELSE) or you are simply curious on how minimum and maximum of [...]
How to mark all email messages as read on iPhone 3G
One of the first things I did after I got my iPhone 3G was to setup my emails. In doing so, I soon came to realize one of the first shortcomings of this highly publicized device, which was the missing ability to mark all of my 792 messages as read. If you too rather spend [...]
How to setup Syslog capability of D-Link DIR-655 over network.
My D-Link DIR-655 supports sending data over UDP port 514 to a syslog server. Here is my story on how to set-it up with Rsyslog.
I use Fedora 10 here and D-Link DIR-655.
Rsyslog is the syslog module that runs as a service in Fedora. That is to say you can manage it using commands such as:
system [...]
Python script to extract songs from an iPod.
Unfortunately, ITune’s “Consolidate” feature did not work on my 2nd generation iPod. Therefore, after having failed to find a free program to extract songs from my originally Windows formatted iPod, I wrote this quick script that would extract my songs and organize them based on ID3 tags. For this script to work, you need [...]