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.
Posted by ads' corner on Thursday, July 2, 2026
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.
Posted by ads' corner on Monday, July 28, 2025
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.
Posted by ads' corner on Wednesday, June 11, 2025
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.
Posted by ads' corner on Wednesday, September 4, 2024
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'.
Posted by ads' corner on Monday, August 5, 2024
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.
Posted by ads' corner on Wednesday, May 17, 2023
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.
Posted by ads' corner on Monday, November 21, 2022
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.
Posted by ads' corner on Thursday, March 3, 2022
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.
Posted by ads' corner on Tuesday, December 1, 2020
The Django administration site comes with a couple of default entries, depending on which apps and middleware is installed.
Posted by ads' corner on Sunday, November 29, 2020