Work

Sublime Text 3 : install notes

Get the location of the latest build from http://www.sublimetext.com/3, download it and install it (this is on Ubuntu): wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3047_i386.deb sudo dpkg -i sublime-text_build-3047_i386.deb

Serving a website from Amazon S3

Amazon S3 can be used to serve static content, with all the advantages of scaling and redundancy that you get from Amazon. There are comprehensive guides to setting up a site in S3 – this is a shortened version to highlight a couple of things.

Running SauceLabs Selenium test suite locally with PHPUnit

SauceLabs provide a great hosted Selenium service for cross-browser testing in the cloud, which allows you to run a Selenium test suite against multiple browsers using the SauceLabs API and SauceConnect. They also provide integration with PHPUnit, so that you can plug your SauceLabs Selenium tests directly into your PHPUnit test suite. Sometimes, though, you …

Running SauceLabs Selenium test suite locally with PHPUnit Read More »

Upgrading PEAR if Guzzle install fails

I had a problem with the PEAR installer with the Guzzle package (a generally excellent PHP HTTP framework). A channel discover would give the following error: root@ip-10-56-47-23:~# pear channel-discover guzzlephp.org/pear Discovering channel guzzlephp.org/pear over http:// failed with message: channel-add: Cannot open “http://guzzlephp.org/pear/channel.xml” (File http://guzzlephp.org:80/pear/channel.xml not valid (received: HTTP/1.1 404 Not Found )) Trying to discover …

Upgrading PEAR if Guzzle install fails Read More »