OSX
Building the C2 Morse code trainer on OSX
I was trying to install Ward Cunningham and Jim Wilson's Morse code trainer on OS X and it looks like their .dmg file doesn't work on the new Intel machines. Here's what I did to get it to build.
Using Growl to tail a log file
Mikey_p from the Portland Drupal Group pointed me towards a blog post he'd done on using Growl to watch for PHP errors. Always looking to put my fingerprints on something I decided to do the same but using PHP rather than Python.
The short version is install growlnotify then run the following from the terminal:
tail -n 0 -f ~/Sites/nm/logs/access_log | php -r 'while ($m = fgets(STDIN)) shell_exec("growlnotify -p 0 AlertTitle -m ". escapeshellarg($m));'Getting PHP + GD working on Leopard (aka recompiling everything)
Here's my writeup on how to recompile PHP for Leopard to get GD working. The basic plan is recompile Apache and PHP from source. It may totally bork your system, I'm just writing it down so the next time I need to do this I can remember what I did. I wish I could give credit to all the places I stole bits from but I didn't do a good job of keeping notes early on.
A big update
It's been a while since I posted anything here. I'm a fan of bulleted lists so I'll just resort to one of those.
- Went to New York City. Stayed from Christmas to the 3rd and had a nice New Year's. Etta and I had some pretty major drama leading to...
- An un-engagement and break-up. No need to worry about planning a wedding now. Still need to call all the relatives... That said we're still talking, maybe we'll end up out on a date this weekend. What happens with Shasta and the house are open questions.
- Got a MacBook. The trusty old ThinkPad died. I'd sworn I wouldn't buy a Mac until they had a trackpad that you could right click. Someone had convinced me that the new Macs had two separate buttons in their trackpad but you and to enable the right clicking. Turns out they were full of shit and I'm left ctrl+clicking but it's still the best laptop I've ever owned. If you like UNIX then MacPorts.org is your new best friend.
- Booked a ticket to DruaplCon Boston. I used some frequent flyer miles. I don't have a place to stay or conference reservation but that kind of thing works itself out. When I went to the BeOS Developers Convention in Palo Alto back in '99 I ran out of money for a hotel room and slept in a park in the rain. I'm hoping to crash on someone's hotel room floor this time.






