enormator
This is the place where I put some stuff I create. This is not a blog!
♫ some background music (flash, new window)

programming

  • BASST: "Be A Simple SDL Toolkit" is a user interface lib based upon libSDL and libSDL-ttf. Unlike most other gui-libs, BASST is not widget-based but question-based. i.e. there are functions like BST_AskForInt(const char* question). This is revision 11 and in public beta state. It now supports negative inputs and dynamic color changing. Unicode support is to come.
  • Tutorial for the dynamic programming approach to the edit distance problem
  • copy_m3u_to.sh: A bash script, that copies all local music files in an m3u playlist (argument 1) into a directory (argument 2), preserving the directory structure of the tracks, so that there can be several files called "Track01.mp3" and won't overwrite each other. This tool is perfect for managing music content on an mp3-player.
  • mkthumbs.sh: A bash script, that creates a html thumbnail gallery from images. It is used by and written for my photo gallery on this website. It takes the pictures in the directory "pix" and resizes them into "thumbs". The created HTML file will be called "index.html". You need an "index_pre.html" and an "index_post.html". With that files you can i.e. specify style sheets for the gallery.
  • tournament.py: A tournament software using Merge-Sort to determine the results, written in Python (no gui); It can also randomly generate teams of any size.
  • random.htm: A simple online generator for pseudorandom numbers (in Javascript)
  • cost_distributor.c: A Program that takes the cost of something (i.e. the rent cost for a party location), a list of people and how much money they can spend and then calculates how much everyone has to pay if the cost is split up equally. People who can't afford that price can't participate. The program returns the price at which most people can participate (i.e. in the event). Every non-number in the list is a comment. The first char sequence in the list must be the amount of money that is to pay. This list would be a correct example:
    100 euros are to pay
    20 Abraham
    4.20 poorman
    Guenni: 15 Euros
    50 Euros from Rokkefeller
    Punk pays only 10 Euros
    21.40 Dieter
    2 very poor man
    F. Bar can afford 30 Euros
    19.99 Mr. Supermarket
    40 Sandy
    
    The cost distributor will then calculate "14.285714". That is what everybody has to pay. The people unwilling to pay so much cannot participate in whatever you are planning.
    You can also download the Windows (win32) version or the Linux (32 bit) version or the Linux (amd64) version.

art

miscellaneous