Skip to content

Instantly share code, notes, and snippets.

View nhtahoe's full-sized avatar

Nicholaus Harris nhtahoe

View GitHub Profile
@nhtahoe
nhtahoe / PaintScratch-SSR-Regression-Audit-2026-04-04.md
Created April 5, 2026 05:54
PaintScratch SSR live regression audit 2026-04-04

PaintScratch SSR Regression Audit (Live)

Run Date (America/Los_Angeles): 2026-04-04 Report Generated: 2026-04-04 10:53:11 PM PDT Run Time Window (this run): 2026-04-04 10:42:45 PM PDT to 2026-04-04 10:53:11 PM PDT

A) High-Level Summary

  • Scope checked: all 8 in-scope SSR route families + 3 controls
  • Page types checked: 8 SSR types
  • URLs checked: 13 required baseline URLs (no replacements required)
@nhtahoe
nhtahoe / file-line-generator-helper-function.php
Last active September 10, 2019 16:31
Returns a Generator representation of file lines that we can then iterator over with foreach
if (!function_exists('getFileLines')) {
/**
* Returns a Generator representation of file lines that we can then iterator over with foreach
*
* eg:
* $fileData = getFileLines('path.txt');
* foreach ($fileData() as $line) {
* // $line contains current line
* }
*