Mac Tips & Tricks

[2018-11-05] Fix – Homebrew (Brew) Can’t Find Apple Command Line Tools

Installation of homebrew package manager fails with error:

==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
xcode-select: error: invalid developer directory '/Library/Developer/CommandLineTools'
Failed during: /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools

Download and install Apple Command Line Tools from here:
will require Apple ID (free registration).
WINE requires XQuartz in order to run under MacOS X, install it with

brew cask install xquartz

You may also want to install winetricks.

brew install winetricks


[2010-12-01] Fixing Annoying Apple Mail & To Do Glitch

Apple Mail have very handy feature – you can add (link) any e-mail message to the to do list. This is very handy. For example, whenever customer request arrives, one can add it to the to do list of tasks to be done. Unfortunately, at some update point this feature become broken – you can add any e-mail to the to do list, but it will be displayed empty no matter what. At the time I’m writing this (01 Dec 2010, hello Apple !) this annoying bug have not been fixed yet.  I have searched through forums and found this fix which worked perfectly on 2 Macs (the culprit is actually Safari 5.x update). You need to restore these folders/files from Safari 4.x (just copy them from another Mac with older software):



And don’t update to Safari 5.x again!


[2009-10-21] Mounting Remote Directory via SSH (+MacFusion Snow Leopard Fix)

There are a lot of reasons why you may need to mount remote UNIX directory (for example /etc of your Linux server for convenient editing with TextWrangler) You need to install 2 packages – MacFUSE system extension and MacFusion application. The second is just a graphical front-end for easy access to sshfs. In MacFuion you need to define remote host, login, password, and directory to mount. Then click “Mount” button and remote volume will appear on your desktop just like another disk or server. After upgrading to MacOSX 10.6 Snow Leopard I found that MacFusion 2.0 does not work anymore, and no fixes were available at that time. After digging net, I found a remedy. First of all, upgrade to latest MacFUSE (new version was beta but worked fine), and then in Finder right-click on the MacFusion application and choose “Show Package Content”. Navigate to “” and delete file.

I have a number of interesting topics in the old version of this site. Old tips and tricks will not be moved here since I would like to keep new stuff separately from the old one.

Leave a Reply