Emil Miler

Search All Posts

Streaming camera output trough UDP

I had an interesting assignment to set up a low-latency video stream from a camera to a TV screen on the third floor of a building for a short event. I came up with a simple solution: streaming it directly over UDP using OBS and capturing the stream with MPV.

2024-11-14

101, I Salute You

There once existed a singular establishment known as “101,” a place that, though no longer standing, will forever be enshrined in the memories of those fortunate – or perhaps unfortunate – enough to have crossed its threshold. Its walls witnessed many a tale of intrigue, mischief, and debauchery, none of which could be considered anything but extraordinary.

2024-05-06

Zola deployment with Gitea Actions and Rsync

Gitea now has a native support for Actions, which is a clone of GitHub Actions with the same syntax. Since Drone CI – which was the topic of an older article – seems to get slowly abandoned by upstream and Gitea Actions are now stable, it is a good idea to switch.

2024-01-19

Zola website deployment with Drone CI

NOTE: This article is outdated and superseded by native Gitea Actions.

Zola is my SSG of choice, as it it fast, powerful and packed in a single statically linked binary. Here is how I use with in conjunction with Drone CI for automatic building and deployment to my webserver.

2022-09-28

How we hacked the school voice announcement system

Me and some of my students have been spending free time in one of our classrooms, as we usually do, and we started thinking about hacking the ancient school voice announcement system – injecting a custom signal and playing our own audio throughout the whole building.

2022-04-19

Taking screenshots with shotgun and slop

I have been having problems with scrot and its -c option for selecting a part of the screen. It glitched most of the time and rendered selection borders in the screenshot itself. I have decided to switch to something new – shotgun.

2022-03-10

Fractional display scaling on X11

X11 supports fractional scaling perfectly well, but most GUI toolkits don’t implement it properly. Scaling works fine in a pure QT environment, but when using other GUI toolkits (such as GTK+), things don’t work as expected due to them being poorly written. This article describes several methods of universal mixed display scaling with broken GUI toolkits and a simple window manager (dwm).

2021-12-27

Classic keyboard mod

Starting with the 30 series, ThinkPads got a new modernized keyboard and many poeple dislike it. Do not take me wrong, it is not a bad keyboard, but when compared to the older model, it has a plethora of issues. Luckily, it can be replaced with the classic 10–20 series keyboard.

2019-08-25