Archives for November, 2009.

Creating you own internal DNS server

Recently we have been having problems with DNS not resolving with our companies broadband provider. I looked at some open source DNS services, the best one being OpenDNS, but despite them having a couple of boxes in Amsterdam the lookups are still somewhat slow.

So the solution? Create our own DNS server

This is how [...]

Moving your git repos and all branches to a new remote repository

Recently I have been moving a lot of our old repositories into our local gitosis from github.
There seems to be no quick an easy solution for moving all of the remote branches across too, so this is how I am currently doing this.
Below are the commands I have been using to do this:

Firstly go into [...]

How we used Amazon Cloudfront as a CDN with Rails assets

Amazon Cloudfront is a great way of serving your assets for your site from localised buckets.

Firstly you need to set up a new distribution from your amazon CloudFront console here.

Associate your distribution with a current bucket, or alternatively with a new bucket name, but if you do this you will need to create the bucket [...]

CSS3 Multi Columns

Wouldn’t it be nice to be able to use multi-column layouts in our sites, without resorting to using a silly amount of divs and javascript? Well, that’s what the Multi Column Module of the CSS3 spec aims to do. It has been in “Working Draft in the CSS Working Group for several years” and has [...]