Guido's personal home page
|The tuxgraphics online shop: shop.tuxgraphics.org|
My blog: "No Preservatives Added"
My pocket watch shop: Molnija pocket watch shop
ftff, ftwhich and whichman: fault tolerant search utilities
ftff, ftwhich and whichman are fault tolerant search
utilities. whichman allows to search for man pages that
match approximately the specified search key. ftff is a
fault tolerant file find utility and ftwhich is a fault
tolerant version for the 'which' command. The error
tolerant approximate string match is based on the
Levenshtein Distance between two strings. This is a
measure for the number of replacements, insertions and
deletions that are necessary to transform string A into
ethwireck -- check if the wire in the Ethernet port is live
ethwireck can detect if the physical layer of the
Ethernet is up. This can then be used in the init script
for your network card to determine whether or not an
interface should be brought up. You can branch then
and bring e.g the cooper ethernet interface up if a wire is
plugged in otherwise use wlan.
# this is how you can use ethwireck: if ethwireck eth0; then echo "eth0: physical layer up ..." else echo "eth0: no wire plugged" return 1 fiethwireck may not work with all network cards. It depends on the driver. You have to try if it works on your PC
Unicode::UTF8simple - Conversions to/from UTF8 from/to charactersets
Unicode::UTF8simple provides UTF-8 conversion for perl versions from 5.00 and up. It was
mainly written for use with perl 5.00 to 5.6.0 because those perl versions do not support Unicode::MapUTF8 or Encode.
exifdate: sorting and renaming digital camera images by date and time
This application allows you to consistently name files taken with
different cameras. It makes sorting and archiving very easy.
Download:Installation and usage instructions:
exifdate-1.1.tar.gz, 2014-05-27, 1307654 bytes , as zip-archive: exifdate-1.1.zip, 2014-05-27, 1312993 bytes
exifdate-1.0.tar.gz, 2014-05-19, 959390 bytes , as zip-archive: exifdate-1.0.zip, 2014-05-19, 951894 bytes
Please see the README file inside the package.
exiftimestamp: perl script for sorting and renaming digital camera images by date and time
exiftimestamp is a little command line utility to rename jpg camera image files by using the exif date information inside the image.
--------------------------------------------------------- USAGE: exiftimestamp [-h] filename1.jpg filename2.jpg ... or let the shell do the work: USAGE: exiftimestamp *.jpg OPTIONS: -h this help exiftimestamp is very useful for sorting and archiving your various digital images. The file names are constructed such that they sort automatically by time. The date/time information is read out of the image exif data. The new filename will look like this: year-month-date_time-3digitserial.jpg Example: 2013-05-31_1710-668.jpg The 3digitserial are the last 3 digits of the serial number that the camera assigns to the image e.g pict04668.jpg ---------------------------------------------------------
exiftimestamp needs a basic perl installation and Image-ExifTool. Image-ExifTool is avalable from http://www.sno.phy.queensu.ca/~phil/exiftool/ (local copy: Image-ExifTool-9.60.tar.gz, 3821772 bytes).
HTML::TagReader, perl extension to process html tags
HTML::TagReader is a perl extension module which
allows you to read html/xml files by tag. That is: in a
similar way as you can read textfiles by line with
"while(<>)" you use HTML::TagReader::getbytoken to
read a file by tag.
Perl 5 Quick Reference Guide
The cpan.org documentation tree used to contain a very
good Perl Quick Reference Guide written by Johan Vromans.
This this small booklet is now also available as a Pocket
Reference from O'Reilly ("http://www.ora.com). Since the
move of documentation out of the cpan.org directory tree
this Quick Reference Guide is no longer part of the perl
Instructions on how to print this as booklet are included in the tar file
perlref-5.004.1.pdf (pdf version)
perlref-5.004.html (HTML version)
This HTML version identical to the HTML version by Rex Swain but I corrected a number of HTML syntax faults.
lfwmail -- a light weight but full featured webmail program
lfwmail is a light weight web mail program written in
perl. It will run with acceptable speed even on a Pentium
100Mhz Linux mailserver. It has just basic features and
no calendar or folders but it is fully mime compatible
and can handle attachments.
lfwmail-2.6.tar.gz (new layout: one line per mail in the summary page)
webgrep, web-page search and check utilities
Note:webgrep will not be developed further. It
is now replaced by Tagreader (see above).
ftdibb, a BitBang mode library for the ft232 and ft245 chips from ftdichip.com
Linux audio sine wave signal generator
sled, a shutdown button for your server
I have written an article in LinuxFocus about sled. The article describes the circuit and its functionality in detail:
plhtml -- server side scripting in perl
plhtml is a preprocessor for html documents. Its
purpose is to simplify the work of writing large numbers
of HTML documents. It acts like a compiler, i.e. you
provide an input source text and plhtml produces the HTML
documents. Unlike many other programs of this type plhtml
does actually report the line number in the html input
file if it comes across a syntax error. This makes it
very easy to find faults.
cdspeed -- decrease the speed of your cdrom
Modern cdrom drives are too fast. It can take several
seconds on a 60x speed cdrom drive to spin it up and read
data from the drive. The result is that these drives are
just a lot slower than a 8x or 24x drive. This is
especially true if you are only occasionally (e.g every 5
seconds) reading a small file. This utility limits the
speed, makes the drive less noisy and the access time
faster. cdspeed is also very good if you prefer to listen
to the musik on your mp3 CDs rather then the noise of
your CD drive.
blkcrypt, three block encryption algorithms
The link below goes to a page from which you can
download three programs that implement the block
encryption algorithms des, blowfish and idea.
Go to the download page:
amr2wav -- A linux shell script to convert amr files from Ericsson or Nokia phones to wav
This is a simple script based on http://xa.bi/mms/.
To use it do the following:
gpppwrap: a graphical user interface wrapper around the ppp-on/off scripts
gpppwrap is a graphical user interface to conveniently
select a phone number and dial into your ISP. It's very
convenient if you use different ISPs.
BNG, an awesome daycare on the west island
This is a really nice pre-school/part time daycare on Montreal's West-Island.
Beaurepaire Preschool or "Beaurepaire Nursery Group" (BNG) is a community and volunteer supported pre-school for children from 2 to 5 years old. Everybody has only positive things to say about this small daycare.
LinuxFocus.org , an international Linux Magazine
Linux Focus is the multi lingual magazine about the
Linux operating system. Linux Focus is managed and
produced by Linux volunteers, fans and developers. There
is no subscription necessary to read LF, it is freely
available on the web all over the world.
Wedding of Katja and Guido
Here is a picture from our wedding (16 July 1999). More information about my wife can be found on her homepage.
Shell, awk and Perl scripts, litte GO programs
This is a collection of some Shell and Perl scripts.
The scripts are most of the time plain text
files. Therefore DO NOT try to download them under
Windows. Windows will change the character set and some
scripts will not work any longer:
Advanced unix commands by example:
Links to GO resources:
tips for Linux
Linux friendly use of the middle mouse button in firefoxDo you hate it that firefox simply opens a URL when you copy/paste data into a form and you hit accidently the body of the page rather the input field? Here is the solution:
Navigate to about:config
search for middlemouse.contentLoadURL
set it to false
Firefox with emacs key bindings, much betterIt is possible to support standard emacs key bindings for firefox. I use it all the time to change the url (crtl-a = jump to begining, crlt-u erase line, ...).
create a .gtkrc-2.0 file in your home directory and add the following in that file
include "/usr/share/themes/Emacs/gtk-2.0-key/gtkrc" gtk-key-theme-name = "Emacs"
Old historical map of the Isles of Montreal, Canada
I have this old map of Montreal (does not have a date but it must have been drawn between 1750 and 1800 based on the details shown). It is possible that this is a copy of another more original map but it is not a modern re-print. It might be of scientific and historical interest to other
people. Click on the map to get a more detailed view.