If you'd like to add text from one file to another (concatenate two text files) the run the following command: cat file1 | cat >> file2 This will output the…
Add text to another file / concatenate Ubuntu
Gigabyte SabrePro 15 Review
I've spent quite some time searching for the perfect combination of price, form factor and top class gaming performance in a laptop/notebook. I am very pleased to have come across…
Enable SSL/HTTPS for Tomcat
There are a number of guides online that explain how to setup LetsEncrypt for Tomcat, all of which I found quite involved. I setup LetsEncrypt with Tomcat a while ago,…
Remove trailing slash / from URL
To remove the trailing slash / from the URL in Apache, you can edit the .htaccess file in the root web directory and add the following snippet: RewriteCond %{REQUEST_FILENAME} !-d…
Moving WordPress to a new directory
If you've mistakenly installed WordPress in the wrong directory, moving it to the correct directory can sometimes be a bit of a pain if you miss a step. A commonly…
Install .NET Core on Ubuntu
Microsoft has really come to the party over the last couple of years with support for Linux, which is wonderful to see! To install .NET core on Ubuntu you can…
Ubuntu 17.10 hangs at boot after Nvidia installation – SOLVED
Hold shift after the PC manufacturer logo is displayed. This will load the GRUB menu. Select Ubuntu and press "e" Add the following to the linux line: nouveau.modeset=0 Remove the…
Edit PDF invoice WHMCS
WHMCS generated invoices are neat and professional, though sometimes it is useful to be able to add or edit information to/on these PDF invoices. The file that needs to be…
Install Gitlab with Let's Encrypt Ubuntu 16.04
Firstly, add the Gitlab repository: curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash Update your package list: sudo apt-get update Next, install Gitlab Community edition: sudo apt install gitlab-ce The order in…
Update Ghost blog
Assuming you installed Ghost using Ghost CLI, it is a straight forward process to update Ghost. Change directories to where Ghost is installed: cd /var/www/ghost Simply run the following to…
