If you receive either of the following errors when creating a WHMCS package for a client: Sorry, that username is reserved or is a reserved username on this system Then…
WHMCS reserved username error
Remove .html from URL
Should you want to remove .html from a URL you can paste the following in your .htaccess file in the root www/public_html directory: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{HTTP_HOST}…
WHMCS Call to a member function getResponseFormat() on null Error – Solved
When you're accepting an order for a domain or trying to send it to the registrar you might encounter this error: Call to a member function getResponseFormat() on null Error…
Prompt Users For Input In A Command Line Script
Say you have a little CLI tool, but you want to be able to prompt a user for additional data after the script has started, rather than passing it in…
Change username Ubuntu 16.04
To change the username in Ubuntu it is strongly advised that you are not logged in with the username you're trying to change. As such we created temporary user and…
Error when creating encrypted disk Ubuntu 16.04
In Ubuntu 16.04 you might receive the following error when creating an encrypted volume: error creating luks device error spawning command-line cryptsetup luksformat To resolve this issue, you simply need…
Stop and remove all docker containers
Docker containers need to be stopped prior to being removed. As such the following commands should be run sequentially: docker stop $(docker ps -a -q) docker rm $(docker ps -a…
Start all docker containers with one command
To start all docker containers you can run the following command: docker restart $(docker ps -a -q)
How To Install Django and Set Up a Development Environment on Ubuntu 16.04
Django is a free and open-source web framework written in Python that adheres to the model template view (MTV) software architectural pattern. The MTV pattern is Django’s take on the…
Fail2ban – prevent brute force and DDOS
Fail2ban is an awesome piece of software which protects against brute force and DDOS attacks. To install fail2ban: sudo apt-get install fail2ban The next step is to create a local…









