Making Bun work with Turborepo
In case you run into issues using turborepo and bun, this a quick workaround.
In case you run into issues using turborepo and bun, this a quick workaround.
The correct type is React.ReactNode.
Dokku uses NGINX by default, which supports rate limiting out-of-the box. This is how to customize the default nginx.conf.
I've been using SQLite in several production projects for six months, and I've encountered some surprising aspects."
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.
Wagtail briefly mentions responsive images in their docs using the <picture> tag. This is the approach I am using:
Wagtail supports multiple sites with different domains using site specific root pages and settings. Snippets exist globally and this is how to make them site specific.
Performance90 is a service for PageSpeed monitoring. It notifies the page owner once the PageSpeed drops below 90 via email.
The tech stack is Remix with Kysely on SQLite with Litestream and fly.io.
Edit (2023-02-06): The problem persisted and I found the real fix.
I have an “original” Ergodox EZ but the configurator defaulted to “glow”.
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.
Half a year ago, I replaced my Thinkpad T14 with a 14" MacBook Pro M1. I was a happy Linux and Thinkpad user for over 7 years.
This is how it went.
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.
Fly.io is not advertising itself as a Django-first hosting platform.
However, it provides all the building blocks for a sweet Django setup.
The release of version 2.0.0 of schablone, a cookiecutter starter template, makes everything even simpler.
First things first, this is what it looks like:
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.
Since Django 4 form rendering with Tailwind can be used to render beautiful forms without using Node or any other packages like django-crispy-forms.
All you need is the Tailwind CLI binary and django-widget-tweaks.
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.
This year I started consolidating all the major modes by using lsp-mode and apheleia for all the programming languages I use.
The switch from OCaml’s merlin-mode was surprisingly painless.
The Django shell python manage.py 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.
This is the script I am using to deploy a dokkuzied app to Dokku.
Let’s assume we want to deploy an app called browsergame. You can us the following script to do the deployment for you.