Using loadCSS with WordPress

I have been using loadCSS from the Filament Group recently, it’s a great tool to asynchronously load your CSS files in-order to increase your scores for Google’s PageSpeed tests. The main issue I faced is using loadCSS with WordPress. WordPress has many plugins to install and each of these plugins usually integrate with the hook […]

Read More

Catching up on Google Speed and Header videos for the web

First post of 2019! During the holidays I have been catching up on a backlog of video talks which I have been wanting to watch. I have embedded the videos below:   HTTP Headers – The State of the Web This is a really good video, discussing some of the most common HTTP headers, how […]

Read More

PHP contact form boilerplate

Every now and again, there is a need for a simple HTML site which does not need the bloat of a CMS. However, these sites usually require a contact form, so to prevent the need of creating a new PHP form each time and re-downloading the PHPMailer library, etc. I have uploaded an PHP contact […]

Read More

LXD Container backup to FTP server script

As mentioned in my previous post, I would post code for a script which will backup an LXD container as a snapshot, then transfer to an FTP server. The script to do this is below, it has been tested on Ubuntu 16.04 LTS. Ensure you have these packages installed: netcat exim4 lftp curl Save this […]

Read More

Web related talks from Google I/O 2018

Google I/O 2018 is now over, as with last year I have added links to a bunch of talks I have found interesting. Most of them are Web related, with a couple of Android and Google Assitant talks.   Google I/O 2018 main keynotes Keynote Developer Keynote   Web Building a seamless web Build a […]

Read More

Creating an LXD container on Ubuntu 16.04

I have started getting-to-grips with LXD on Ubuntu – It’s pretty great! LXD makes it possible to separate your applications into containers, and the containers run close to bare metal. I’m running LXD on my webserver (the one hosting what you’re viewing this website on), with four containers: HAProxy: Used for sending port 80 and […]

Read More

Quick and easy FTP server install on a Raspberry Pi

For this setup, i’m using Ubuntu 16.04 running on a Raspberry Pi 3. The instructions should work correctly in Debian and Raspbian too – in fact, you will probably have luck using these instructions on any Linux operating system, Raspberry Pi or not. Note: FTP is not a secure protocol, I would recommend using SFTP […]

Read More

VestaCP API firewall suspend and unsuspend bash script

VestaCP offers an API which allows the firewall rules to be changed, but I could only find examples which use PHP and cURL and I required a script which would work as a Bash script. I’ve created a script below which you’re free to use. Ensure your host URL, admin username and password are correct […]

Read More