Jason Magee

Guernsey based independent software consultant, founder of data.gg and aspiring game dev at Granite Games Limited.

Interested in local and remote work.


Simple Security on a Linux VPS

I maintain a number of Linux VPS (5 at the time of writing) and wanted to cover some basic security measures. When you sign up for a Linux VPS you tend to be given a root login to set it up. You should never leave it with root access as it’s a security risk. The minimum you want to do is create a new login and prevent root from logging on via SSH. Another good precaution is to change the default SSH port. For maximum security you want to use SSH keys for access which I’ll cover in another post.

17 Feb 2015


Gamely Digest Follow Up

This is a follow up post to this post in which I promised to post my solution to handling thumbnails when different reviewers submit different aspect ratio images, e.g…

15 Feb 2015


Must have Ruby on Rails Gems

These are some of my most regularly used Ruby Gems when I’m working with Rails.

08 Feb 2015


Gamely Digest image processing

One of the my targets for Gamely Digest is that it is kept simple and pain-free to maintain. For the first few reviews, I had to manually create thumbnails, rename and convert 50 images in GIMP. This drove me to write some bash scripts to automate the process.

30 Jan 2015


Getting data out of image PDFs without losing your mind

Recently I’ve been gathering data from gov.gg census reports as far back as 1971 for data.gg. The earlier census reports are scanned and the later ones have been created electronically but don’t copy and paste correctly. By the end of manually copying the data from the first table I knew I’d have to find a better way. After a bit of searching I found Tesseract, an OCR (Optical Character Recognition) tool. OCR tools take an image and attempt to convert any text it finds in the image into usable text. Google has even had a hand in Tesseract.

30 Jan 2015