You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.
♪ Tindersticks · Raindrops (John Peel 1993)
Flat is a good thing but at some point I wish there could be a way to avoid unecessary duplication of core frameworks. I mean, below you’ll find that I need 4 versions of the Qt goodies that I don’t even use on my system.
This all results in several Gig of wasted space, IMO. But this probaby is the way to go, as far as containerization is concerned.
» du -sh /var/lib/flatpak
11G /var/lib/flatpak
Someone’s Been Messing With My Subnormals!: one can only appreciate the obstinacy and quality of the data munging using Python and shell scripting!
I wanted to get rid of raw <img>
tags and replace then with <figure>
, available as a shortcode in Hugo. It turned out I had a lot of replacements to perform:
» rg -nc "\!\[.*\]\(" content/post | cut -d: -f2 | paste -sd+ | bc
688
Here’s a classical one-liner using Sed:
sed "s/^\!\[.*\](\(.*\))/{{< figure src=\"\1\" >}}/ content/post/*.md
I took the opportunity to add a small colored insert to each figure using the following CSS code:
figure {
box-shadow: 0 0 0 .5em #f3f3ed;
margin: 2em 4em;
}
TIL that \%V
can be used to replace only in a visual selection (very handy for rectangular selection with <C-V>
). #vim
And so, one year later, we got a few dozens of additional functions and a brand new name.
♪ The Doors · The Crystal Ship
Creating and managing a package seemed much harder than I expected. — An unbiased evaluation of environment management and packaging tools
… to put it very mildly… This, however, does constitue a very good overview of what’s available in the Python ecocystem as of this writing. #python
I try to use all the features of fzf-lua, and it’s quite easy to reproduce a Git time machine with the bcommit
command. If you’re not, you may want to give a shot to git-time-lapse: It does the job pretty well with zero dependencies (e.g. Telescope, plenary), and it can be installed as a simple optional plugin. #vim
From time to time, I make a few infidelities with cmus and use gapless (formerly g4music). It’s a great piece of software which I initially compiled from scratch until I decided to rely on the Flathub version. I once generate m3u
playlists for relevant folders in my global library and they come up nicely in the playlist view. See my review here.