Chezmoi, how I manage my dotfiles

Some time ago, I had to reinstall my Linux work environment. As usual, I started by configuring my tools: git neovim rclone restoring my SSH keys reconfiguring my .bashrc … After a few hours days, my environment was usable the way I like it. A few weeks passed, and I moved from one Raspberry Pi to another, from one machine to another, grumbling because my environment wasn’t necessarily present on those machines (rightly or wrongly). ...

April 6, 2025 · 3 min

asdf, a development environment management tool

At work, our dev team works with various technologies like NodeJS/Typescript, Java, Go… And from time to time, we need to revisit a project to make some changes. And often, it’s the same story: Oh yeah, but this project is legacy, it doesn’t compile with the current versions anymore. I either have to rewrite everything or reinstall an old version that’s no longer available on Debian… Sometimes we also hear: ...

April 3, 2025 · Last Modified: April 4, 2025 · 2 min

How to reduce wsl disk

As you use WSL, the VHDX disk image will grow. You need to compact it! 1. Cleanup Start by cleaning up the disk. Each user can choose their preferred method. 2. fstrim Once everything is clean, you can force the system to discard unused elements from the image. sudo fstrim -av 3. Installing wslcompact The wslcompact project is a PowerShell module that allows you to compact the disk efficiently. Set-ExecutionPolicy RemoteSigned -Scope CurrentUser iwr -useb https://raw.githubusercontent.com/okibcn/wslcompact/main/setup | iex Note: On the latest versions of WSL (2.5.4.0?), you may need to patch the file as shown in this commit. ...

April 2, 2025 · Last Modified: April 4, 2025 · 1 min