Getting a DigitalOcean Droplet ready for Laravel

When I am out and about, I tend to fire up a DigitalOcean droplet to do all my work on because of dodgy public WIFI - but I always need to play around and configure them manually. Here are my steps I take along with a quick and easy script to automate this!

A new domain and a new, NUXT powered blog

I was very lucky to get the domain a few months ago so I decided I should do something good with it - so welcome to my new, NUXT powered blog. I'll have a write up on how I made this in the next few days!

Testing in Laravel - running code before testing

Running some code before I run a batch of tests was something that I thought was quite common, until I realised I hadn't really done it before. After spending the morning trying to get it working, I have managed to find a solution, which involves some funny qwirks!

PHP 7.0 to PHP 7.2 - How to upgrade your server

The newest version of Laravel now needs PHP 7.2, which unfortuately is not what we get when we use a one-click LAMP droplet from the Digitalocean service. But luckily, its super easy to upgrade your server to this version.

How to upgrade from PHP 7.0 to PHP 7.1

I use DigitalOcean as the host for my servers due to the ease of getting a servers up and running and the great prices they offer. For even more ease of use, they also offer One-Click Apps which I use to get a LAMP server on Ubuntu 16.04 without worrying about installation and configuration of all the software needed. The only issue I have at the moment (not due to DigitalOcean!) is that Ubuntu 16.04 only has access to PHP 7.0 in default apt-get repos.

Stress testing - Headless Chrome is the future!

Recently, I've been wondering how developers stress test web systems after needing to stress test a system myself. It wasn't simple, and I've ended up rolling my own using the wonderful, new, headless Chrome!

Serverless Websites

I've been interested in serverless web systems ever since I was asked by a client to setup a store on the popular p2p marketplace called OpenBazaar. The idea fascinated me - instead of connecting to normal servers, you connect to peers - like Torrents - and download the websites from them. The only issue for me with this system was that you had to download software to do it. This got me thinking - can you do the same sort of things with normal websites, without downloading new software?

QuizSMS - A Hack for a Conference

During Hackference we ran a short (it was due to be longer, but due to other issues, it was only an hour long) quiz, which enabled anybody to SMS a number with an answer to a question, to enter to try and win a prize.