Renames all files in leaf directories inside an arbitrarily nested folder structure, following a 4 digit format, e.g. 000x.jpg
Continue reading “Recursively rename ordered jpg files in nested folders with Python”Flexbox to add a spacer
Use Flexbox to push content.
// The span takes up any remaining space between left and right
<div>left</div>
<span style=“flex: 1 1 auto”></span>
<div>right</div>
Code language: HTML, XML (xml)
Download Youtube videos in highest quality available
Download Youtube videos in highest quality available.
Continue reading “Download Youtube videos in highest quality available”Setup Drupal 9 Multisite on a web server, along with a local development copy
My process for setting up a Drupal multisite environment.
Continue reading “Setup Drupal 9 Multisite on a web server, along with a local development copy”Bootstrap 4 breakpoints and media queries
Quick reference for the Bootstrap 4 media breakpoints.
Continue reading “Bootstrap 4 breakpoints and media queries”Gatsby window scroll position
Gatsby will fail to build if you refer to window, so we need a work around.
Continue reading “Gatsby window scroll position”Enable SVG Support on the Drupal Media Library
Enable SVG Support on the Drupal Media Library.
Continue reading “Enable SVG Support on the Drupal Media Library”Gatsby ‘window.location’ not available during SSR
The location parameter works via ‘gatsby develop’, but fails to compile via ‘gatsby build’.
Continue reading “Gatsby ‘window.location’ not available during SSR”Install NodeJS and NPM on a shared web server
NodeJS can be installed on you CPanel shared hosting plans, keep reading to see how.
Continue reading “Install NodeJS and NPM on a shared web server”Install Drush for Drupal 8 on a CPanel web server
This proved much more difficult than it should have been, so I wrote this article.
Continue reading “Install Drush for Drupal 8 on a CPanel web server”