A blog by Michał “Butla” Bultrowicz¶
It’s yet another Python / development / technical blog.
There are many like it, but this one’s mine!
Here is a list of most recent posts:
2021-12-30 - Make and entr for code validation during editing
For a while now, I’ve been wondering how to combine entr (which automatically runs commands on file changes) with the way I setup project validation (both for CI/CD and for local developer usage) with Makefiles. The best thing I got so far is the
validate_continouslytarget in my Makefile.
2021-12-27 - Simple encrypted Linux folders with TAR and GPG
What’s the simplest way of encrypting a folder in Linux? Combining
gpg, it seems.
I finally integrated isort into my toolbox. I think that the job of changing code files belongs to the editor (or an IDE), so I made Vim run
isortautomatically, while the import order enforcement in a project is done via Makefile (which can be run the same way by developers and the CI/CD pipeline).
2021-09-23 - Setting up and syncing config on two laptops
I’ve created a script that should 1 set up a fresh Manjaro with all the software and configuration that I want in a workstation. It can also update the setup on being rerun. Now I have two laptops that behave and look the same 2, and it’s easy for me to maintain that state. Oh I wanted that for a long time :)
I’ve put a tweaked version of my previous post (Moving a Linux installation to a new drive and encrypting it) up on Manjaro forums as a tutorial. You can check it out here.