Blog posts ✏️️️

Nginx dokku

Rate limiting with Dokku

Dokku uses NGINX by default, which supports rate limiting out-of-the box. This is how to customize the default nginx.conf.


Playing Stardew Valley Co-op Without Internet

When using your iPhone's Personal Hotspot, Stardew still connects to the master server.

Use this trick to use your Personal Hotspot as a local only LAN hub to play games like Stardew Valley without internet connection.


Plausible proxy for using NGINX

NGINX is a very efficient forward proxy and the ideal tool for this job.

The goal is to set up a proxy in front of Plausible that consumes very little memory.

typescript web ocaml

Error handling for web developers

Error handling is a broad topic. How to do it right is not always obvious. The unsatisfying answer in general is “it depends”.

Let’s have a look at a specific example using TypeScript in the context of web development.

dokku linux
linux dokku

Running multiple services on Dokku

Dokku makes it very easy to deploy and run simpler web apps.

Recently, I had to deploy a slightly more complex web app with multiple non-web worker services talking to each other. It’s surprisingly simple to get make this work.

next remix
remix react

Migrating from Next.js to Remix

I recently migrated a Next.js project to Remix in order to improve performance and maintainability.

These are 8 reasons why you should and should not use Remix.


How to auto-reload the Django shell

The Django shell python shell is a very powerful tool that increases developer productivity if used correctly.

With a few lines of configuration, you don’t have to leave the shell anymore to apply code changes.