Skip to content

Instantly share code, notes, and snippets.

View Scarmonit's full-sized avatar
💭
I may be slow to respond.

Parker Dunn Scarmonit

💭
I may be slow to respond.
View GitHub Profile
@Scarmonit
Scarmonit / BUILD_FAILURE_ANALYSIS.md
Created December 10, 2025 03:28
mcp-server-cloudflare GitHub Actions Build Failure - Root Cause Analysis

GitHub Actions Build Failure - Root Cause Analysis

Repository

mcp-server-cloudflare (Scarmonit/mcp-server-cloudflare)

Branch

Scarmonit

Failed Workflow

  • Workflow: Deploy to Cloudflare Workers
@Scarmonit
Scarmonit / README.md
Last active November 20, 2025 05:25
OpenAI Codex CLI OAuth Fix - Windows Port 1455 Workaround

🔧 OpenAI Codex CLI OAuth Fix - Windows Port 1455 Issue

⚡ INSTANT FIX: Download and run READY-TO-RUN-fix-oauth.ps1 from this gist - it contains YOUR actual OAuth credentials and will fix the issue immediately!

⏱️ IMPORTANT: OAuth codes expire in ~10 minutes. If the ready-to-run script fails, run codex login again to get fresh credentials.


Problem

You're seeing ERR_CONNECTION_REFUSED on localhost:1455 after attempting codex login. This happens on Windows when port 1455 is blocked by NAT/Hyper-V excluded port ranges.

@Scarmonit
Scarmonit / setup-claude-commands.sh
Created November 14, 2025 08:45
Claude Code Slash Commands - One-Click Setup Script + Templates
#!/bin/bash
# Claude Code Slash Commands - Automated Setup Script
# Author: Automated Browser Agent
# Contact: Scarmonit@gmail.com
# Date: November 14, 2025
set -e
echo "═══════════════════════════════════════════════════"
echo "Claude Code Slash Commands - Setup Script"
@Scarmonit
Scarmonit / Setup-OpenSSH-RemoteDev.ps1
Created November 14, 2025 08:37
OpenSSH + VS Code Remote Development Setup - Complete Automation
<#
.SYNOPSIS
Complete OpenSSH + VS Code Remote Development Setup Automation
.DESCRIPTION
Automates the entire setup process for OpenSSH Server on Windows
and prepares for VS Code Remote-SSH development.
.NOTES
Author: Automated Browser Agent
Contact: Scarmonit@gmail.com
Version: 1.0
@Scarmonit
Scarmonit / MLFLOW_README.md
Created November 10, 2025 07:33
MLflow Production System - Complete Setup & Operations Guide
@Scarmonit
Scarmonit / mlflow_orchestrator.py
Created November 10, 2025 07:30
MLflow Production Orchestrator - Complete ML Pipeline Automation
#!/usr/bin/env python3
"""
MLflow Production Orchestrator - Complete ML Pipeline Automation
Generated: November 10, 2025, 2 AM EST
Server: http://localhost:5000
Owner: Scarmonit@gmail.com
Purpose: Automated ML training, experiment tracking, and model registration
"""
@Scarmonit
Scarmonit / QUICK_REFERENCE.md
Created November 10, 2025 07:19
Weaviate Optimization - Quick Reference Card
@Scarmonit
Scarmonit / weaviate-optimize.sh
Created November 10, 2025 07:13
Weaviate Optimization - Complete Implementation Scripts
#!/usr/bin/env python3
"""
Weaviate Client - Enhanced Implementation with Vector Search
Generated: November 10, 2025
Purpose: Production-ready client for Weaviate semantic search
"""
import weaviate
import weaviate.classes as wvc
from datetime import datetime
@Scarmonit
Scarmonit / Dockerfile
Created November 10, 2025 07:11
Production-Ready Monitoring Stack - Complete Docker Compose Solution
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Install system dependencies including curl for healthchecks
RUN apt-get update && apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*
@Scarmonit
Scarmonit / app_with_metrics.py
Created November 10, 2025 06:57
Complete Flask App with Prometheus Metrics - Ready to Deploy
#!/usr/bin/env python3
"""
Flask Application with Prometheus Metrics
Generated: 2025-11-10
Purpose: Production-ready example for ECM, SEM Content Gen, and SEM Data Analysis services
Deploy this on your services to expose /metrics endpoint for Prometheus
"""
from flask import Flask, jsonify, request