Skip to content

Instantly share code, notes, and snippets.

@anthonycoffey
anthonycoffey / UTT-334_pull-request.md
Created June 17, 2026 00:35
Pull request body for `feature/utt-334-portal-design-tokens` branch to satisfy requirements in `UTT-334`

Summary

Adopt the v3 UAI brand handoff across the entire portal: cream surfaces, UAI Blue (#4355EE) interactive role, Vivid Purple (#3A0CA3) reserved for AI output, near-black text. Self-hosted DM Sans + Montserrat (no CSP change). New AI-marker primitives (AIValue, AIActionButton, Alert), a single source of truth for status colour (src/lib/statusTokens.ts), and a brand-tokens E2E spec against the prod Caddy image.

Spec: docs-meta UTT-334 (PR in parallel). Full implementation log is in the spec's Reviewer Notes (Rounds 1–5).

Scope note — expanded mid-implementation

The status-colour migration and the correlation-chart palette were originally going to be follow-up tickets. Per the ticket owner, they were pulled into UTT-334 so the portal ships fully on-brand. This PR therefore covers all portal colour, not just the in-scope blue sweep.

@anthonycoffey
anthonycoffey / ZSH_PROFILE.bash
Last active May 17, 2026 09:30
ZSH setup for full-stack and cloud development, optimized for productivity and AI assistance.
# ==============================================================================
# 1. ESSENTIAL MODULES & BEHAVIOR
# ==============================================================================
# Force UTF-8 Encoding
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
# Load zsh-autosuggestions (The "Ghost Text" Magic)
# Note: Adjust the path if you are on an Intel Mac (/usr/local/share/...)
@anthonycoffey
anthonycoffey / WINDOWS_TERMINAL_DEVELOPER_TOOLS.md
Last active May 18, 2026 17:37
The Windows Terminal Developer Tool Compendium

🧰 Winget Developer Tool Compendium

A modular selection of developer tools available via the Windows Package Manager. There is no required installation order or prerequisites---browse the categories below and copy the exact command for the tools you need.


🗄️ Core Source Control

These tools are the foundation for tracking changes, maintaining code history, and collaborating on repositories.

@anthonycoffey
anthonycoffey / powershell.ps1
Last active June 7, 2026 22:15
Powershell $PROFILE
# ==============================================================================
# 1. ESSENTIAL MODULES & BEHAVIOR
# ==============================================================================
# Force PowerShell to use UTF-8 (Crucial for Node, Python, and modern CLI tools)
[console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding
# Load PSReadLine (usually installed by default on modern PowerShell)
# This provides syntax highlighting and history-based autocomplete
Import-Module PSReadLine
@anthonycoffey
anthonycoffey / VS_CODE.md
Last active May 16, 2026 21:42
VS Code settings companion guide

VS Code Settings

Configuring VS Code can be a pain, but below is a compiliation of Visual Studio Code settings to make your life easier.

ℹ️ Pro-Tip: You can conveniently access VS Code settings by using the Settings keybind Ctrl + ,

Recommended Settings

Setting Value Description
@anthonycoffey
anthonycoffey / MAGIC_PROMPTS.md
Last active July 2, 2026 11:17
🧙 Magic prompts for developing with AI Agents ✨

Magic prompts 🧙✨

When I find myself typing the same thing over and over, I add it to the list. These battle-tested prompts are extremely useful in a variety of use cases. Prompts marked with ⭐ are Gandalf-level magic prompts and should be used often.


  • Clarify and Annilihate Assumptions

    If you have questions, please ask me. if you are unsure about anything, just ask me — assume nothing.

@anthonycoffey
anthonycoffey / the_vibecoders_cookbook.md
Last active July 2, 2026 11:26
THE VIBE CODERS COOKBOOK.

THE VIBE CODERS COOKBOOK

Tips and tricks for building efficiently with AI.

Created by Anthony Coffey 👨‍🚀 Follow me on GitHub!

Magic Prompts

  • Force Claude to Present Suggestions as Multiple Choice Options Instead of Manually Answering Questions in Plaintext
@anthonycoffey
anthonycoffey / restart_docker.sh
Last active April 14, 2026 06:08
kill/restart "stuck" docker after crash
#!/bin/bash
# =================================================================
# Docker Desktop Recovery Script for macOS
# Use this when Docker Desktop hangs or fails to start due to
# stale socket files or "out of disk space" crashes.
# =================================================================
echo "🚀 Starting Docker Desktop recovery..."

Auto-Dispatch System Architecture

This document outlines the architecture of the automated job dispatch system. The system is designed to be scalable, resilient, and non-blocking, ensuring that a high volume of jobs can be processed efficiently without delays.

Core Architecture: A Dual-Queue System

The dispatch process is managed by two distinct Redis queues: the dispatch-queue and the dispatch-timeout-queue. This separation of concerns is the key to the system's performance and reliability.

graph TD
@anthonycoffey
anthonycoffey / BANNED_USER_DOCUMENTATION.md
Last active November 23, 2025 00:00
Description of banned user feature from end to end.

User Banning Process Documentation

This document outlines the end-to-end process for user banning in the application, including the implementation details, impact on users, and potential vulnerabilities.

How User Banning Works

1. Database Schema

The User model in the database contains a boolean field named banned.

  • If banned is false (default), the user is active.
  • If banned is true, the user is considered banned.