Belter

Duncan McDougall is freelance web developer from Annan, Scotland.
LinkedIn GitHub Twitter

The prefers-reduced-motion media query

January 25, 2020

The media feature is used to detect if the user has requested the system minimize the amount of animation or motion it uses. Changing your…

Podcasts I'm listening to

January 24, 2020

Answering the number 1 question in the world right now. "What podcasts are you listening to?"

Run Umbraco from VS Code

January 23, 2020

Probably the quickest, leanest way to get to work on a fresh Umbraco site is with VSCode and IIS Express. Install IIS Express In VSCode…

My Development Setup

January 15, 2020

A run through of my current web development setup. Updated January 2020.

Add Git-Bash to the new Windows Terminal

December 08, 2019

Config settings for adding Git-Bash as the default Windows Terminal shell.

Better filenames for React Suspense/Lazy chunks

December 08, 2019

Using webpackChunkName to replace the numbered filenames with something more meaninful

Dark Mode CSS with the prefers-color-scheme media query

December 04, 2019

prefers-color-scheme is a new-ish CSS media query lets developers define styles tailored to a visitor’s color scheme system setting. By…

Favourite films of 2010's

November 12, 2019

My favourite movies of the decade

Useful NPM global packages

April 07, 2019

When it’s a package that I’ll use infrequently, such as create-react-app, I’ll reach to . However, there’s a few packages I use again and…

Debugging LESS with dotLESS

September 05, 2015

How to trace back compiled CSS to less files when using dotLESS.

Website Speed and Analytic Metrics

October 07, 2013

A brief look at how website performance influences the stats found in Google Analytics.

jQuery Responsive Lightbox plugin

November 10, 2012

A lightweight, responsive lightbox jquery plugin.

Many To Many Mapping in Fluent NHibernate

October 11, 2011

Code snippet for mapping two classes in Fluent NHibernate using a many to many relation.