Skip to main content
~/tooling

Uses.

What actually runs in production and on my machines. Not an affiliate list — this is the stack behind the case studies in ~/work.

~/uses/infrastructure

~/uses/security

~/uses/data

  • Python ETL (lxml/Pandas)

    ~/uses/python-etl →

    Stream the gigabyte, never load it. Iterparse plus a pre-processor beats RAM every time.

    ▸ expand entry notes

    Supplier feeds arrive as gigabyte XML nobody validated. A pre-processor normalizes the dialect, then lxml.etree.iterparse streams elements while Pandas handles the aggregation frame. Constant memory regardless of feed size.

    The pipeline pattern behind ~/work/inventory-forecasting-tool.

    The canonical input was a 1.8 GB Tally XML export the supply-chain team used to wrangle through crashing Excel sheets. The run log shows parsing the full dump, then fitting Prophet per SKU with 8 workers until all 7,800 models converged. Stockouts and tied-up capital became a CSV replenishment plan. See ~/work/inventory-forecasting-tool.

    used_in: ~/work/inventory-forecasting-tool

  • Prophet + SQLite (opens in a new tab)

    ~/uses/prophet-sqlite →

    One time-series model per SKU, persisted in SQLite. Boring storage, honest forecasts.

    ▸ expand entry notes

    Prophet fits seasonality per SKU without a feature store; SQLite holds the models and forecast tables in a single file that backs up with a copy. No cluster, no serving layer. A cron job and a CSV.

    Forecasts the catalog in ~/work/inventory-forecasting-tool.

    At scale that meant 7,800 Prophet models converging over a 782,904-row sales velocity frame. A sequential run projected at over 18 hours came down to hours with multiprocessing across physical cores. The pipeline cut the supply-chain planning cycle from days to hours. See ~/work/inventory-forecasting-tool.

    used_in: ~/work/inventory-forecasting-tool

~/uses/operations

  • PowerShell

    ~/uses/powershell-automation →

    Every Windows Server I touch gets scripted before it gets documented. Repeatable beats clever.

    ▸ expand entry notes

    Primary automation language for Windows Server, RDS and Hyper-V estates. Nothing clever, just scripts I can re-run.

    I default to declarative, idempotent scripts: re-running one should be a no-op, not a new incident. This has paid off most on RDS session-host provisioning and on the Tally Prime ERP migration documented in ~/work/rds-migration-tailscale-to-twingate. Two places where a second run used to mean a second ticket.

    The same discipline runs the 14-day rolling backup cleanup on a Task Scheduler. A retention script keeps the newest 14 Tally Prime dumps and removes the rest, so re-running the job is a logged no-op rather than a surprise. See ~/work/unified-it-infrastructure-and-digital-transformation-at-maryana-group.

    used_in: ~/work/rds-migration-tailscale-to-twingate · ~/work/unified-it-infrastructure-and-digital-transformation-at-maryana-group

  • GitLab CI + Playwright/Vitest

    ~/uses/gitlab-ci-playwright-vitest →

    Empty-DB gates and staleness monitors in CI. Deploys that fail boring instead of blank.

    ▸ expand entry notes

    Every deploy passes an empty-DB protection gate (fewer products than expected blocks the landing) plus staleness monitors on the price pipeline. Vitest covers the scoring math. Playwright walks the checkout-critical paths.

    Guards the operations story in ~/work/tweakdeals.

    Those gates exist because of real forensics: a DATABASE_URL once baked into a Worker bundle and truncate-capable scripts led to a two-signal restore gate, re-applied forensics triggers, and a mid-run circuit breaker in the scoring pipeline. So “the database is empty” is now a boring blocked deploy, not an incident. See ~/work/tweakdeals.

    used_in: ~/work/tweakdeals

~/uses/tooling

  • Cloudflare Workers (opens in a new tab)

    ~/uses/cloudflare-workers →

    Edge-served static shells with a micro-API for live data. Staleness by design, never blank.

    ▸ expand entry notes

    Static HTML from the edge, live prices rehydrated from a micro-API in the browser. When the database disappears, the committed prebuild cache degrades the site to stale data instead of a blank page.

    Serves ~/work/tweakdeals, including through every 2026 database incident. I learned this the hard way: with a roughly 14 MB prebuild cache of about 2,200 products committed to the repo, every 2026 database incident degraded TweakDeals to prices a few hours stale instead of a blank page. Static-first delivery turned outages into staleness problems. See ~/work/tweakdeals.

    used_in: ~/work/tweakdeals

  • Neon Postgres (opens in a new tab)

    ~/uses/neon-postgres →

    Serverless Postgres over HTTP for the edge; Prisma where there's Node, raw SQL where there isn't.

    ▸ expand entry notes

    Branch-per-deploy Postgres with scale-to-zero: migrations run through Prisma in Node, while edge Workers talk to it over HTTP with parameterized raw SQL. Backups and point-in-time restore come with the platform. One less thing I maintain.

    Stores the price history behind ~/work/tweakdeals.

    In production Neon holds the Product, PriceLog, CronRun, and DeadLetterQueue tables behind the catalog. The poller is built around its limits: it counts down API quota on every run, and failed scrapes land in the dead-letter queue with exponential backoff instead of throwing the batch away. See ~/work/tweakdeals.

    used_in: ~/work/tweakdeals

~/uses/frontend

  • Astro + Tailwind (opens in a new tab)

    ~/uses/astro-tailwind →

    Static-first pages with islands where needed; this portfolio is the demo.

    ▸ expand entry notes

    Content collections for typed Markdown/MDX, zero JavaScript by default, Tailwind for the terminal aesthetic. Interactive pieces hydrate as islands. Everything else ships as HTML.

    Builds this site and the gallery case study in ~/work/spilled-palette-studio.

    On this site the pattern pays off in the homepage metrics strip: every metric shown is declared in a work entry’s frontmatter, so updating ~/work updates the homepage instead of drifting from it. Content collections as the single source of truth. See src/pages/index.astro.

    used_in: ~/work/tweakdeals · ~/work/spilled-palette-studio

↑↓ navigate Tab complete Enter open Esc close View all →