| play | |
|
Uni.jar
2001-2002 |
Back in 2001-2002, I contributed to UnicodeConverter. It is a tool written in Java to convert Vietnamese documents encoded in legacy schemes to Unicode format. I fixed a display bug in Linux. After that, I integrated the command line and recursive directory feature to it so I could use it for this project. |
| arc | A perl script that I use to convert my huge tif files to compressed PNG files. |
| htmlizer | A perl script that I originally wrote to convert a bunch of text files to html files so that they can be viewed by a web browser. So they will look like webpages from this book (In the Jaws of History by Bui Diem and David Chanoff). |
| mkindex | A simple script that generates an index html file, thumbnails, and html files to display photos. It will resize the input photos to a maximum demension of 1024 pixels and add border the photo unless specified at command line. See my photo website for html files that this script generates. |
| mkphoto | This script generates an html file to display a jpeg file. It is used by the above mkindex script. |
| mkweb |
This script resizes and converts photos to jpeg format.
The default maximum size 1024 pixels. By default, it creates
a frame border. So you must use "-b" you want a borderless
picture. :-P Oh, you need ImageMagick for all above photo-related scripts. |
| mknote | I wrote this script to display my class note/terms back in the day. |
| ksamp | This script displays some odds and ends info of a linux box. |
| mkweb2 | Poor-man's paralellism: this Python script forks two processes to run mkweb.pl to take advantage of my AMD dual-core CPU. |
| mkweb_n(new!) | Poor-man's paralellism: this Python script forks n processes to run mkweb.pl to take advantage of my fancy Intel Sandy Bridge quad-core CPU. |
| raw2tif | Poor-man's paralellism: this Python script forks two processes to run dcraw to take advantage of my AMD dual-core CPU. The set of options is good enough to see have decent preview of my Nikon D300 NEF files. |
| pi.c | A C program that implements Gauss-Legendre Algorthm to compute PI. It uses POSIX Thread with mutex condition and home-made barrier instead of pthread_barrier_wait(). |
| tophit.cpp | A C++ program that prints out the most frequented request based on the input field of an Apache log. It uses the inotify (Linux kernel 2.6.13 or later). |
| dictionary.cpp | A C++ program that can run either as a dictionary master (holds the list of words) or client (querying the words). It is a demostration of inotify, FILE LOCK, POSIX threads (synchronization start), and signal handling. |
| threads.c | A silly C program that calculates Fibonancci numbers to demonstrate some pthread calls. |