come to the light side.

This blog had dark mode as the default color scheme, but I know how strong the opinions of developers are about dark and light mode. That’s why I wanted to implement a dark/light mode switch. Setting up dark mode in Tailwind The design of this blog was done with Tailwind. By default, this blog only has a dark mode. Luckily, adding a toggle is extremely easy with Tailwind. The first thing I did, was configuring Tailwind to use the class strategy instead of the media strategy....

April 30, 2022 · 7 min

screw you and your fancy codebase.

A client I work for is organizing a conference. This conference primarily targets business customers, and my client wanted a solution for sending invoices based on a form on the website. Existing solutions did not meet the requirements, so they needed a custom solution. This is where Moneybird comes in We decided to work with Moneybird. That’s a Dutch accounting software provider. They are hugely popular in the Netherlands and Belgium and have an excellent API....

April 28, 2022 · 5 min

exporting my laravel blog to static pages.

After developing this blog, I didn’t feel like setting up a server for this. I am not using a database because I want to keep the architecture simple. Therefore, I decided to export my website to static HTML and CSS pages. After all: after writing a post, there is nothing dynamic about the website. Generating static pages with PHP Generating a static page from a PHP script is very simple. You call your script from the CLI and store everything in an ....

April 27, 2022 · 3 min

hundreds of thousands of links will stop working in 2 days.

In 2011, GitHub introduced git.io as a way to shorten long URLs. It was a simple service that allowed you to create a short URL for any GitHub URL. Because the results were so short, it quickly became a popular way to share GitHub links in places where you couldn’t always copy and paste the URL, like in research papers. Over the years, the service has become more popular. Currently, there are hundreds of thousands of short URLs created by git....

April 27, 2022 · 2 min

how I built this blog without a single database.

This is not the first time I have started a blog. Nor the second time. Probably not the tenth time either. And it won’t be the last time either. I don’t know why I start a blog so often. I guess I’m too perfectionist for it. I have used several blogging platforms, such as WordPress and Hashnode, but this time I created my own blogging platform. A platform is probably too big a word....

April 26, 2022 · 7 min