Lukas' Software Tools and Pieces


IP Power 9258 control script

A shell script to control an "IP Power 9258" networked power switch
download

Testo 545 Lux Meter Serial Comm

A perl script allowing to log the lux values measured by a "Testo 545" Lux meter via serial connection. The script uses the module Device::SerialPort for the communication over the RS232 serial line and can be used as a demonstration on how to use that module.
download

K8IO control tool

A command line tool written in C to read and write the control, data and status registers of a parallel printer port of a PC. This may be used to control a relay output card like the one sold by http://www.pollin.de:
http://www.pollin.de/shop/dt/NzcyOTgyOTk-/Bausaetze/Diverse/Bausatz_PC_Relaiskarte_K8IO.html
Look at the source code for instructions on how to compile.
download C program

Google Earth Geotagged Images kml Creator

A perl script creating a kml file for use with Google Earth from a list of geotagged images.
download
The script renders a "Perl Template Toolkit" template to get the kml. An example template is here.

HTML Gallery Creator

A perl script for creating an HTML gallery from a list of images.
download
The script renders "Perl Template Toolkit" templates to create the html pages.
Example templates are here. Also a CSS style file is to be found at the same place. Download both templates and the style file and put them into the same directory as the script itself.
The following non standard perl modules need to be installed: Image::ExifTool, Perl Template Toolkit, Image::Magick, HTML::Entities, Class::Date.
Use the command perldoc html_gallery.pl to get an introduction on the usage of the script.

Image File Renamer

A perl script for renaming or symbolic linking of the images from the given list.
May additionally manipulate some of the exif tag data of every image like setting a copyright or setting a 'GPSDateStamp/GPSTimeStamp' from 'DateTimeOriginal' corrected by a given offset.
download

1pixl
line
linux logo Powered by Apache
line
This site maintained by:
lukas.zimmermann@unibas.ch
My public PGP key
last updated: 2012-08-01 Valid CSS! Valid XHTML 1.0 Strict