tag: OS X

6 min read
There are many different ways of doing it; my favourite involves using pyenv
4 min read
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
2 min read
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?
2 min read
I got myself one of these ergonomic mice, connected it to my Mac and configured the extra buttons. I like it
2 min read
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
9 min read
All the OS X apps I use - for when I need to reinstall a new machine.
4 min read
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
1 min read
If you try to use Google Chrome on a small window on a laptop, perhaps because you are comparing two web pages side by side, swiping left or right doesn't move the page around, but it jumps to the previous or next page. Here's how to prevent that on OS X.
1 min read
You know the story. You try to do npm install hipster-package on OS X and you get a whole load of errors; the easy way out is to just use sudo npm install. Everyone, however, keep saying how that is bad idea. But how do you make npm work without sudo? It's quite simple actually
2 min read
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.
1 min read
OS can sometimes take forever to resolve hosts setup on my local machine. Here is how I solved it.
2 min read
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.
3 min read
Sometimes you need to install an older version of a package with Homebrew. Here's how I installed version 1.7.10 of Subversion
5 min read
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.
0 min read
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.
0 min read
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:
export PATH=~/bin:$PATH
3 min read
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
2 min read
Looking for files inside an archive, without having to extract them first using Apple's Terminal.
2 min read
Finding files that were changed in the last day, sorted by size, using Apple's Terminal
7 min read
Rar is a popular archive format on the web. When I need to unarchive several rar files at once, I use RarLab's command line tool. Here's how