This is my personal web page, where I upload or link to things that may be of general interest.
I also have a
professional web page at UC Santa Cruz.
Code
- WikiTrust:
an author reputation system and text trust system for wikis.
- Using Latex in OpenOffice:
I adapted a package that enables you to use Latex in OpenOffice
presentations. The package is very much inspired by the
TexPoint package of
George
Necula, and was originally written by Geoffroy Piroux.
This is my own version, with (I believe) improved fonts and
symbols.
- Vec: Extensible,
functional arrays for Ocaml.
The module provides log-time insertion, deletion,
modification, concatenation, and much more.
If you have ever missed in Ocaml the flexible lists of
Have you ever missed in Ocaml the flexible lists of
Python, now you have it in Ocaml,
implemented in functional fashion.
- Converting GMT time into Unix time in Ocaml. The standard Ocaml library functions do not handle this gracefully. This works only for times after 1970. Suggestions / improvements welcome! I implemented this due to this bug.
- Emacs fill-sentence.
This code implements the emacs command
fill-sentence, and binds it with the key ALT-j.
fill-sentence fills (or justifies) the
current sentence without affecting neighbouring sentences.
It is very useful if you, like me, like to begin each sentence on a
new line, as it enables you to reflow each sentence individually.
To use it, simply add it to your .emacs or your
.emacs startup file.
The code is courtesy of Joe Fineman - many thanks Joe!
Photography
Gimp Scripts
- Adjusting color temperature:
colortemp is a
Gimp script for
changing the color temperature of images. This script-fu script
enables you to change the color temperature of an image to any
specified temperature. It can be used to correct the red color cast
of photos taken under incandescent light with the camera on daylight
setting, or to correct the blue cast of outdoor photos taken in
overcast conditions.
- Adjusting white balance:
whitebalance is a
Gimp
script for changing the white balance of images. This script-fu
script can be used to convert the foreground color to either a neutral
gray, or to the color of the background.
You can find tutorials on the use of Gimp at the
Gimp home page, as well as at
Gimp Wiki and at
Digi Grey.
Information
Making Photo Galleries with Captions
- makeshow is a Python script that creates a
photo gallery web page from a directory containing images,
automatically resizing all the images, and creating the thumbnails.
The script also creates captions:
a caption to a file xyz.jpg can be specified via EXIF, or by including
a caption in a file named xyz.txt in the same directory.
It requires ImageMagick.
|
|