Heitor's log

Heitor's log

Heitor

I write about programming, Linux, technology, and some random things.

Latest Posts

Calculating checksum of files accross nested directories, and verifying them, without any custom scripts.
`#` starts a comment in Bash, but not always. A small quirk with a clear rule.
Ever wondered why a package ended up in your Nix store? Here's how nix why-depends can help you find out.
Trying to win the lottery with pure Linux RNG magic.
There are plenty of CLI tools to calculate the checksum of files. But, which one is the fastest?
How to use fwupd to update device's firmware on Linux.
How to use the `timeout` command to terminate processes after a specified time and how to combine it with `until` for smarter shell scripting.
Boosting productivity with Git aliases: what they are, their benefits over shell aliases, setup, and examples.
How to push and pull Docker/Podman images to a remote server, without using an Image Registry.
Creating temporary files and directories in Python, using the standard library module `tempfile`.
Need to work with tar files in Python? Here's how to create and extract compressed tarballs effortlessly.
How to generate random strings in Bash.
How to setup Mainsail and webcam support on Creality Ender 3 V3 KE printer.
TIL: looping over hexadecimal numbers in Bash just takes one line.
Listing PCI devices by manufacturer and/or device type/class.
Search Random