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 / 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
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 / worker.js
Created May 30, 2024 03:48
Cloudflare 301 redirect based on user agent.
export default {
async fetch(request) {
const botUserAgents = new Map([
[/botUserAgent1/i, "bot=bot1"],
[/botUserAgent2/i, "bot=bot2"],
[/botUserAgent3/i, "bot=bot3"]
]);
const userAgent = request.headers.get('User-Agent');
if (userAgent) {
UPDATE catalog_product_entity set sku = "LUP-FL-010BN-ANG" where entity_id = 291899;
UPDATE catalog_product_entity set sku = "LUP-FL-010BN-ANR" where entity_id = 291900;
UPDATE catalog_product_entity set sku = "LUP-FL-010BN-BCF" where entity_id = 291901;
UPDATE catalog_product_entity set sku = "LUP-FL-010BN-BGL" where entity_id = 291902;
UPDATE catalog_product_entity set sku = "LUP-FL-010BN-BKG" where entity_id = 291903;
UPDATE catalog_product_entity set sku = "LUP-FL-010BN-BKM" where entity_id = 291904;
UPDATE catalog_product_entity set sku = "LUP-FL-010BN-BKT" where entity_id = 291905;
UPDATE catalog_product_entity set sku = "LUP-FL-010BN-BOR" where entity_id = 291906;
UPDATE catalog_product_entity set sku = "LUP-FL-010BN-BRK" where entity_id = 291907;
UPDATE catalog_product_entity set sku = "LUP-FL-010BN-BRT" where entity_id = 291908;
@steig
steig / gist:e8d9307dfdfa3e278142
Created July 2, 2014 03:56
magento seo product work generator
import xmlrpclib
import random
class Magento(object):
URL = 'https://www.yoursitehere.com/index.php/api/xmlrpc'
usr = 'usernamehere'
passwd = 'password'
svr = ''
token = ''