Other things of interest

Bosse TrueType font

BOSSE.ZIP (3 kB) A TrueType symbol font for chemistry and mechanics. Includes characters for electron transitions (whatever it's called) and some to use with mechanical formulae.

Example:

Bosse symbols

Not much (the "example" is actually all the characters), but for anyone who's tried making good looking and flexible electron transitions in Word, it's like sent from God. You may modify it as you wish, as long as you send the modified version to me. The quality is low, I made it in CorelDRAW, but it works. I'll update it when I need more special characters. The current version was made May 12th 1996.

Perl stuff

Some small and probably not very efficient Perl scripts that I've found useful.
  • COUNT.PL Simply counts the number of lines received from stdin.
  • FCSIZE.PL Extracts the sizes from a FirstClass saved conference/folder contents.
  • HTMLTITLE.PL Displays the HTML <title>-tags for all .html files in a directory.
  • MDMREAD.PL and MDMWRITE.PL Examines and extracts the number of read and write bytes, respectively, from the modemlog under Windows 95 (\WINDOWS\MODEMLOG.TXT). Use it with SUM.PL to get the total.
  • NUMBER.PL Simply numbers the lines received from stdin.
  • STAT.PL Tells you the number of lines, the longest line and the shortest line (and what line numbers they have) received from stdin. Useful the check that a textfile isn't wider than, say, 80 characters.
  • SUM.PL Sums the values received from stdin. A non-number counts like a zero.
  • UPTIME.PL If you log every boot with 'date >> filename' (i.e. the Unix date command), this script will calculate your current system uptime.
dClasses C++ class library

DCLASSES.ZIP (28 kB) My current C++ project at school. It's a class library to simplify creation of documents in source code and multiple formats, without knowing anything about the different formats. Supports text, HTML and RTF.

The key here is object-orientation and polymorphism. The base class, TDocument, does not contain any functionality, everything that's format specific is handled by the descendend classes. With the same source code you can therefore create all supported document types by declaring at pointer to a TDocument object and then at runtime select which object really should be created. I've done this in Pascal too, but this is much more useable and extendable. It compiles under Borland C++ 4.0 and later (and with some minor modification under most compilers.


Updated July 25th 1997 by Magnus Bäck