Install ~150 new Ubuntu Terminal Colour Schemes

This is a quick guide based on this amazing project: https://github.com/Mayccoll/Gogh To Download and install all available Terminal Colour Schemes from the project (~150 at time of writing, simply run the below command. This will run the script and enter “ALL” as the choice of Themes to be installed (NOTE: This will take some time!) echo Read more about Install ~150 new Ubuntu Terminal Colour Schemes[…]

Investigating Dropbox Container Crash – ascii encoding error

In the event of the below status from Dropbox – Follow the below steps. [email protected]:~# docker exec -it dropbox dropbox status Traceback (most recent call last): File “/usr/bin/dropbox-cli”, line 1535, in <module> ret = main(sys.argv) File “/usr/bin/dropbox-cli”, line 1524, in main result = commands[argv[i]](argv[i+1:]) File “/usr/bin/dropbox-cli”, line 719, in newmeth return meth(*n, **kw) File “/usr/bin/dropbox-cli”, Read more about Investigating Dropbox Container Crash – ascii encoding error[…]

Deleting an image from the Docker Registry

There is no inbuilt method within the docker provided docker registry so follow the below process to delete images from the registry: Project repository: https://github.com/burnettk/delete-docker-registry-image Downloading Script: curl https://raw.githubusercontent.com/burnettk/delete-docker-registry-image/master/delete_docker_registry_image.py | sudo tee /scripts/delete-docker-image.py >/dev/null sudo chmod a+x /scripts/delete-docker-image.py Setting up the Script: In order to setup the script, you will need to export the environment variable Read more about Deleting an image from the Docker Registry[…]

Setting Openssh to Always forward private ssh-key on Ubuntu

Beware! Use this with Caution – The below change will forward your private ssh-key to all servers that you connect to via SSH. Firstly, create the following file with the below contents if it does not already exist on your system: nano ~/.ssh/config Host * ForwardAgent yes IdentityFile ~/.ssh/id_rsa Set the correct permissions on the Read more about Setting Openssh to Always forward private ssh-key on Ubuntu[…]

Protecting Haproxy with Hashed password protection for backend sites

You may have seen this guide for adding basic-auth password protection for a backend site within haproxy with non-hashed passwords. Obviously this is not ideal so, if you have slightly more time available you should ideally hash these passwords. Before starting, you should ensure you are able to use the mkpasswd tool by installing the Read more about Protecting Haproxy with Hashed password protection for backend sites[…]

Protecting a Haproxy backend with basic-auth

For security, this should only be set up as below on an SSL secured site! This feature is useful for being able to restrict access to certain backends within your HAProxy configuration to add an additional layer of authentication (Eg for a development website) Within your Haproxy config (I typically place this at the top Read more about Protecting a Haproxy backend with basic-auth[…]