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 Linuxtidbits:
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:
=1 = =1 =4 =7 = =* =*=*=?
When writing new scripts using templates with these variables already defined can quicken the creation process and help keep scripts organized (my Bash Templates).
If just needing to use tput colors for specific instances this script can display the
tput definitions and their corresponding possibilities:
View original 93 more words
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.
If you find this is *still* taking too long, try canceling, changing into the directory and issue a:
$ git svn fetch
Good luck all!
- Finally got my first one into python, #4568: remove limitation in varargs callback example.