How to improve Matomo to bypass ad blockers

πŸ’‘ What am I trying to do? I want to improve the tracking rate of my self-hosted Matomo install by (yes) circumventing low-level browser or network ad blockers. ⚠️ Disclaimer I do not need or want any visitor’s personal information, I do not intend to do fingerprinting. I just need to know what posts are […]

Using AI to review your code

Did you know you can leverage all this large language models to help you open better pull requests? If you’re the only developer in your team or want to double check your code before letting your colleagues review it, this is a great use of AI. How to use AI to review your PR My […]

How to include markdown files in Hugo

I had to dig through many blog posts and forums to find a straightforward answer that would work with the latest Hugo (at this time 0.149.0). Shortcode The best way, recommended by Hugo maintainer, is to create a shortcode. Create the shortcode Content of the shortcode include.html should simply have this: How to use the […]

How to turn off thumbnail generation in WordPress

Why turn off thumbnails? I’m using AVIF files generated locally on my Mac before uploading to my blog, the images are compressed and already have my desired size. Out of the box WordPress attempts to create a smaller version (even when the Settings > Media are all set to 0 size). I suspect this trick […]

Server upgrade for less money

I have my own virtual server (VPS) with netcup (not sponsored). I have been enjoying the rather low price for about two years. A few weeks ago I went to their price page and noticed my plan no longer existed. In its place a cheaper and more SSD capacity plan was available. 😑 Not letting […]

Daily workout with GitHub Actions

For a long time I’ve tried to code my own β€œworkout” solutions to track my sessions, be it creating a timer app, listing workouts, or just tracking my daily exercise. The other day I had an epiphany and thought I could use GitHub Issues in combination with GitHub Actions to create a daily routine using […]

How to overwrite HTML with Cypress

Here’s a quick snippet to allow you change the HTML of a page before Cypress fires your tests. In an ideal world you would want to have different server side rendered HTML pages and you would just call page-1.html and page-2.html but in my case the component I’m trying to test inherits a configuration from […]

How to schedule posts with Mastodon

The other day I wanted to post several links and posts on Mastodon. I didn’t want to flood my followers’ timeline with my face several times in a row. So I thought, I’d love to have a way to schedule posts on Mastodon πŸ€” So far there doesn’t seem to be a way to do […]

Moving S3 from Backblaze B2 to Scaleway

After starting to host my own private Mastodon instance it became clear that disk usage was going to be problem. I eventually moved all the assets to an S3 compatible Object Storage. Now I’m moving away from Backblaze B2 as a S3 provider to Scaleway. I wanted to highlight why and how I did it, […]

Creating a static Mastodon user’s archive

The current (4.0.2) Mastodon profile page is bad. Bad because it requires JavaScript to load. If you want to go back in time and look at your own posts it’s not convenient, it’s just slow. I find myself wanting to find old posts to re-share or revisit often. So I decided to first build a […]

« Previous