Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

Python logo

Query a PostgreSQL database via Python

Posted 11th December 2020

No comments

Use this simple template script created in Python to connect to your PostgreSQL database and run a query.

Read the full story...

How to change file permissions in Git on Windows

Posted 9th December 2020

No comments

Make a Git repository file on a local Windows machine executable by changing the CHMOD value, which can be transferred to the repository following a push.

Read the full story...

CSS3 logo

Styling the colour of <pre><code> horizonal scrollbars

Posted 4th December 2020

No comments

Despite the absence of a proper scrollbar colouring standard in Cascading Style Sheets (CSS), there is a way to colour the horizontal scrollbar in a <pre><code> block that will work in Edge, Safari, Firefox and Chrome.

Read the full story...

Python logo

Selectively rotating images in Python recursively

Posted 3rd December 2020

No comments

Use OpenCV in Python to recurse through directories and rotate selected images based on a string in their file name.

Read the full story...

Photograph of a plain-text editor showing computer code

Rebuilding my website: 2020

Posted 25th November 2020

No comments

It’s been seven years since I last re-designed my personal website. Here is a look at the technologies that I used to build my new website.

Read the full story...

Microsoft Access logo

Add a simple search box to a Microsoft Access form

Posted 12th November 2020

No comments

A step-by-step guide to adding a simple search box to a Microsoft Access form.

Read the full story...

The official WebP logo

Serving WebP with fallback

Posted 5th November 2020

No comments

Two methods to serve WebP images with a fallback for instances where a browser/OS combination doesn’t support it.

Read the full story...

Copying and moving files on Linux

Posted 8th September 2020

No comments

Copy or move files of type from one directory to another on a Linux operating system via the command line.

Read the full story...

Python logo

Iterate both i and j in Python

Posted 2nd September 2020

No comments

Two methods for implimenting nested iterations of i and j in Python.

Read the full story...

SVG not displaying in Chrome browser

Posted 31st August 2020

No comments

A simple solution for a situation when a SVG fails to display in Google Chrome but works in other browsers.

Read the full story...