index posts opinions likes dislikes interesting cgit


My posts about programming and things.
Date format is day/month/year because I'm sane.

Binary clock


To force me to learn recognising binary numbers easier I've created a small program that takes the current time and converts it to binary. I apply this binary string to the X displays root window title, dwm takes this string and puts it into the status bar, it replaces the decimal clock that was there before. Now if I want to know the time I have to convert it into decimal or spend the effort typing 'date' into a terminal.

The source is available in my git repository.

page generated 09-01-2019 22:25:55 using sitegenerator