Andy Gock

Just some bloke in Australia makin' stuff.

Latest Articles

Netlify vs Vultr VPS hosting speed from Australia

28 April, 2020 - 2 min read

I've been comparing some load speeds from a variety of different web hosting companies. I started out by trying out the free tier of Netlify to compare how the performance is compared with my usual Vultr VPS service. After seeing that the Netlify load times was almost 10x longer than from the VPS… Read more

Convert multiple images to searchable PDF (OCR) with free command line tools

26 April, 2020 - 2 min read

In this example, we'll show how to convert multiple PNG images to a multi page searchable PDF file. We'll use the following command line tools: ImageMagick for converting PNGs into multi page TIFF and PDF files. Tesseract OCR, an open source OCR engine. PDFtk Free for overlay joining of PDF files… Read more

Start a simple React JS app with Parcel bundler

11 August, 2019 - 3 min read

Here's how to get started with a simple hello world React Javascript app using Parcel. We're going to be using a global install of here. Install Parcel Install parcel globally The advantage if you install it globally is that is only 4MB and 100 or so files. on the other hand will download about… Read more

Loading icon fonts locally when using Ant Design React framework (instead of AliCDN)

05 August, 2018 - 1 min read

Don’t use Alibaba’s CDN! By default, when using the Ant Design ReactJS UI framework, icon fonts are loaded from China’s Alibaba Cloud CDN. This may be undesirable behaviour. You might prefer to have a web site that does not call home when you load a page, or leak IP addresses to a third party. You… Read more

Set up a signage or kiosk machine with Debian 9 Linux

26 June, 2018 - 2 min read

Installation Install Debian with . Use MBR and create a single root partition filling the entire disk. Choose minimal with no graphical desktop environment. Only choose standard system utilities. Create the default root user and a separate user with username . Install the following packages as root… Read more

Moving Virtual Box VDI files

16 April, 2017 - 2 min read

Note This works with encrypted VDI disks. The virtual machine must be shut down before proceeding. Backup first! Backup all the and files. Ths is very important! If you're using encryption, these keys are inside the vbox file so make sure you back this up somewhere safe. From now on we don't touch… Read more

Virtual Box Tips

16 April, 2017 - 2 min read

Backing up VirtualBox virtual machine Just make a copy of the and files. Reducing disk space of dynamic disks This doesn't work for encrypted disks. On client virtual machine: For Windows Defragment disk, e.g Zero free space, e.g (sdelete is part of SysInternals) For Linux (mounted) until there… Read more

Set up Let’s Encrypt with nginx web server with webroot plugin

26 January, 2017 - 4 min read

Introduction This is one (of many) methods to speed up creating free SSL certificates with Let's Encrypt. It configures the NGINX web server to serve for each domain. This path is used by the webroot plugin. We’ll need to make a directory to servie the challenge files from, we’ll call this from… Read more

How to remove old Linux kernel images from /boot

17 March, 2016 - 1 min read

For RedHat based OS e.g RHEL or CentOS Install Check current running kernel version Remove old kernels, but leave the 2 latest ones. Edit and set: This will delete old kernels automatically but leave the latest two next time you perform a For Debian based OS e.g Ubuntu If that doesn’t work, you… Read more

View all articles

© Andy Gock 2009−2020