Writing on software development, design, company building, and SEO.

All of my researches, thoughts, and other forms of expressions on programming, company building, leadership, product design and more collected in one place.

Dark theme switcher

How I build a dark mode switcher that respects prefers-color-scheme but still lets users pick a different theme on a specific website.

Get more details in PHPUnit

There are situations when more details are necessary to keep the code nice and tidy. Here are a few tips

How to use PHP FPM exporter

Step-by-step guide to installing and configuring PHP-FPM Exporter, so Prometheus can collect PHP-FPM metrics and help you debug php-fpm issues.

Some design tools I use often

My categorised list of design tools I use often: colour contrast checkers, palette generators, icon packs, inspiration sites and UI kits.

Eloquent relationship cheat sheet

Sometimes it gets forgotten how to define Eloquent relationship types, so here is a cheat sheet for a fast reference.