Prayer Clock

Written by using C and C++, depends on GTK+ and Expat. I spent about 3 days to study GTK+ and Expat since never used them before. I wrote this application because sometimes, I want to say a prayer, especially Angelus. But I need the prayer to read and also a reminder. So, I decided to wrote this program, at the same time I can also learn about GTK+ and Expat. And I decided to open source it as a contribution to Catholics.

I upload it with the source code included. Click here to download. There is a lot of improvements can be added.

After running the program, minimise it. Then at 6:00 am, 12:00 am, and 6:00 pm, the window will pop-up with Angelus. At 3:00 pm, 3 o’clock prayer to the Divine Mercy will pop-up.

Bookmark and Share

Nice song 最美好时光

A nice song, by 宇恒,幸雁,戴丽金 and William. I searched this song, but very hard to search. And finally found it, but in .flv format.

最美好时光 – 宇恒+幸雁+戴丽金+William

If you like it, you can download. Do you know the trick to download?

And if you want to convert to mp3, you can use FormatFactory. And just convert the .flv file to mp3, it is okay.

Pazera Free Audio Extractor is also another good choice.


Tieba Comic Download

I have written a commandline using python, which can download the comic in “”.

Because I can find the updated comic in “tieba”. But I prefer to use my own comic viewer to read the comic images. However, the image files in “tieba” are not named in sequence. So, if I want to save the images, I need to download the image 1 by 1 and rename them 1 by 1 in sequence. That is a repetitive and boring task.

So, the commandline I wrote, will download all the images in a tieba link, and rename all the images in sequence.

If you are interested, you can try it here.

Best free offline browser

When I wanted to find a free offline browser (or website copier, website grabber, website ripper), what I found is HTTrack. They said it is the best offline browser. I tried to use it many times, and found that very useless. But finally, I found it really useful, as they said, it is the best offline browser.

Why I said it was poor before?
Actually, the problem was, the website I wanted to grab was a very large site, with a lot of links. HTTrack always parses the links then download. Since there are too many links (about 18,000 files), the parsing used a lot of time. HTTrack unlike Teleport Pro, will not download the webpages immediately, so you cannot view the webpages immediately during parsing. That is why, I thought HTTrack didn’t download anything.

Secondly, since the website was too large, and I didn’t copy the website with one go. Therefore, I needed to stop the HTTrack task. The “cancel” can be clicked twice. I always clicked twice, to stop the task immediately. Then, the program said that the old cache has more complete information than the new cache. Whatever. Since HTTrack has the ability to continue the interrupted task, I just continue next time. However, everytime I continued, there was no progress. That was why, I thought HTTrack is too poor.

Now, I know how to use HTTrack correctly. First of all, must be very patient. Trust that HTTrack can finish download all the webpages of the large site. Another thing, always click “cancel” once. Because, HTTrack will store the information to “coninue the interrupted task”. But, if you really urgent to shutdown the computer, then you need to click “cancel” twice. Hope that the new cache has more information than the old cache, otherwise, it is just a waste. When the parsing job is finished, all the webpages will just immediately saved to your local drive.

Another good feature of HTTrack that I like is, we can update the downloaded website for the future. Besides that, you can copy the downloaded website to any other directory.

Right, HTTrack is really the best offline browser.

Convert MHT file encoded with base64 to quoted-printable encoding

These days, I learnt and wrote a Python script.

There are a lot of addons (extension) that are not compatible with Firefox 3, and this includes Mozilla Archive Format. Because of this, I need to use UnMHT. However, as what I had said, UnMHT will encode all the text into base64 encoding.

When I search MSDN library, and I always save the webpage in printer friendly version. And the printer friendly version will always pop up a printing dialog. This is because of the javascript function, “window.print()“. Therefore, I always delete the javascript manually after downloading the webpage.

Because of base64 encoding, I cannot find “window.print()” easily. So, I decided to write a Python script to convert base64 encoding to quoted-printable encoding, at the same time I can also learn this programming language (because I never touched it before).

Finally, a commandline is written. And I convert the python script into exe file. The commandline can only convert only a single file. Actually this is written to solve my own problem. If you want, you can download it:
mht_encode_convert.rar [2M]

Note: I didn’t try to use the program to convert other MHT file, but only the MHT file saved by UnMHT. Therefore, I don’t know the other MHT file will be corrupted or not.

Other Toshiba Satellite M200 drivers for XP

I am now back to hometown to celebrate Chinese New Year. And my home has very poor internet connection. Therefore, I upload some of the Toshiba Satellite M200 drivers for XP in cyber cafe now.

Modem driver
SM Bus
Touchpad driver
FlashMedia driver
LAN driver

I do not upload BlueTooth driver, because I don’t use it. So, I also don’t know which BlueTooth driver is suitable for Toshiba Satellite M200.

I haven’t upload Wireless LAN driver. Because the file is 50.9Mb. I still haven’t decided to upload it. Because it is too big. This is what I can do now.

Updated: 24/2/2008
Display driver (18MB)

Reupload display driver (31/1/2010)
Reupload SM Bus driver (2/3/2010)
Reupload LAN driver (2/3/2010)

Toshiba Satellite M200 Windows XP sound driver

Again Toshiba driver.

Since the sound driver I suggested in my previous post does not work, so lastly I need to upload the driver of my laptop.

But the driver I uploaded does not content setup file. Therefore, one needs to right-click “oem1.inf” and select “install”.

I exported the driver using DriverMax (freeware). I didn’t upload the original setup folder, because it is about 83 mb. So, after exported and compressed the file, it is about 9 mb.

Hope this one will really solve Toshiba sound driver problem.

Just for information, I use 7-zip to zip the file. Because it is smaller and it is freeware. To unzip it, there are too many ways, you can use 7-zip or WinRAR or IZarc. And I use Badongo instead of RapidShare. For me, RapidShare is too poor, I don’t like it.

[Update: 7/1/2008]
Realtek_Driver.7z (8.18 mb) – Without setup file. Need to install the driver manually.
To install manually, please read the following links:

N0te: I personally didn’t try the manual installation. Try this if you like to.

Since the installation of the smaller driver fail, I upload the whole driver with setup.
Realtek-Audio-Driver.7z (17.39 mb) – With setup file.

Lastly, please post your comment about the result of the driver. Because I afraid that, the driver only specifically suit with my laptop. If so, I cannot help anymore… Orz
And please inform me if my uploaded files are corrupted.