Software Projects

Here is a collection of various programs I wrote (the latest versions, you can find the rest in the archive). All of them have been developed under the Linux operating system and usually in a fairly portable way, so they will probably run on other Unices as well. Most programs are distributed under the terms of the GNU General Public License.

paperjam-1.2.1
(2024-10-04)
PaperJam – a program for transforming PDF files. It can re-arrange pages, scale and rotate them, put multiple pages on a single sheet, draw cropmarks, and many other tricks. Git
Web
edid-1.2
(2024-04-16)
VESA EDID decoder: Decodes EDID data sent by monitors and prints it in human-readable form. Git
Web
pciutils-3.12.0
(2024-04-05)
The PCI Utilities – a set of programs for listing PCI devices, inspecting their status and setting their configuration registers. It comes with a library for portable configuration register access. Git
Web
isolate-2.0
(2024-02-28)
Isolate – a sandbox built to safely run untrusted executables, offering them a limited-access environment and preventing them from affecting the host system. It takes advantage of features specific to the Linux kernel, like namespaces and control groups. Primarily designed for testing programs in programming contests. Git
owl
(2024-02-17)
The Postal Owl: A minimalistic web site for submitting homework and grading it. Built around Flask, Markdown and KaTeX. Git
Web
checkmail-1.12
(2023-09-22)
CheckMail – nothing more than a smart textual menu allowing easy browsing through a set of mailboxes/maildirs, displayed together with numbers of all messages and new messages. In addition to that, it can notify you when a new mail arrives by beeps, keyboard leds and OSDD. Simple, but very handy. Git
Web
nsc-5.1
(2023-08-10)
The Name Server Configurator – a set of utilities and M4 scripts for easy maintenance of DNS configuration and zone files. Supports IPv6, DNSSEC, classless delegations and other quirks. Git
Web
osmo
(2022-11-12)
Odevzdávací Systém Matematické Olympiády: A web system for the Czech Mathematical Olympiad: administration, submitting and grading solutions, generating score tables, etc. Git
Web
minsk-1.1
(2022-04-24)
Minsk-2 – an emulator of a beautiful Soviet-era mainframe computer. You can try it online. Git
Web
suidgw-1.3
(2022-01-27)
SuidGW – a wrapper for running set-uid scripts securely. Git
Web
teatimer-1.4
(2022-01-21)
Trivial Tea Timer – a simple GTK application for timing brewing of your cup of tea or anything else. Git
Web
ucwmac-2.0.1
(2021-10-10)
UCW TeX Macros – not exactly a program, but a collection of TeX macros I use in my daily life. This is a reincarnation of my old mjmac.tex. Git
Web
arexxd-2.0
(2020-04-17)
Arexx Data Logger Daemon – a deamon for reading data from Arexx BS-500 data loggers. Git
Web
subauth-1.0
(2018-01-21)
Subauth – a daemon for authenticating sub-accounts. Allows users to set up different authentication credentials for access to specific system services from specific devices. Git
Web
bouncer-1.0
(2016-11-19)
Bouncer – a simple daemon for kicking out unwelcome guests, who try to guess users' passwords by brute force. Git
Web
nwho-1.14
(2015-10-09)
Network Who – a simple replacement for rwho (who via network). This one uses a centralized server and doesn't trust broadcasts, so it works even across routers. Git
Web
libucw-6.5
(2015-07-17)
The UCW library – a library that makes the life of a C programmer happier. It contains various generic data structures (e.g., lists, trees, hash tables), a configuration file parser, fast implementations of several standard algorithms (most notably sorting), fast buffered I/O, memory pools, transactions and many other goodies. Git
Web
git-tools-1.1
(2015-04-09)
Git Tools – a small collection of tools for managing Git repositories. Includes an update hook for comfortable mailing of push notifications. Git
Web
bex-3.3
(2015-03-29)
BEX: The Batch EXecutor is a simple set of scripts for running commands and shell scripts on sets of machines. Sysadmin's delight :) Git
Web
ursary
(2014-11-10)
Ursary: An experimental daemon for control of my home audio system using the Novation Nocturn control surface. Git
Web
xsv-1.0.1
(2013-12-09)
Swiss-Army Knife for CSV-like files – a utility which handles data in column-oriented text files, converts them between formats, justifies them to tables and so on. Git
Web
osdd-1.1
(2012-04-15)
On-Screen Display Daemon – a daemon which receives messages from other programs and displays them using libxosd. Unlike other such daemons, this one handles message attributes (e.g., colors), keeps its eye on message timing and since it uses X properties to pass messages, it works over SSH. Comes with a couple of clients. Git
Web
ywho-1.13
(2010-12-30)
Yet another who command: Shows lots of things about the system and all logged-in users including commands they run. Git
Web
sherlock-4.0
(2009-04-13)
Sherlock Holmes – a universal system for indexing (not only) web pages and searching in them. Look at its home page for more details.
sleuth-1.4.4
(2008-05-21)
The DNS Sleuth – a tool for automated checking of DNS zones for errors. I worked on it in the early 2000's, so it supports the DNS standards of that time. This means no IPv6 and no DNSSEC, so its use is currently limited. If you want to bring it to the 21th century, you are welcome.
metaclip-1.0
(2008-04-04)
Metaclip – a simple distributed clipboard for the X Window system, using an ordinary HTTP server to share the contents of the clipboard.
siplog-1.0
(2008-01-06)
SIP Logger – a simple passive monitor of SIP traffic, which sits at a router and reports all calls via e-mail. I use it to log lost calls when I am not at home. Git
Web
killerd-1.1
(2007-01-16)
KillerD – a simple daemon for automatic killing of login shells with idle time exceeding given limits, runaway processes and other system hogs. Almost everything can be easily configured.
maildups-0.9
(2006-01-21)
MailDups – a small utility to be plugged into your procmailrc for easy filtering of duplicate mail based on Message-ID's. Git
Web
moe-1.0
(2005-02-19)
Moe – a simple environment for running programming contests. Git
Web
netgrind-1.1
(2003-06-28)
Netgrind – a tool for further analysis of packets collected by tcpdump. The current version is able to reconstruct TCP streams including precise timings, to dissect HTTP connections to individual transactions and log them, again including precise timings, and also to calculate lots of other statistics. The tarball includes several tools for filtering the statistics and visualizing them using gnuplot. Git
Web
sock-1.1
(2001-06-12)
Sock – a simple interface between shell (or the command line) and network sockets. Git
Web
fmap-010125
(2001-01-25)
File Mapper: A bunch of utilities for creating snapshot of directory structure (including MD5 hashes of files if requested) and finding differences between the snapshots. Useful for security audits and mapping changes performed by automatic installers.
news
(1996-03-21)
System News: The superuser places a news file to a spool directory, the users are notified when they log in.

