Posted: 2012-01-31
Drush segmentation fault

Have been seeing segmentation faults coming from "drush cron" runs recently. Seems that the issue is related to a conflict between the curl and pgsql php components. On debian - the php cli config…

Posted: 2012-01-03
Finding the current system JAVA_HOME on mac osx 10.5+

I always forget where this file is located - so just as a reminder ;) To find the current JAVA_HOME for the current user (set by java preferences) run: Details from http://developer.apple.com/library…

Posted: 2011-10-11
Postgres monitoring with munin 1.4 and multiple databases

In munin 1.4 the number of plugins for postgres has increased. They are all based on the same perl module - Munin::Plugin::Pgsql Many of them allow for suffixing the database name to the symlink in…

Posted: 2011-10-02
Splitting MKV files on chapter marks

Update - 2014-04-16 As pointed out in the comments below - mkvmerge --split now has a chapters option I have no idea how long that option has been there - but it certainly makes life a lot easier…

Posted: 2011-09-08
JavaZone for iPhone/iPad - some stats

Just been looking at the usage of the iPhone/iPad app for this year's JavaZone for the actual conference days. Yesterday (day 1) we had 820 users Today (day 2) we had 716 Over the two days - the app…

Posted: 2011-09-03
Update OpenDS 2.2.0 to OpenDJ 2.4.3

Finally got around to upgrading my OpenDS 2.2.0 to OpenDJ 2.4.3. Clean upgrade - just followed the OpenDJ wiki . Only change I had to make was from to Rebuilding the dn2id index only left the sync…

Posted: 2011-08-16
Running rvm ruby 1.9.2 with rvm packages on OSX Lion - failing to make due to readline

Getting rvm rubies to compile with the rvm packages isn't turning out that easy. First off - you need to get XCode for Lion installed from the App Store (even if you upgraded from Snow Leopard - Lion…

Posted: 2011-08-15
Git attributes and diffing binary files

Came across this on Pro Git 7.2 Customizing Git Git Attributes You can use git attributes to allow for customized diff of binary files. My current additions to my global git config are Then in…

Posted: 2011-08-13
Google IMAP giving incorrect password when password is correct in Mac OSX Mail.app

Since installing Lion and running two machines in parallel - Lion and Snow Leopard I was getting errors connecting to gmail/google apps IMAP - it kept throwing an incorrect password error. Finally…

Posted: 2011-08-10
E-mail validation and Blizzard beta profiles - SystemCheck does not like a plus sign in your e-mail address

I've been annoyed about this for a long time. Forms that simply reject e-mail addresses with a + in them (perfectly valid according to the standards/RFC's - see RFC 2822 3.2.4 Atom - definition of…

Posted: 2011-05-27
Store iMovie events on a network drive/NAS

I'd found a lot of info on the net about using symlinks to allow iMovie to see network disks, but this always seemed like too much of an effort. So this blog post was a real nice find. Short form…

Posted: 2011-05-13
Syncing secondary google apps calendars to iPhone

Update See CalDAV/CardDAV for info on switching to a CalDAV/CardDAV setup. Original Post Setting up calendars to sync from google apps to iOS turned out to be harder than I expected. I had already…

Posted: 2011-04-10
PDFKit on heroku on rails 3 - downloadable PDFs and avoiding Backlog too deep

Backlog too deep errors running PDFKit on heroku Running PDFKit on heroku kept giving Backlog too deep errors in the logs. This error occurs when there are not enough dynos (think threads) available…

Posted: 2011-04-02
bash helper function for rvm gemsets

By convention I use an rvm gemset per project - named after the directory that the project lives in. For example src/rails/foo would have gemset foo Since I switch a lot between machines - I always…

Posted: 2011-03-23
Mac homebrew and homebrew-alt

Update 2012-08-23 Thanks to a comment from Ryan (see comments below) I'm now aware that homebrew itself has a homebrew-dupes repo. https://github.com/Homebrew/homebrew-dupes From the README: Just brew…

Posted: 2011-03-16
A + in an e-mail is valid. Can't we stop using validators that don't follow the standard?

This is something that has long irritated. Websites that use form validation or similar that rejects e-mail with a + sign in the left part. Background Why would you want to? Well - quite a lot of e…

Posted: 2011-03-08
Scroll wheel in debian guest after updating virtualbox from 3.x to 4.x

After update from virtualbox 3.x to 4.x the scroll wheel of my mouse stopped working - just behaved as a three button mouse. Newer versions of debian no longer have an xorg.conf file - since it's not…

Posted: 2010-11-28
Prevent iPhoto '11 from asking for your e-mail password

iPhoto '11 from iLife '11 has a new set of e-mail templates for sending photos directly from the application. However - each time it prompts for your e-mail password and doesn't seem to have a…

Posted: 2010-11-03
Munin - node with no services

Note to self - when munin shows no services for a node yet all testing (telnet to 4949 from the munin server to the node) etc show OK - check you've spelt the nodename correctly and use the host_name…

Posted: 2010-10-31
Adding hosts to /etc/hosts on Leopard/Snow Leopard

Adding hosts to /etc/hosts on Leopard/Snow Leopard is a little simpler than earlier versions (see node:168 ) Edit /private/etc/hosts Run dscacheutil -flushcache Since /etc is symlinked from /private…