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…
Edit PDF invoice WHMCS
Load website header/menu dynamically on multiple pages
So you've got a website consisting of multiple pages and you're tired of changing the links and information in the header/menu on each and every page. A neat solution is…
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…
Export/Dump Docker MongoDB database
There are tons of articles explaining how to export/dump a Mongo database from Docker, all of which we seemed to struggle with. The following script allows you to dump your…
Add text to another file / concatenate Ubuntu
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…
Import MongoDB database Docker
Assuming you followed this article when exporting/dumping your Mongo database from Docker, you can create restore.sh with the below snippet. Prior to running the script, ensure that you have unzipped…
Change timezone Ubuntu terminal
Change the timezone on your machine or docker container with the following: sudo dpkg-reconfigure tzdata If there tzdata package doesn't exist, you can install it with the following commands: sudo…
Download specific docker image/version for Mongo
It is always good practice to run the latest version of any software you may be using, but from time to time you might require a specific version. As an…
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…
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…









