Stories, software and strategies to help nonprofits do the social web
Update: Aperture 3 now supports the Lumix LX3, G1 and GH1 raw formats. However, there are some problems with DNG support for these cameras. The trade-offs in this post are still valid, but before you...
August, 9 2009 • 4 Comments • 0 Faves
FriendFeed provides a super API for getting access to posts and doing things like creating likes or comments. Those that don't require a login, search or display of posts, can be done in JavaScript. In my previous post I explained why I moved to using FriendFeed to handle my blog comments -- how hosting my blog on GitHub works for my git-based workflow. Here's how display the appropriate FriendFeed posts, using nothing but JavaScript. Here's what this code does: It shows all FriendFeed items that link...
May, 25 2009 • 0 Comments • 0 Faves
Git is a great (and fashionable) source control management program. GitHub takes the pain out of hosting Git for a group — for both open-source and private projects. How to best use them together? The Way to Happiness has these 4 steps: Fork the project on GitHub, and clone your version. This gives you your own copy to work with. Make a branch (or frequent branches) for what you’re working on. Some folks systematize this with issue names and bug numbers — like “RedoPostFormatting-234” — which is probably a good...
November, 29 2008 • 0 Comments • 0 Faves
The folks at GitHub have taken the pain out of centralized Git hosting. Even better, they’ve built in tools that make distributed version control easy to use for group projects. But how to set up your repositories and branches to avoid merge pain? Here are two good options. Making Merge Manageable Setting up your Git repositories for open source projects at github has great tips for getting started — and for structuring your branches for group work. There are a couple of take-aways here: Encourage contributors...
October, 29 2008 • 0 Comments • 0 Faves
Both Apache 2.2 and PHP 5 come with every installation of Mac OS X 10.5 Leopard. MySQL does not. There are a couple of tricks for installing and/or turning them on —and thereby attaining Development Happiness. Here’s how we configure our development machines at the studio, where our PHP work is primarily Drupaland we use several virtual hosts. Install MySQL Not hard, but a little long for this post. Take a look at our instructions for installing MySQL on Leopard. Configure Apache for PHP and Virtual Hosts Though...
April, 4 2008 • 0 Comments • 0 Faves
MySQL now provides compiled binaries for Mac OSX 10.5 Leopard. But the startup applet doesn’t work properly yet on Leopard. So here’s how to install MySQL on Leopard and start it using launchd — the standard Leopard way. These instructions should work for both Tiger (10.4) and Leopard (10.5). Download MySQL for your OS and architecture (PowerPC or Intel; 10.4 Tiger or 10.5 Leopard) Install MySQL from the package in the dmg — something like mysql-5.0.51a-osx10.5-x86_64.pkg DO NOT install the startup item package...
April, 4 2008 • 0 Comments • 0 Faves
So you want to use Git for distributed version control. For Mac OS X 10.5 there are a couple of options for installing Git. Fink packages an almost up-to-date version, named simply git MacPorts packages an up-to-date version asgit-core Either of these methods, though, installs lots of dependencies. Which requires lots of compile time. And lots of disk space — especially for the MacPorts version. So I prefer to compile Git myself — and use Fink for dependencies. Here’s how I do it. Install Fink by following Fink’s...
April, 4 2008 • 0 Comments • 0 Faves
So you want to use Git the latest hotness in distributed version control. It builds easily using the instructions in the INSTALL file. But on Centos 5 (or Red Hat Enterprise Linux 5) there are some dependencies to install first: sudo apt-get install gettext-devel expat-devel curl-devel zlib-devel openssl-devel From here the instructions in Git’s INSTALL file work just fine: wget http://kernel.org/pub/software/scm/git/git-1.5.4.5.tar.gz tar zxvf git-1.5.4.5.tar.gz cd git-1.5.4.5 make prefix=/usr/local all...
April, 3 2008 • 0 Comments • 0 Faves
JungleDisk is another great entrant in the online backup business. Unlike Mozy, our favorite for Macs and PCs, JungleDisk also runs on Linux. And, since version 1.30a, it ships a command-line version. Which means you can give your Linux servers reliable online backup — stored on Amazon’s S3. These instructions cover version 1.50 — which has a different config file and a number of settings than previous versions. If you’re still using an older version, see the instructions for version 1.30 or 1.40 that we published...
August, 14 2007 • 0 Comments • 0 Faves