PhotoSwipe 5

PhotoSwipe version 5 is now available. This version has a modular structure and has been fundamentally revised to also work reliably with current browsers and smartphones.

My WordPress plugin Lightbox with PhotoSwipe will also use PhotoSwipe 5 in the near future. Since any previous adjustments regarding styling are not compatible with PhotoSwipe 5, the older version will initially continue to be available as a selection.

Continue reading

Power saving plugs are a scam

A device is advertised on that supposedly helps save electricity. Similar devices are also available from other providers and in other forms.

What all devices of this type have in common: it is a scam. From a purely technical point of view, what is promised there is not possible!

See also the videos from bigclivedotcom:

Power saver plugs just got a bit darker

Worst fake “power saver” plug yet

And EEVblog :

EEVblog #848 – Home Energy Savers BUSTED!

Using Twig in WordPress plugins

Update 2022-06-13:

Be warned! It turns out that using Twig or any other depencies with composer in WordPress is in fact a bad idea! The problem is that other plugins or themes may also use the same components but in different version – and then this may end up in all kind of conflicts! For the time being I do NOT recommend to follow this article!

The basic structure of WordPress plugins is kept rather simple:

The file readme.txt file with a description in the header and a PHP file for the plugin initialization are required as a minimum requirement in the plugin directory. It is not absolutely necessary to implement your own classes, since the code is executed directly by WordPress – however, organizing it into classes makes readability and maintainability much easier.

Continue reading


A whole range of devices is available under the name “M-Tester” which can automatically detect electronic components such as transistors, diodes, resistors, capacitors, etc. and test their properties. Hence the name: “M-Tester” is the abbreviation for “Multi-function Tester”.

All products of this type go back to the article “AVR Transistortester” at, which first described a transistor tester based on an ATmega8/168/328 and an LCD with 2×16 characters in 2012. The latest version of these devices, such as the “M-Tester T7” or “M-Tester TC1”, offers a color display with a graphic display of the components and an infrared sensor with which the function of remote controls can also be checked.

Continue reading

By the way – how to mark text in the browser

A longer while ago, Chrome 90 introduced a feature (before that it was already an extension) with which you can mark part of the linked text via links at the same time.

For this you add the text to be marked as fragment in the form #:~:text= followed by the text itself to the URL. As a test a link to this article which is created as following:

While testing this I found out, that reloading a page which was loaded using such an URL will remove the text marking.