Posts

Blogs, tips, and bits of information.

1 September 2024
Schema-based multitenancy in NestJS with TypeORM
For a project I had to set up multi-tenancy in NestJS and TypeORM, which turned out to be quite an interesting challenge. In this post I'll describe which approach I went with, go through my findings, and give you a fully working setup which you can use and adapt for your own project!
19 August 2024
JWT decoding in your terminal
When working with production JWT tokens you can never be too careful, so I recreated the basic jwt.io functionality in a bash script.
6 February 2024
TypeScript type time: JSON paths and leaves
Need a type-safe way to access JSON paths or object leaves in TypeScript? Look no further!
25 November 2023
Binding functions to hotkeys in your ZSH terminal
Using hotkeys in your terminal is a great way to simplify your life, by getting quick access to anything you can program! In this post we'll go over how you can improve your ZSH configuration with your own, custom hotkeys.
5 July 2023
Quick local static code analysis with SonarQube
Proper static code analysis is super useful, but can be non-trivial to set up and integrate. Let's look at a simple way to do a one-off check with SonarQube in Docker.
15 May 2023
Scripting a Spelunky 2 Speedrun | Part 4: One Level, One Roadblock
It's been quite a while since the last post, and a lot has happened. Let's dive into how far the speedrun got!
16 November 2022
Setting up a Chromium kiosk on a Raspberry Pi
Setting up a proper kiosk mode with Chromium on a Pi can prove quite tricky. Here's how you do it!
3 May 2021
Scripting a Spelunky 2 Speedrun | Part 3: Do You Want to Build a Language?
With an input simulation proof of concept working, I needed to think about how I was going to use it. Do I create a simple library, or do I go the extra mile(s)?
25 April 2021
Ballmer's Peak: Week 4
The reviews are in! Let's have a look at what our friends and colleagues think of our blend: amazing or bathwater? And is it fit for purpose?
24 April 2021
Scripting a Spelunky 2 Speedrun | Part 2: I'm (Not) a Robot
The first step in any tool-assisted speedrun is simulating inputs. But how do you even do that outside of an emulator?
18 April 2021
Ballmer's Peak: Week 3
It seems like the odds have "turned" in our favour as we near the completion of our #4WeekProject! The whisky is done, labeled, and bottled.
15 April 2021
Scripting a Spelunky 2 Speedrun | Part 1: This Doesn't Exist?
When you look around on the internet, it looks like there's nothing that hasn't been done before. However, I managed to find one of those things, and it turned into quite the project.
10 April 2021
Ballmer's Peak: Week 2
This week: The label! We got together to design a label to suit our whisky. We aren't designers so battling the tooling to make it do what we want it to do was quite the challenge.
3 April 2021
Ballmer's Peak: Week 1
This week's plan was to blend and taste our whisky. Our goal was not to create the most amazing whisky you've ever tasted. There is no way two amateurs could compete with the world's master blenders.
27 March 2021
Ballmer's Peak
We are quite the whisky fans. We also tend to have a drink while working on our software development projects. As our first #4WeekProject, we decided to blend and bottle our own whisky and call it: Ballmer's Peak.
17 January 2021
Solving Websocket Communication
Websockets are a great tool for fast 2-way communication. However, they have some caveats when dealing with devices on a local network.