Last night I upgraded to Developers Preview of OS X 10.9 Mavericks. Needless to say, Homebrew wasn’t functional anymore (unable to compile or link a library, all that jazz). Thankfully, it’s pretty easy to get it up and running again.
First, download and install Xcode 5 Preview.
Then open your console and execute the following command:
This will open a prompt to install CLI dev tools. Once it’s installed, your system is raring to brew once again.
Originally posted on Linux Tidbits:
Users who have been using Linux for awhile often learn that creating a basic script is a good way to run multiple, often-repeated commands. Adding a little color to scripts can additionally provide nice feedback. This can be done in a fairly straight-forward way by using the
A common way of doing this is to define the colors that
tput can produce by putting them at the beginning of the bash script:
Although I don’t deal with a lot of frontend development (I don’t really like it), I really dig SASS lately.
Totally saves the day on svn repos with big revision number
Originally posted on write-only by Gregg Lind:
It can be awfully tempting to make some changes to an existing open-source project . Some of that excitement diminishes when one realizes how long a git-svn clone will take on a large project repo, like Python. The gain git-svn gives you in terms of quick history lookup is taken as cost in the beginning.
Instead, we can do a “shallow-copy” to get the last few revisions. It seems that you need to use actual revisions numbers for the first argument to
-r, but I could be wrong. I tried using
$ git-svn clone http://svn.python.org/projects/python/trunk/ python-dev -r 65000:HEAD.