Posted on 2016-06-05
In my current project I noticed that on bad WiFi links initial DHCP negotiations may take a really long time.
The reason is simple: In the initial steps, DHCP uses UDP broadcast packages that may get lost.
To find out more and learn how to speed things up, read on …
Posted on 2014-07-01
Parser and lexer generators are great tools and there is little reason to knit parsers or lexers (aka tokenizers) yourself.
If your (embedded) target is short on memory, the used tools have to be picked carefully, as not many of them are designed with memory-efficiency in mind.
Want to know more about them and other tools? Read on!
Posted on 2013-12-18
Since its release, BitTorrent Sync has become one of my favourite new tools. Dropbox? Pff. If you want to sync two or more peers without them having to be online at the same time, you’ll need a server running a btsync-instance 24/7. A downside had been that your stuff would linger around unencrypted in such a server’s filesystem – not very nice if you use it to sync private stuff and that server gets owned. Luckily, in 1.2.67, “encrypted peer”-support was added.
Posted on 2013-11-30
CMake/CPack is great for quickly packaging your stuff for Debian.
However for instance, you may have programmed a daemon and want to let debhelper help you with update-rc.d-calls in your postinst/postrm-scripts. Also, you may want to easily package cron.d-rules. There’s a debhelper for everything.
CPack does not let you use them without further ado, as it’s built to not rely on anything else.
Here’s my way of making CPack and debhelper really good friends: CMakeDebHelper.
Posted on 2013-10-09
Oh no, another chroot-tutorial! This time Logitech Media Server gets jailed. If you only have it running locally it’s not necessary to imprison it, but if you have it running on a public IP it is. Big software with plugins and open ports just creates this chroot-urge deep inside of me. It’s quick and easy, read on!
Posted on 2013-07-18
Krawall GBA is an XM/S3M modplayer / soundsystem for the Gameboy Advance that I was developing 10 years ago. Back then, I successfully licensed it to quite some game developer studios and it was used in games like “The Sims”, “Spiderman”, “Lord of the Rings” and others.
Posted on 2013-07-08
Habe gerade eine neue Version meines DibaAutoLogin-Greasemonkey-Scripts veröffentlicht, die mit dem neuen Onlinebanking der deutschen DiBa wieder funktioniert.
Das Script ändert das Loginformular auf autocomplete=on (damit auf Wunsch der Browser die Logindaten speichert) und erledigt den lästigen Keycheck automagisch.
Posted on 2013-06-12
A few days ago I wanted to send a ZIP to a customer and I wanted the root-folder to have an icon, so it’s visually distinguishable as a “special” folder in the user’s home-directory.
However, zipping a folder with a set icon and then extracting it somewhere else doesn’t restore the icon properly. Here’s one way to fix this.
Posted on 2013-04-28
In a chroot’ed PHP the following things (at least) won’t function without further ado:
These things are required for most PHP-Applications, so here’s how to make it work. It doesn’t involve copying of any dynamic libraries, which is how others typically solve it.
Posted on 2013-04-27