Portland, Oregon

Phone 828.549.8447
Email [email protected]

This is just a quick post for anybody who's been having the same ridiculous problem I've been experiencing. If you have sites on Tumblr, and you're using CURL (or any other method really, but this fix just applies to CURL) and getting blank responses, here's how to fix it.

It's a really stupid issue to have, but it's caused because sometimes Tumblr returns content, and sometimes Tumblr returns that a resource has moved. Unless you tell CURL to follow redirects, nothing is going to happen, except that you're going to get a blank page. To do it via PHP, set the following CURL options:

I recently moved my servers from Ubuntu 10.04 to Debian 6, and changed my entire application stack along with it. No more Apache or mod_php; for the moment, my whole stack is based off of Nginx, PHP-FPM, and Percona (a high-performance drop-in MySQL replacement.)

Install Nginx & PHP-FPM

I've been looking into this for a while, and since it wasn't straightforward to find at all, I figured I'd post this so that I can simplify life for anyone else looking for this information.

Essentially, I've been looking for a way to back up Address Book Server and iCal Server data to an external drive (a Drobo). The problem is, after hours of searching, I could not find where those services stored their data. In Snow Leopard Server 10.6, they were stored in /Library/AddressBookServer/ and /Library/CalendarServer/. Well, as of Lion, that's no longer true. Similar directories can be found under /Library/Server/Calendar and Contacts/, but upon further inspection, those too were mostly empty.