Flush DNS on macOS

For some reason there is not a command that you could run to flush the local DNS cache on macOS. However there is a simple workaround to get clear the cache by killing the DNSresponder service 🙄 ….. but I always forget what the exact command is. sudo killall -HUP Read more…

macOS Sierra – Invalid active developer path

After upgrading to macOS Sierra I suddenly couldn’t use git. A simple git clone [repo] would give me an nice error like: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun It appears that I need to reinstall xcode, so execute; xcode-select –install