A quick tutorial on installing PHP from source using Homebrew. I needed to recompile PHP and could not get things to work, until Ben Bleikamp pointed me towards Homebrew, and this tutorial worked great. One thing to note: the tutorial is a bit out of date, as it uses newer versions of the software, so make sure to check the versions in the commands. For me, I had to change this line:
sudo ln -s /usr/local/Cellar/php52/5.2.12/libexec/apache2/libphp5.so /usr/libexec/apache2/libphp5.2.so
I updated it to 5.2.13:
sudo ln -s /usr/local/Cellar/php52/5.2.13/libexec/apache2/libphp5.so /usr/libexec/apache2/libphp5.2.so
source line to your
~/.bash_profile to enable tab autocompletion of branch names, remotes, etc.
Dan Benjamin walks through how to install Ruby, RubyGems, and Rails on Snow Leopard. Also be sure to check out his other Snow Leopard guides for Mercurial, Git, and MySQL.
MacWorld rounds up Snow Leopard’s new features. “Smart Eject” sounds like it’s going to be super useful:
When you first attempt to eject a disk, the eject manager actually sends out a signal to its own subsystems and other programs, asking them to relinquish their hold on the volume if that’s possible. If that fails because a program really is using the drive, Snow Leopard will bring up a window telling you which program doesn’t want to let you eject the disk. You can then switch to that program, quit out of it, and eject the disk.
A Mac OS X tool for mounting your Dreamhost account on your computer, created for DreamHost’s API Contest (winners were announced today). I haven’t had a chance to give this a whirl yet, but it sounds pretty promising.
One of the biggest changes is that Snow Leopard now counts data sizes in base 10. In this example a 320GB hard drive shows as 320GB as opposed to 297GB
This is going to be weird–if you take a file from another OS and put it in Snow Leopard, its size will increase (even though it still takes up the same physical space). Not sure how I feel about this.
Great post by John Gruber on how effective applications can be when they don’t require the author to ever “save” anything. For instance, he refers to iMovie, where the user never has to deal with saving a file somewhere–the application just figures it behind the scenes. Also check out Chris Clark’s response “By Proxy, By Proxy, By Proxy”, where he talks about how download windows could be helped by the very same idea.
In July, Jade Ohlhauser compared Versions and Cornerstone, two OS X SVN clients, and he declared Versions the winner. Now, he revisited the two, and this time Cornerstone takes the prize. I’ve used Versions a bit myself, and while it’s pretty impressive, I still much prefer using TextMate’s built in SVN support and the command line. However, after reading this review, I’ll definitely have to try Cornerstone out.