Notes on Life, ‘Puters and Hawaii

Installing GIT on Mac OS X 10.5 Leopard

Update: Tim Harper points out in the comments there is now a fairly up to date OS X installer at google code if you would rather not deal with building it yourself. Easy! (You’ll still want to do the configuration part at the end of this article, though, using the scripts starting at [...]

Use Svnsync to Backup Remote Repositories

Use svnsync to make copies of your repository. You can set up a cron job to do the last part ’svnsync sync’ to keep it up to date each day too.

export LOCAL=~/some/new/svnrepo
svnadmin create $LOCAL
echo ‘#!/bin/sh’ > $LOCAL/hooks/pre-revprop-change
chmod +x $LOCAL/hooks/pre-revprop-change
svnsync init file://$LOCAL svn://some/remote/repo
svnsync sync file://$LOCAL

Using Ruby to Control Lego Mindstorms NXT

Playing with my son on Lego NXT requires me to get Ruby in the mix just for fun. Here is the install notes that I used to get everything going. Once you get the communication working, you may want to install the ruby gem ’statemachine’ and learn that too. It’s useful for [...]

Compiling Erlang on Mac OS X Leopard from Scratch

You need XCode and libgd installed and then the following script should work pasted into a terminal window:

cd /tmp
curl http://www.erlang.org/download/otp_src_R12B-2.tar.gz | tar xz
cd otp_src_R12B-2
./configure –enable-smp-support –enable-hipe –enable-darwin-universal
# If you see an ODBC warning don’t sweat it
make
sudo make install
cd ..

Apple’s Mail.app with Google Mail (GMail)

I have been using Apple’s default Mail.app client as a front-end to my new domain’s email provider, “The Goog” apps. I find it to be really a good client and I have no complaints. One thing to remember is to, after you have the mail account configured as IMAP, go in and high-light [...]

Shout It From the Roof-Tops! “I Want Sandy!”

You have to try out these two new services. It will alter your life - we’ll maybe - it is altering mine.
I Want Sandy! a free personal assistant to help you track to-dos, remind you of your calendar at the right times, remind other people about things, keep track of people, etc. It [...]

Compiling Ruby 1.8.6, Rails 2.0 and Rmagick on Mac OS X Leopord

Ruby and Rails comes on Leopard. Yahoo! That’s great. Oh wait, it’s a slightly out of date Ruby 1.8.6 and Rails 1.2.3. Hmm It’s owned by root too and you might fsck it up walking around as sudo all the time. So… Here you go. Make sure you have XCode 3.0 installed and then open [...]

Amazon SDB Released

Amazon announced SDB late last week. I have been using it under NDA for a bit and have written a Ruby API for it. I have opened up a RubyForge project to deposit the code and will be doing so in the upcoming days.
There has been a lot of chatter on the internets [...]

Mounting Remote Servers as a Drive on OS X with Mac FUSE and SSHFS

A handy tip for all you Mac OS X users out there: Have servers to deal with over SSH? You can download and install MacFUSE and SSHFS. Once you have installed both, you can fire up the SSHFS app. Â SSHFS can mount a remote server as a local drive on your [...]

Rails 2.0 Released

Rails 2.0 was released friday and it’s already been patched to 2.0.1 over the weekend. I’ve been on edge (pun intended!) so long it will be nice to freeze to a release for a while.