Skip to content

Instantly share code, notes, and snippets.

View johnsyweb's full-sized avatar

Pete Johns johnsyweb

View GitHub Profile
@johnsyweb
johnsyweb / capture_font_comparison.rb
Created November 4, 2025 03:11
Script to capture before/after screenshots of website changes using Jekyll server and Chrome headless
#!/usr/bin/env ruby
# frozen_string_literal: true
# Script to capture before/after screenshots of the about page
# and create a composite image showing the font change
#
# This script should be run in an environment where Ruby is managed by mise
# (or similar tool) to ensure the correct Ruby version is available.
require 'fileutils'