Perl scripts and others

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.
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.





© 2001-2009 Tuan Pham <tuan at vt dot edu>