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
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
OS X Apps I use
All the OS X apps I use - for when I need to reinstall a new machine.
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
OS X Software Update from the Command Line
Software updates can be quite tedious - you have to click a lot of buttons, then get into the Apple Store etc. But you can avoid all that by running it from the command line.
OS X DNS lookups too slow for local hosts
OS can sometimes take forever to resolve hosts setup on my local machine. Here is how I solved it.
Directory listings in Apache 2.4
Yosemite updates Apache to 2.4. A couple of things stopped working from my previous installation, including autogenerated directory listings. Here's how I got them back.
Dealing with extended attributes on OS X
Extended attributes store extra information about files in OS X. They replaced resource forks. Sometimes those extra hidden files confuse peripherals (e.g. mp3 players) that were not setup to deal with them. Here are some terminal commands to handle them.
Making a simple voice recording on a Mac
To make a quick voice recording with OS X: open Quick Time Player, under the File menu there is a "New. Audio Recording" entry. It automatically saves .mov files in your Movies folder, which you can then open in Audacity or the editor of your choice.
A good place for scripts in OSX
Where to put unix based scripts on a Mac without them getting in the way? Simple: create a bin folder in your home directory, and add it to the path:
Joining PDF files in OS X from the command line
In OS X, PDF files can be concatenated manually using Preview. But if you are happy using Terminal there's an easier way, thanks to a Python script installed by default in /System/Library/Automator
Finding files inside an archive with Terminal
Looking for files inside an archive, without having to extract them first using Apple's Terminal.
Finding recently changed files with Terminal
Finding files that were changed in the last day, sorted by size, using Apple's Terminal