Operator Lookup — Search JavaScript Operators

Handy tool by Josh W. Comeau to look up JavaScript operators. JavaScript Operator Lookup → 🤩 If you’ve been following bram.us for a while you might already know that my favourite operators are the optional chaining operator (.?) and the null coalescing operator (??). Definitely check them out as they will change the way you …

Convert Guzzle requests to curl commands with namshi/cuzzle

The other day the namshi/cuzzle PHP pacakge came in really handy. This library let’s you dump a Guzzle request to a cURL command for debug and log purposes This way I could test some things on the CLI, and easily share these tests with all my colleagues, including those without PHP installed. use Namshi\Cuzzle\Formatter\CurlFormatter; use …

Viscosity – OpenVPN Client for Mac and Windows

Speaking of VPN connections: to easily manage and connect to (Open)VPN connections I use Viscosity. A first class OpenVPN client for Mac and Windows that lets you secure your network with ease & style. You can either manually configure your connections, or simply drop your .ovpn config files onto it. The app sits neatly out …

Show the routing tables on Mac / Linux

In a project we at vBridge are working on, we rely on a Virtual Private Network to link our connected devices, certain servers, and our webapp together. I had an issue where a specific server in the 10.55/24 range was nog being reachable. While debugging the issue — going deeper into the rabbit hole called …

How to embed AV1 Image File Format (AVIF) images

New in Chromium 85 is support for the AV1 Image File Format (AVIF), which is pretty impressive: AVIF offers significant file size reduction for images compared with JPEG or WebP; ~50% savings compared to JPEG, and ~20% savings compared to WebP. 🦊 Using Firefox and can’t wait to use AVIF images? Set the image.avif.enabled flag …

The difference between aria-label and aria-labelledby

Léonie Watson (@LeonieWatson) explains the difference between aria-label and aria-labelledby: The aria-label and aria-labelledby attributes are both used to give an element it’s accessible name. The difference between aria-label and aria-labelledby is where they get that piece of text, and the clue is in the name. The aria-label attribute gives an element its label; an …