My name is Stefan Ashwell and when I'm not coding personal projects or painting miniatures, I'm a Software Engineer at Holmes Media in Market Harborough.
This blog is a place for me to write about things that require that little bit extra to solve. We all have gaps in our knowledge and every now and then I need to reach out on search engines or blogs to find an answer. Often, these answers come from multiple sources. This blog serves as a personal resource, but if it's helpful for me I'm sure it'll help others too!
When moving a website to a new server, this script comes in handy allowing you to transfer the files directly from one server to the other. This means you don’t have to download to your desktop or re-upload etc. Additionally, the data centres you host with will most likely have a better internet connection than […]
Create an archive of a directory The above command will create an archive of a directory and save it in the location specified. The commands are: c – Creates a new .tar archive file. v – Verbosely show the .tar file progress. f – File name type of the archive file. z – Compress the […]
This is a quick guide for installing Plesk onto a Digital Ocean Ubuntu 14.04 droplet. This is done on a completely blank droplet straight after it’s creation. Install wget Firstly, we need to make sure wget is installed. Run the following: Plesk installation Next we download the Plesk installer with the following command: Then run it: Press enter […]
Laravel’s routing features give you a huge amount of control over your application’s URL structure. At first glance however, one question jumped out at me. Is there a way to dynamically handle base URLs while still defining others as you need to? What is Dynamic Routing? A lot of the applications I build are content […]