xcode-select active developer directory error

This problem happens when xcode-select developer directory was pointing to /Library/Developer/CommandLineTools when a full regular Xcode was required (happens when CommandLineTools are installed after Xcode) Solution: Install Xcode (get it from https://appstore.com/mac/apple/xcode) if you don’t have it yet. Accept the Terms and Conditions. Ensure Xcode app is in the /Applications directory (NOT /Users/{user}/Applications). Point xcode-select … Read more

What is a faster alternative to Python’s http.server (or SimpleHTTPServer)?

http-server for node.js is very convenient, and is a lot faster than Python’s SimpleHTTPServer. This is primarily because it uses asynchronous IO for concurrent handling of requests, instead of serialising requests. Installation Install node.js if you haven’t already. Then use the node package manager (npm) to install the package, using the -g option to install … Read more

How to install Xcode Command Line Tools

Xcode 5.1 and OSX 10.9. (also works with Xcode 5.1.1 + OSX 10.10) xcode-select –install worked with version 2333, failed with version 2003. So, try xcode-select –install and if that does not work download as described below. In early February 2014 xcode-select –install has been reporting that “Can’t install the software because it is not … Read more