How to choose a hosting provider

May 15, 2012

Over the past few years I have had some experience of choosing hosting providers to run various websites and just thought I would share my advice for things to pick up on. This guide is talking about the smaller end of the scale; shared hosting, virtual private servers but I[...]

Island hopping in Thailand

February 21, 2012

The last week or so has been fantastic, beautiful weather, pretty islands, relaxing beaches and great diving. It has been quite hectic to get around, everything involves boat journeys but has been worth it as I have been to the few islands planned. So hectic that have needed about 6[...]

Sawat dii** from Thailand

February 11, 2012

** Meaning ‘Hello’   Unfortunately or fortunately from the Thais point of view that is as far as my Thai goes and luckily have not had to use it much. Thailand is, so far, very well covered for tourism and I am definately travelling along the tourist trail. This isnt[...]

Off to Thailand

February 3, 2012

In England we have been having quite a mild winter, up until the beginning of this week, 30 Janurary when the weather has got a lot colder, snow forcast; generally unpleasant! It just so happens that as the high temperature for today is only 2 degrees Celsius I am due[...]

Add proxy arp on Checkpoint SPLAT

January 26, 2012

When doing client side NAT’ing on Checkpoint boxes and using manual NAT creations, IPSO is probably the most straight forward: Assume you have the NAT rule in the policy Go to Voyager; add a proxy arp entry But on SPLAT I found I had to do the following; Assume you[...]

Integrate Rails app and PHP on Apache

January 5, 2012

Here is one method of how to integrate a Ruby on Rails application and a PHP application or even just static HTML using Apache webserver. One reason for doing this could be (in this website’s case) that your main website application is Rails but you want to use WordPress or[...]

Rails: Dynamic page titles

December 21, 2011

Here is how I have been creating dynamic page titles, page descriptions, etc (anything you want really) using Rails.   In app_root/app/helpers/application_helper.rb create the following method # Format and return a title on a per-page basis def display_title base_title = “mysite.com” if @title.nil? base_title else “#{@title} – #{base_title}” end end[...]

Website upgrade 2011

December 19, 2011

< 17 December 2011: This website, robertomurray.co.uk was PHP and running (slowly) on a shared hosting server. > 17 December 2011 The website is now on a new server and the site is mainly Ruby on Rails Switchover OK, here there are two major changes; 1) Migrating to new server[...]

30 days of gyming

December 4, 2011

Recently a relative bought a new Audi and I was treated to a 30 day guest membership at my local David Lloyd gym. In these 30 days I managed to go 26 times, an average of 6 times per week. Not bad going considering everything else going on; work, rest[...]

Postgresql: find next available IP addresses

November 5, 2011

Postgresql has the inet and cidr datatypes and some great functions for these types, very useful for storing and manipulating data for IP addresses and networks. As a basic example, say you were storing hostnames and IP addresses, basic example table below: id ip_address hostname 1 10.10.100.15 server01 If I[...]