Hugely honoured to have attended the opening gala of the BFI London Film Festival on Wednesday 8th October 2014. The opening film? The Imitation Game, starring Benedict Cumberbatch as Alan Turing. Without Turing of course, I would probably be in …

The Imitation Game Read more »

I was trying to get Kubernetes running on an etcd/fleetd CoreOS cluster under Vagrant on my Mac, but Vagrant seems to love handing out the same IP address to NAT adapters, causing Flannel issues. Given that nobody will actually be …

Etcd and fleetd clustering on Google Compute Engine Read more »

Tagged with: , , , , ,

Fancy playing with CoreOS and on a Mac? It is possible # Clone CoreOS’s Vagrant repository from https://github.com/coreos/coreos-vagrant git clone [email protected]:coreos/coreos-vagrant.git cd coreos-vagrant   # Clear out any pre-existing cluster vagrant destroy -f   # Ensure the latest vagrant images …

CoreOS cluster on a Mac via Vagrant Read more »

Tagged with: , , , , ,

Quick into to Docker’s automagic container linking. If you’re running on a single host and need containers to talk to each other, then this is worth a look.

Tagged with: , ,

If you’re using self-signed HTTPS certificates and find your Selenium + GhostDriver (PhantomJS) scripts failing with a blank HTML page, you might need to tell PhantomJS to ignore SSL errors:- DesiredCapabilities dCaps = new DesiredCapabilities(); dCaps.setJavascriptEnabled(true); dCaps.setCapability(PhantomJSDriverService.PHANTOMJS_CLI_ARGS, new String[]{"–web-security=no", "–ignore-ssl-errors=yes"}); …

Selenium, GhostDriver / PhantomJS and self-signed certificates Read more »

Tagged with: , , , , ,

So, you have an Ajax app and want some way to perform HTML validation. How about using Selenium (to ensure your Ajax app is rendered) and W3.org’s validator?

Tagged with: , ,

If you’re planning on using BackWPUp to backup to Amazon’s S3 storage service, here’s an IAM policy which has worked for me.

Tagged with: , , , ,

If you’re upgrading from Docker v1 on a Mac, there’s now a formal Docker installer. But if you’ve previously used Brew like me, I would ensure you do:- boot2docker stop boot2docker delete brew unlink docker brew unlink boot2docker boot2docker stop …

Docker v1.1.2 and a presentation Read more »

Tagged with: , ,

A quick example of creating a DropWizard service to post to Twitter. You’ll need to register a new app with Twitter, and note down the API keys so it works with your account (instructions provided if you’ve never done this).

Tagged with: , ,

Given Docker is now 1.0, and I was using 0.11 (which has a vulnerability which allows programs to break out from their Docker container), it’s time to upgrade my version running on MacOS. To upgrade the virtual machine:- boot2docker stop …

Update Docker on MacOS Read more »

Tagged with: , ,