Skip to content

Instantly share code, notes, and snippets.

View steig's full-sized avatar

Tom Steigerwald steig

  • Lamps.com
  • Philadelphia. PA
View GitHub Profile
@steig
steig / supply-chain-audit.sh
Created May 20, 2026 15:46
Supply-chain security audit for dev machines v2.0 — Joe Petrini's broad ecosystem coverage + MCP/known-bad-packages/JSON/--only filter additions
#!/usr/bin/env bash
set -euo pipefail
# supply-chain-audit.sh — Developer supply chain security audit
#
# Merged edition: Joe Petrini's broad ecosystem coverage + additions for
# MCP servers, curated known-bad-packages, gh CLI scopes, shell history secrets,
# registry-hijack lockfile scans, and CI-friendly JSON/filter output.
#
# Usage:
@steig
steig / dev-supply-chain-audit.sh
Last active May 20, 2026 14:47
Audit-only supply-chain hardening check for dev machines (npm/pnpm/pip/uv/SSH/VS Code/brew)
#!/usr/bin/env bash
# dev-supply-chain-audit.sh — developer machine supply-chain hardening audit
#
# Audit-only. Reports findings against current attack vectors and prints the
# command needed to remediate each one. Makes no changes.
#
# Usage:
# curl -fsSL <raw-url> | bash
# bash dev-supply-chain-audit.sh # full audit, human output
# bash dev-supply-chain-audit.sh --json # one JSON object per finding
@steig
steig / lampscom-bot-signal-worker.js
Last active May 13, 2026 15:10
lamps.com Cloudflare Worker — adds bot classification headers (CF-Verified-Bot, CF-ASN, CF-Bot-Category) to Shopify-bound HTML requests. Works on Business tier; forward-compatible with Enterprise Bot Management (JA3/JA4/score auto-populate).
// Cloudflare Worker for lamps.com (Shopify O2O)
// Adds bot classification headers to Shopify-bound HTML requests so the
// origin can route verified crawlers to a higher wall-clock budget.
//
// Works on Cloudflare Business tier (cf.verifiedBot + cf.asn).
// Forward-compatible with Enterprise Bot Management (JA3/JA4/score lines
// guard with `if` — they populate the day BM is enabled, no code change).
// UA patterns — used ONLY to label category, never to flip verified-bot
// status. cf.verifiedBot is the authoritative signal because Cloudflare
@steig
steig / landing-page.html
Last active January 21, 2026 21:25
LDC AI Framework - Vibe Coding Landing Page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LDC AI Framework — Vibe Coding With Persistent Memory</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<style>
@steig
steig / ppc-v5-executive-summary.md
Created January 21, 2026 17:55
PPC Tier System v5: Profit Engine - Executive Summary

PPC Tier System v5: Profit Engine

Executive Summary

One-liner: Stop wasting ad dollars on products that never sell. Automatically invest more in winners, cut losers fast.


The Problem

@steig
steig / olark-chat-button-mockup.html
Last active January 8, 2026 18:57
Custom Olark Chat Button Mockup - Spotlight Tab Style
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Custom Olark Chat Button - UX Demo</title>
<style>
* {
box-sizing: border-box;
margin: 0;
@steig
steig / bloggle-templates.html
Last active January 8, 2026 04:55
Resource Hub Landing Page Mockups - 3 Variants
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bloggle Article Templates - Mockup</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
:root {
--color-primary: #286278;
@steig
steig / footer-mockups.html
Created January 6, 2026 05:12
Footer Redesign Mockups - 5 Options (Mackweldon-inspired) for Issue #430
@steig
steig / cts_duplicates_clean.csv
Created December 31, 2025 05:09
CTS Duplicates Report (Cleaned) - Issue #1288
Type Primary SKU Duplicate Item SKU Group(s) Count Issue
WITHIN-GROUP FP6721BDZ-48WW WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BGZ-48WW-LK WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BMW-60MW WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-48BL-LK WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-48WK-LK WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-48WW WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-60BL WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-60BL-LK WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-60BL-LKBBS WFR50 Controls 2 Item appears 2x in same group
@steig
steig / cts_duplicates_report.csv
Last active December 31, 2025 05:09
CTS Duplicates Report for Issue #1288
Type Primary SKU Duplicate Item SKU Group(s) Count Issue
WITHIN-GROUP FP6721BDZ-48WW WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BGZ-48WW-LK WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BMW-60MW WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-48BL-LK WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-48WK-LK WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-48WW WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-60BL WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-60BL-LK WFR50 Controls 2 Item appears 2x in same group
WITHIN-GROUP FP6721BBL-60BL-LKBBS WFR50 Controls 2 Item appears 2x in same group