Fixing Tunnelblick disconnecting in OS X 10.10 Yosemite

If you have just upgraded to Yosemite, you might have run into issues with Tunnelblick. First, it will connect properly, then disconnect immediately after. To fix this, open the Tunnelblick connection settings, click “Advanced settings” and uncheck “Flush DNS cache after connecting or disconnecting”.

Solving AirPort Extreme FTP issues

Recently, I’ve been having tons of problems when using FTP at home. I have a Macbook Pro, an Airport Extreme and use Cyberduck to access my remote FTP servers. It appears that the latest firmware (7.6.x) for the Airport Extreme has issues with FTP connections. In my case, the router would randomly crash while using […]

Can’t output OS X audio to AirPlay? Here’s the fix.

Once in a while, I won’t be able to output my Macbook’s audio to my Apple TV. The solution is rather simple: you need to kill coreaudiod. You can achieve this from Activity Monitor or enter the following command in Terminal: sudo kill `ps -ax | grep ‘coreaudiod’ | grep ‘sbin’ |awk ‘{print $1}’`

Add some color to the OSX Terminal

If you find the OS X Terminal’s lack of color hard on the eyes, here’s how to set the colors. To get this color scheme, open ~/.bash_profile and add this: export CLICOLOR=1 export LSCOLORS=GxFxCxDxBxegedabagaced export PS1=”\[\033[36m\]\u\[\033[m\]\[\033[32m\]:\[\033[33;1m\]\W\[\033[m\]\$ ” alias ls=’ls -GFh’ The first line enables colors, the second sets the colors for ls and the last […]

OS X Terminal: Open the current folder in Finder

If you use the OS X terminal, you are probably familiar with the open command. Essentially, it opens the given file with the default application, or with the application specified with the -a parameter. For example, open hello.txt will open hello.txt using TextEdit or your default text editor. You can also use this command to […]

How to disable the Chrome notification icon in OS X

In a recent Chrome update, a new bell icon popped up in the OS X notification bar. You can disable this icon in 3 easy steps: Open chrome://flags Disable “Enable Rich Notifications” Restart Chrome It’s gone! May 2014 update: It’s now called “Notification Center behavior”, and you must set it to “Never show” There is […]

XAMPP for OS X: How to access MySQL from the command line

If you want to access XAMPP’s MySQL shell on Mac OS X, use the following command: /Applications/xampp/xamppfiles/bin/mysql -u root -p This gave me a few headaches in the past, so I’ll leave this here for others to find.