Author: ads
Oftentimes I need the GPS coordinates from where a picture was taken. In the past I was using exiftool, but that still includes too many steps. KDE has a feature where one can create custom context menus, called service menus, which let me define a right click menu for images, and a script is populating the clipboard with the coordinates. Read more
Author: ads
After switching my blogs to a static blogging engine, I found a number of preventable issues. Certain syntax errors, forgot tags, or forgot a description, or forgot a preview picture, or forgot an image. This kind of things. So I wrote check-markdown-files.py, which now scans all my blog postings before committing the posting to git. Any known error is raised, and aborts the commit. Each problem has an override switch in case it is a false positive. Read more
Author: ads
A long time ago I wrote down the first steps I usually do when installing a new Raspberry Pi. Now I'm installing a new system, with a 2025 Raspberry Pi OS. Time to update the notes. Read more
Author: ads
In a previous blog posting I explained hwo to add comments using your *Mastodon* account. It so happens that I occasionally forget to add the origin *Mastodon* comment ID to the posting. So I wrote a script. Read more
Author: ads
One of my older Python scripts is throwing a deprecation warning in the 'datetime' module after the recent switch from Ubuntu to Manjaro. The Python version is '3.12.4' now, previously it was '3.11.4'. Read more
Author: ads
For syncing files between my devices I'm using SyncThing. This tool is reliable, available on Linux, Android, Mac and iOS. And it encrypts the communication. But sometimes I want to know when files in certain directories have changed - as example in my Obsidian vault. This allows me to post-process the files. Read more
Author: ads
Many people (I don’t like this phrase) are leaving Twitter these days, and looking for a new social media home. One of these places is Mastodon. This blog post aims to summarize the steps necessary for a migration, and includes pointers to websites which can help with said move. Read more
Author: ads
While writing and stress-testing a Python script which uses the multiprocessing library, I ran into the problem that occasionally the script hangs at the end. Literally runs past the last line of code and then hangs. Read more
Author: ads
Let’s say I have a Django app users. The admin menu shows this as category Users. That’s ok, but if the website users speak another language I want this name translated. Also I’m not necessarily using Users as name in the admin menu as section name, but can use something more descriptive. Website Users, as example. Read more
Author: ads
The Django administration site comes with a couple of default entries, depending on which apps and middleware is installed. Read more