Blog
FeedHere is the place I ramble. Always about technology but scarcely the same topic from one post to another.
I mostly write about programming and associated tools. Whether it’s about personal or professional challenges, I try to describe the issue, list possible solutions and dive into the chose one.
I also share some tutos for my fellow coworkers when the same question comes back to often. Mostly in the French side of the blog though.
Enjoy!
Repurpose a first generation Raspberry Pi
I stumbled upon my first-generation Raspberry Pi yesterday. And told myself I should do something with it.
Also, I spend most of my days listening to music. But I don’t like the idea of paying for whatever fancy streaming service. So, yeah, here is how to make your custom web-radio with on old computer and a couple of commands.
MacOS windows and workspace managers
I think I landed my next job. I’m pretty enthusiast about this future experience, but this is not the topic of this post.
Who says new gig also says new machine. I’ve been working on Arch Linux for almost a decade. But I’ll have to switch to macOS now.
And macOS UI sucks so bad I had to find a solution before the onboarding week. Here list a list of tricks I found to get the most of it using the keyboard.
NVim and Pandoc settings
For quite some time now, I only used markdown for either note-taking or making
revealjs
(Fr) presentations. And this blog of course…Anyway, while looking for my next employer, I recently had to produce a document and I wanted to use my usual tools:
nvim
to writemarkdown
and compile it usingpandoc
. The thing is, mynvim
configuration was kind of hard-coded forrevealjs
.It was time for me to address this issue and have it work for every type of
pandoc
use case.Yew on Gitlab pages
My latest side-project requires a web front-end.
I’ve heard there are many frameworks in many languages for this. And to be honest, this is an understatement.
I first went for
Svelte
because a friend recommended this to me. I then had some issues with it an triedSolid
which was also a no-go in the end. Both areJavascript
framework and thenode_module
hell is actually a thing.I may have mentioned it before on this site but: I enjoy
Rust
🦀 quite a lot. So I searched for a solution on this side of the force and found out thatYew
has matured quite a lot since I first saw it.This is the technical solution I went with. And along the way, someone on Discord asked for a cheap way to host such an application. Here is my take at this question: can’t make cheaper than free thanks to
Gitlab
pages.NGinx rewrite rules
I use
nginx
as a reverse-proxy for a side-project. It’s job is to sit between the user and the various back-end services. It’ll then serve the correct otherwise-inaccessible service depending on the URI or the port.One of the hidden services is a
minio
storage. I use it to host multiple static websites with dynamic names. So I need to craft the correctnginx
configuration to serve the right files depending on the requested URL.There is a great deal of
nginx
documentation and many stack overflow pages regarding its configuration. But they all consider the domain-name to be some sort or logical root. This is not the case in this article and a simple trick allowed me to keep the configuration generic in term of bucket’s name and navigation’s depth.Scroll without wheel: a QMK trick
Having few keys on a keyboard feels nice. Having even fewer keys feels better.
But, what about reducing the number of buttons on a mouse? Say, zero?
There is a neat QMK trick allowing for the use of the Ploopy nano. Let’s see how to handle moving, scrolling, and clicking without a single button thanks to it.