Saturday, 31. January 2026 Week 5

TIL: prettifying XML files in Vim

Had to work with some machine generated XML files.
To make them more readable, I looked for a way to format and indent them in Vim.

There are many tools for this, I stumbled upon xmllint which also validates the XML.
This can be useful, but restricts it to formatting valid XML files only.

:%!xmllint --format %
Thursday, 22. January 2026 Week 4
Tuesday, 20. January 2026 Week 4
Sunday, 11. January 2026 Week 2

Passwords and MFA recovery codes

Two very interesting blog posts explaining how Alex manages multi-factor recovery codes and memorises passwords:

But enabling MFA isn’t everything – what if you lose access to that second factor? For example, I store my MFA codes in an app on my phone. What happens if my phone is broken or stolen?
I generally trust my password manager, but I don’t want it to be a single point of failure for my entire digital life.
Friday, 2. January 2026 Week 1
Sunday, 28. December 2025 Week 52
Saturday, 27. December 2025 Week 52
Friday, 26. December 2025 Week 52

TIL: how to return from 'gf' in Vim

A long time ago I learned about the gf command in Vim.
It goes to the file whose name is under the cursor.
This can be pretty handy if you have a bunch of Markdown files that reference each-other.

But I never knew to go back to the previous file again.
So this week I took the time to find out how to do it.
And it turns out that there are multiple ways :-)

The most straightforward one is: CTRL-6
And there is also CTRL-o (back to the 'outer' file) with its companion CTRL-i (go forward to the 'inner' file).
CTRL-o and CTRL-i can be used to jump back and forth on the list of files opened via gf.

Saturday, 13. December 2025 Week 50

Euria

Infomaniak released Euria, a free, privacy-respecting, swiss-hosted AI assistant.
I briefly tried their web version, and it gives a good impression so far.
Good to have this available as a local alternative. 🇨🇭

(via)

Wednesday, 10. December 2025 Week 50

The ABCD framework for feedback

I have a little framework that I often use when I want feedback/when I give feedback on a blog post, a tutorial, a project, a product, etc. to get as much clarity as possible, quickly.

  • what’s Awesome?
  • what’s Boring?
  • what’s Confusing?
  • what Didn’t you believe?

These “ABCD” questions are basic, but they get to the meat of the good and the bad (and the in between) of what you’re producing.

(via)