Sunday, 8. February 2026 Week 6

TIL: copying files to Dom0 in Qubes OS

In some rare cases you might need to copy a file from a VM in Qubes OS to Dom0.
This can be done with the following command in a Dom0 console:

qvm-run --pass-io my-vm 'cat /path/to/file/in/my-vm/file.doc' > /path/fo/file/in/dom0/file.doc
Friday, 6. February 2026 Week 6
Thursday, 5. February 2026 Week 6
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