TIL: making the network ports blink
With the following ethtool command you can make an individual network port blink.
Can come in handy with the ever changing interface naming conventions of newer Linux distributions.
ethtool -p <interfacename>
With the following ethtool command you can make an individual network port blink.
Can come in handy with the ever changing interface naming conventions of newer Linux distributions.
ethtool -p <interfacename>
How to Create Wavy Shapes & Patterns in CSS
(via)
Go the right way: the Zen of Go coding
- Write packages, not programs
- Test everything
- Write code for reading
- Be safe by default
- Wrap errors, don’t flatten
- Avoid mutable global state
- Use (structured) concurrency sparingly
- Decouple code from environment
- Design for errors
- Log only actionable information
The security engineer in me especially likes the pointer to the os.Root API to avoid path traversal attacks 🔐
Recently I needed to extend/increase a LVM partition to give it more space:
The work moved. It didn't disappear. Whether your organization thrives or drowns depends on whether you've moved with it upstream into design, specifications, guardrails, and the messy human work of reducing ambiguity, or whether you're still standing where the code used to be, wondering why everything feels faster and worse at the same time.
An introduction to the Human web, and how one can be a part of it.
(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)