Ian's notes


Fixing a purple/green colour effect during gamma adjustments using the Nvidia driver on Linux, and enabling the RGB colour space and full colour range

February 1st, 2021 by

I had a peculiar problem where the colours on my Television looked washed out when connected to my Nvidia GTX 960. I’m using the proprietary drivers, and tried a few different driver versions to see if that helped, but in the end that didn’t seem to be the problem.

(more…)

Cloudflare WARP+ Unlimited on Linux – quickstart guide

January 31st, 2021 by

Download wgcf and the WireGuard client (wg) and run the following:

(more…)

Building DSpace 6.3

October 22nd, 2020 by

If you’re on Ubuntu 18.04 and higher, create a container with Ubuntu 16.04 first, and follow these instructions inside the container (this avoids issues I’ve experienced with incompatible dependencies and APIs from OpenJDK 9 and upwards).

(more…)

LXC containers quickstart guide

October 21st, 2020 by

Install the LXC package:

(more…)

Dotfiles

September 28th, 2020 by

I use a set of common Linux tools for day-to-day sysadmin and computer use, and these can all be configured using dotfiles. Here’s a commented listing of each program’s file:

(more…)

Monitoring thermal throttling

September 24th, 2020 by

Thermal throttling of a CPU is visible as a reduction in clock speed under load, and is easiest to notice while monitoring both core temperature and clock speed simultaneously.

The following command displays the near real-time clock speed of all the CPU cores, updated every second1:

(more…)

Monitoring ADSL traffic on my ASUS DSL-AC52U router

September 20th, 2020 by

This post assumes that you have SSH access configured on the router.

(more…)

CSS accommodations for dark mode

September 19th, 2020 by

Adding dark mode to a style sheet involves adding a media query to detect the user’s preference:

(more…)

A web development checklist

September 16th, 2020 by

These are the tools I use to establish a baseline of usability for the websites I develop:

(more…)

Running my ADSL router on a 5V USB power bank during load shedding

September 6th, 2020 by

Most ADSL routers make use of 12V power supplies, providing around 1-1.5A. It’s important to note, though, that this takes into account running the router at maximum capacity on all ports and antennas and supplying power to an external device such as a hard drive. This means that, in practice, routers use considerably less power than the power supply is rated for. I took advantage of this to run my router off of a 5V 2.1A power bank USB port. You can also run this solution off of a laptop USB port.

(more…)