Posts
-
Fixing autoformatting Django templates in Visual Studio Co
Prettier autoformatting screws up Django html templates in Visual Studio Code. For example, it puts tags on the same line when they shouldn't be. The fix is pretty simple and involves a couple of different formatting extension.
-
How I install python on OS X in 2022
There are many different ways of doing it; my favourite involves using pyenv
-
Setting up and managing Thunderbird for OS X
I have recently switched to Thunderbird from Gyazmail, the obscure mail program I have been using for years. Here are some setup tips that worked for me
-
Using the 'Say' command to make OS X talk, and fixing it when it gets stuck
One can easily make OS X read out text from the CLI with the say command. But what to do when it gets stuck and stops working?
-
Setting up a Logitech Vertical MX mouse with a Mac
I got myself one of these ergonomic mice, connected it to my Mac and configured the extra buttons. I like it
-
Setting CSS values dynamically in Svelte
If you are used to React's Styled Components, assigning CSS values dynamically in Svelte can be baffling at first.
-
A countdown clock using requestAnimationFrame, a state machine, and vanilla JS
I wanted to play with state machines and requestAnimationFrame in vanilla JS, so I came up with the idea of a simple countdown clock.
-
Removing album ratings from Apple Music App
Apple Music / iTunes "helpfully" adds ratings to songs for you, based on the ratings of the other songs in the album. This messes some of my smart playlists up. Only Applescript will get rid of those ratings
-
Backing up a hard disk to another in OS X
Time Machine does its own backup magic, but sometimes you just simply want two identical copies of the same hard disk. For that rsync is the way to go