Obsolete programs

These are probably useless these days, but it's still possible somebody will find inspiration in them one day.

usher-1.1
(2002-07-05)
Usher: A couple of enhancements for the Majordomo list server: better queueing, list archival a'la Listproc and integration with SpamAssassin to fight spam.
suas-010315
(2001-03-15)
Simple User Authentication System – a solution (not an ideal one, but a usable one) for authentication on a network containing one central server and lots of diskless machines. Communicates with a NFS server and tells it which UIDs to accept from which machine. Used at our faculty for a long time, if you'd like to try it, please ask me first for the latest version.
adsp-0.9.1
(2000-12-15)
ADSP Tools: An assembler and some tools for the Analog Devices ADSP 2181 signal processor. Almost ready to be distributed, but no documentation exists yet. Seems to work very well and much faster than the original DOS tool pack.
moxa-0.98
(2000-02-11)
A Linux driver for MOXA C218 multi-port serial boards from the dark ages when MOXA was refusing to give even a snippet of specs. Probably superseded by the current driver in Linux kernel.
sss-0.0.1
(1999-11-18)
Startup and Shutdown Scripts: A very simple, yet more powerful replacement for the zillions of startup scripts used by today's Linux distributions – consists of a configuration file describing all system services together with shell commands used to control them (everything has a reasonable default, so to describe an usual daemon, it's enough to write a single line with its name) and a simple C program which handles all system state transitions (generalization of run level changes) according to these rules. It probably still should be considered experimental, but I use it on all my machines for several years and I'm perfectly happy with it. Worth a try, but beware, the documentation is minimal.
syncom
(1999-07-01)
An experiment in Syntactic Compression: compress Pascal programs by parsing them and encoding the parse tree statistically. Instead of decompressing to the same program, it generates an equivalent one.
slice-0.0
(1999-06-06)
Simple LInux Clustering Extensions are a relatively short patch to Linux Kernel 2.2.x which supports clustering with respect to maximization of computing power. Written as a term program for OS classes, but I don't have time to maintain it any longer.
flop-1.6
(1998-07-17)
Flop – a tool allowing direct floppy disk mounting and unmounting by normal users. Supports automatic disk format and filesystem recognition.
powerd
(1997-02-06)
A power-daemon for certain (now hopefully almost extinct) UPS monitoring cards. Can be a good example of how to write a power daemon.
contrast
(1996-09-25)
Display contrast control – a utility for notebooks equipped with Cirrus Logic LCD controllers.

Other operating systems

When the world was young, I was programming for Spectrum, Amiga and MS-DOG.

This page is maintained by Martin Mareš