ads' corner

Show all docker build output

Docker by default will hide the process output of a step once the step is completed. During development I'd like to see the full outout.

ERROR deprecated: data.GetJSON was deprecated in Hugo v0.123.0 and will be removed in Hugo 0.140.0. use resources.Get or resources.GetRemote with transform.Unmarshal

Every goHugo update brings new surprises, most daring are the deprecated features which are now removed. This time I ran into the deprecated data.GetJSON feature which was removed.

Hugo Blog: Find postings without comment id

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.

Clear Docker build cache

Docker keeps all built images in a cache, which grows over time. Removing the build layers is not obvious, there is no specific Docker 'cache' command.

Remove files from a restic backup (using resticprofile)

Sometimes files end up in a backup where they don't belong. It happens. While I'm a big advocate of having backups, sometimes entries need to be removed from a backup. This is easy to do in Restic, using resticprofile.

Arch Linux: mount: unknown filesystem type 'exfat'

A short while ago I moved a couple of laptops from Ubuntu to Manjaro. It's all going well, except today the kid came to me and told me: 'Can't open the SDcard from my camera. It's not working.' Don't you like it when all you get is 'it doesn't work'? Usually such a message by itself is not helpful, but in this case that was all he was able to tell me. Checked and indeed, when the card reader is attached, KDE pops up a notification, and the 'mount and open' option does nothing when clicked on the drive.

Update available for Firefox - Snap Refresh Required on Ubuntu

If you are running Ubuntu and using the Firefox browser, you may have seen a notification indicating that an update is available for 'firefox'. Here's what this means and how to address it.

warning: btree:/var/lib/postfix/smtp_scache is unavailable. unsupported dictionary type: btree

Upgraded a server, and along the way the Postfix version was also upgraded. Suddenly there is a warning in the logfile: 'warning: btree:/var/lib/postfix/smtp_scache is unavailable. unsupported dictionary type: btree'. Turns out that is easy to fix.

DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC)

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'.

Obsidian Meeting template with time adjustment

My previously used meeting template for Obsidian used the current date and time for the filename. I rarely start Obsidian right when the meeting starts, usually I'm early and prepare the meeting. This results in filenames like '2024-08-02 13:52 important meeting'. I want this aligned to when the meeting starts, '2024-08-02 14:00 important meeting'.