Best Practices for Claude Code
Best Practices for Claude Code contains a lot of high-value tips when using agentic coding (most of them apply not only to Claude Code).
Very helpful and reflects my experience using agentic coding tools.
(via)
Best Practices for Claude Code contains a lot of high-value tips when using agentic coding (most of them apply not only to Claude Code).
Very helpful and reflects my experience using agentic coding tools.
(via)
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
I made some config changes to the .screenrc and wanted to directly apply them to the running Screen without restarting.
Turns out one can trigger a reload of the config inside a running Screen session:
CTRL+a :source ~/.screenrc
This Github project from Ankur Gupta allows you to "generate beautiful, minimalist map posters for any city in the world".
You can install the Python scripts on your computer or use this website.
(via)
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 %
Simulating Crop Marks is a fun CSS experiment.
It uses html::before/after body::before/after together with some background: linear-gradient magic to draw crop marks around a website.
(via)
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.
Sad and devastated. Wish strength to all.
(via)