Installing Ubiquiti's Unifi controller on Ubuntu is fairly straight forward. The first step is to install the Unifi controller with the following commands: deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti sudo apt-key adv…
Install Unifi controller on Ubuntu
External hard drive format for Windows and Mac
A common problem encountered is the ability to read and write to a hard drive on both Windows and Mac operating systems. External hard drive on used on Windows machines…
Access Docker container volume from filesystem
I've recently been playing around with the Ghost blogging platform and wanted to see how well the docker image worked. The default theme (Casper) looks great and certainly takes simplicity…
List contents of zip / tar.gz / tar.bz2
It is quite useful to view the contents of a zip, tar.gz or tar.bz2 file without extracting the file from the terminal. View contents of a zip file unzip -l…
Save output of "ls" or other command to shell variable
It is very useful to be able to store the output of a command to a shell variable for use in a script. This can be achieved as follows: shellVariableName=$(COMMAND)…
SSH login without password (key pair authentication)
Passwordless login via SSH is especially useful in automated backup scripts. In this tutorial Host A refers to the computer from which (source) you want to login, and Host B refers…
Remove password from PDF Ubuntu
A neat little utility to remove the password from a PDF is qpdf. To get started install qpdf sudo apt-get install qpdf Remove the password using the following command qpdf –password=YOUR-PASSWORD-HERE…
Resize DigitalOcean volume
To resize block store in DigitalOcean, click on the droplet to which the volume is attached. Click on more -> Resize volume as shown below: You are now able to…
Lesson 10 – HTML meta tags
Meta tags define how browsers are to render web page content and they also provide information which search engines use to determine the relevance of the web page. The most…
Lesson 9 – HTML block and inline elements
There are two main ways in which elements can be displayed in HTML: Block or inline Block-level elements Block-level elements begin on a new line and take up the full…
