Filed under Coding

LCARSSHFS?

My current NAS setup is based on a Gentoo server and access via SSHFS. That is fine and works: I can mount my remote data as another path in my local home directory and any file access is secured over SSH (using PKI). But retrieving information, e.g. based on metadata, is a mess. I have … Continue reading

Introducing brotherscankeyd

Recently I bought a Brother MFC-L2720DW printer/scanner. In the past I was used to buy HP because of the good Linux support. But now I have discovered that Brother offers quite a good Linux support as well. Installing the printer was a disappointment: everything worked as expected! (Driver source: brother overlay; installation via CUPS and … Continue reading

OSMImageMap

Recently I needed a printable map. There are ways to exploit the Google Maps service (share -> embed -> modify width/height -> use browser screenshot addon). But with OpenStreetMap, such exploits are not needed. OpenStreetMap constructs its (Slippy) Maps from tiles — small 256×256 pixel images. It is possible to calculate the tile coordinates and … Continue reading

More on linuxfd: An Example

The following short test program demonstrates the possibilities of eventfd, signalfd and timerfd in an asynchronous controlled event loop. In short this program features a loop which is activated if any of the three special files becomes readable. Otherwise the epoll call blocks indefinitely. Every three seconds a timer file object expires, thus becoming readable. … Continue reading