Mac OS

Tips & Tricks around Apple Mac OS

Installing dnsmasq on Mac OS X for local development

To install dnsmasq, you need to have installed homebrew first. Have a look at this article if you haven't got brew yet. You can install dnsmasq like this: brew install dnsmasq Next up, copy the configuration files and start dnsmasq: cp $(brew list dnsmasq | grep /dnsmasq.conf.example$) /usr/local/etc/dnsmasq.conf sudo cp $(brew list dnsmasq | grep […]

Installing Homebrew on Mac OS X

Just type the following command on a command line: ruby -e "$(curl -fsSL" The output should be similar to this: ==> This script will install: /usr/local/bin/brew /usr/local/Library/… /usr/local/share/man/man1/brew.1 ==> The following directories will be made group writable: /usr/local/. /usr/local/bin /usr/local/include /usr/local/lib /usr/local/lib/pkgconfig /usr/local/share /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/doc ==> The following directories will have their group […]

Remove an App from Mac OS Launchpad

You may need to remove an application from your launchpad from time to time – an installation that did not work correctly or whatever. Just open a terminal and execute the following commands: sudo sqlite3 ~/Library/Application\ Support/Dock/*.db "DELETE from apps WHERE title='<appname>';" killall Dock Whereas you replace <appname> with the name of your application, for […]

Setting up a transparent proxy for VPN via SSH using sshuttle

I found this tool and it's quite useful if you need to run VPN via SSH on Linux or Mac OS. You can download the tool from here via git or as a zip file. git clone Then go to your sshuttle folder and start your proxy like this: ./sshuttle –dns -vvr <user>@<host> 0/0 <user> […]