Notes #11

Flappy Dird: Flappy Bird implemented in MacOS Finder

5 simple tips to making responsive layouts the easy way

Modern CSS Resets

A (more) Modern CSS Reset

CSS Tools: Reset CSS

My Custom CSS Reset

Being Picky about a CSS Reset for Fun & Pleasure

Why you should never use px to set font-size in CSS

Let’s be very clear: it absolutely does matter what unit you use in your CSS. And you should avoid px when setting font-size wherever possible.

My Useful Shell Functions

I have been working extensively in Linux recently and decided to write a post about my useful shell functions, which have significantly enhanced my workflow productivity. In this post, I will share my go-to shell functions that have improved the efficiency of my tasks.

Choose Boring Technology

Let’s say every company gets about three innovation tokens. You can spend these however you want, but the supply is fixed for a long while. You might get a few more after you achieve a certain level of stability and maturity, but the general tendency is to overestimate the contents of your wallet. Clearly this model is approximate, but I think it helps.

Creating a read-only Postgres user

CREATE USER readuser WITH PASSWORD 'strong-passphrase';
GRANT USAGE ON SCHEMA public TO readuser;

The Absolute Minimum Every Software Developer Must Know About Unicode in 2023 (Still No Excuses!)

This is very good! Must read.

Making a Website is for Everyone

Over time, the direction of web technology always trends towards complexity. Simplicity is achieved as a concerted, mindful fight against this.

The web’s low barrier to entry led me to a career that has been a boon for my life. I hope it can do the same for others.

The closest() method of the Element interface traverses the element and its parents (heading toward the document root) until it finds a node that matches the specified CSS selector.

Better HTTP server routing in Go 1.22

The new multiplexer in 1.22 is going to significantly bridge the gap from 3rd party packages by providing advanced matching.

banging errors in go

A cool experiment on how to handle go errors more elegantly.

Giving a Shit as a Service

In some ways, that’s the fundamental value proposition of a small boutique, whether it be a furniture shop or a software studio. Giving a shit as a service. Sure, you can always get a commodity good from off the shelf – when you’re selling soybean oil by the 100-ton lot, nobody wants to have a conversation with you about the subtle flavour profiles of different bean oils. But sometimes, you want to buy from someone that’s obsessed about the final product.

What UNIX Cost Us

To unlike everything on your Twitter/X account you could navigate to your profile and click on the “Likes” tab and run the following snippet of code in your browser’s developer tools console. It should do the trick.

DO AT YOUR OWN RISK! You will be rate limited ☠️

(function del() {
    document.querySelectorAll("[data-testid='unlike']").forEach(elem =>;
    setTimeout(() => {
        window.scrollTo(0, document.body.scrollHeight);
    }, 1000);