Category Archives: Code

Code

Scalable backup solutions with Rackspace Cloud Files

It’s been a while since I’ve blogged about code as recently I’ve been learning the joys of running a business. However, I recently had to come up with a backup solution for all our code. This turned into quite a project and I’m really happy with the result! Background I don’t like doing backups but obviously you [...]
Posted in Code | Leave a comment

Pylons + FastCGI on Hostgator

This article can only be considered a work in progress; it took many tries to get it right and I don’t remember the exact steps. So I’ll explain the process as best possible, and please leave comments if I’m missing anything. My plan was to get a Pylons app running on a simple shared hosting account. [...]
Posted in Code | 2 Comments

Update your website via SMS

This is done with old technology, but it still has such a wow factor I want to write about it. You can easily update a website via SMS. The middleman is Twitter. Set up a Twitter account (make it private if you want, but better keep it open!) Set up your Twitter account to receive SMS text messages. [...]
Posted in Code | Leave a comment

CakePHP + Wordpress

So this is a very common issue. You’re building a site in CakePHP. Client wants a blog. Why code a blog from scratch when you can just use Wordpress? But then you have them play nice together within the same environment. There are already several articles online about how to accomplish this, but here’s my particular [...]
Posted in Code | Leave a comment

PHP GD Library on Snow Leopard Macports

I recently went through a hellish upgrade to Snow Leopard and had to reinstall all my macports. When I emerged all the graphic imaging functions in a PHP project had died… no warnings, no error messages. After experimenting a bit I realized that the standard GD library wasn’t installed. Apparently in Snow Leopard macports, GD library doesn’t [...]
Posted in Code | Tagged , , , | Leave a comment

Google Data API integration with CakePHP 1.2

I’ve been working on a social media mash-up which requires me to pull content out of Blogger and Youtube. Google obviously has a mighty API, and they’ve released an extensive client library which you can use to connect to their services. Alas the PHP client is designed for the Zend framework, whereas my project was [...]
Posted in Code | Leave a comment