The Novena to the Holy Spirit is started on Friday, 6th Week of Easter. We can start the prayers by today.
However, in my Prayer Clock, I have mis-calculated the day. Please, if you are interested, download the prayers.xml from my site.
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.
A nice song, by 宇恒，幸雁，戴丽金 and William. I searched this song, but very hard to search. And finally found it, but in .flv format.
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.
I have written a commandline using python, which can download the comic in “tieba.baidu.com”.
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.
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.
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.
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:
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.