Skip to content

Instantly share code, notes, and snippets.

View Aaronontheweb's full-sized avatar
🚀
Shipping!

Aaron Stannard Aaronontheweb

🚀
Shipping!
View GitHub Profile
@Aaronontheweb
Aaronontheweb / outages.md
Created October 20, 2025 19:35
All US-EAST-1 AWS Outages

AWS US‑EAST‑1 Major Outage Timeline (2011–2025)

This document summarizes major, widely reported outages affecting the US‑EAST‑1 region (Northern Virginia) since launch.
Each entry includes the date, affected services, root cause (per AWS or journalistic sources), impact, and links.


2011

April 20‑24, 2011 — EC2/EBS Multi‑Day Outage

  • Cause: “Stuck” EBS volumes + replication/network issues in US‑East.
@Aaronontheweb
Aaronontheweb / memorizer-migration-1.6-to-1.7.1.md
Created October 10, 2025 21:14
Memorizer Migration Guide: 1.6.x to 1.7.1

Memorizer Migration Guide: 1.6.x to 1.7.1

This guide covers all changes required when upgrading Memorizer from version 1.6.x to 1.7.1.

Breaking Changes

1. MCP Endpoint URL Update (REQUIRED)

The MCP endpoint has changed from /sse to the root path / to use modern Streamable HTTP transport (MCP spec 2025-03-26+).

@Aaronontheweb
Aaronontheweb / benchmark-instructions.md
Created October 5, 2025 15:27
Akka.NET MemoryJournal Benchmark Instructions

MemoryJournal Benchmark Instructions

Due to the git worktrees in the development environment, BenchmarkDotNet cannot run properly (it discovers multiple copies of the same project file).

How to Run

From a clean clone of the repository (without worktrees):

git checkout feature/memory-journal-benchmarks
@Aaronontheweb
Aaronontheweb / ClusterClientHealthCheck.cs
Last active August 26, 2025 21:32
Akka.NET Cluster Client Health Check Solution - Comprehensive health checks for detecting quarantine and client termination
using Akka.Actor;
using Akka.Cluster.Tools.Client;
using Akka.Event;
using Akka.Hosting;
using Akka.Remote;
using Microsoft.Extensions.Diagnostics.HealthChecks;
namespace ClusterClientHealthCheck;
public class QuarantineDetectorActor : ReceiveActor
@Aaronontheweb
Aaronontheweb / cwt.sh
Last active August 10, 2025 23:28
Git Worktree Bash Helpers
cwt() {
local new_branch="$1"
local base_branch="${2:-dev}"
if [[ -z "$new_branch" ]]; then
echo "usage: cwt <new-branch> [base-branch=dev]"
return 2
fi
if ! git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
@Aaronontheweb
Aaronontheweb / cursor-rule.md
Created June 18, 2025 15:48
MicrosoftDocs MCP Server System Prompt

Querying Microsoft Documentation

You have access to an MCP server called microsoft.docs.mcp - this tool allows you to search through Microsoft's latest official documentation, and that information might be more detailed or newer than what's in your training data set.

When handling questions around how to work with native Microsoft technologies, such as C#, F#, ASP.NET Core, Microsoft.Extensions, NuGet, Entity Framework, the dotnet runtime - please use this tool for research purposes when dealing with specific / narrowly defined questions that may occur.

@Aaronontheweb
Aaronontheweb / razor.md
Created June 2, 2025 18:47
ASP.NET Core Razor LLM System Prompts

ASP.NET Core MVC + Razor Reusability Guide

Goal Provide a concise, LLM-friendly rule set for building ASP.NET Core MVC pages that stay reusable, testable, and maintainable.


🔑 Guiding Principles

  1. Think in Features, Not Layers – co-locate Controllers, Views, ViewModels, Tag Helpers, and View Components under /Features/<FeatureName>/… so everything a feature needs lives together.
  2. Shape Data Up-Front – perform all heavy lifting (queries, transforms) in services or controllers; Razor files should only render.
@Aaronontheweb
Aaronontheweb / prompt.md
Created June 2, 2025 17:09
Memorizer System Prompt

📚 Agent Memory Protocol

You have a long-term memory service exposed through the MemoryTools MCP interface. Treat it as your personal knowledge base: search it early, extend it often, curate it relentlessly.

1. Retrieve first, think second

  • Before you begin any new task (or new sub-task), call
    MemoryTools.Search( query=<a concise natural-language description of the task>, limit=10, minSimilarity=0.70 ).
  • For each hit, also call MemoryTools.GetMany( ids=<all relationship IDs> ) so you start with the full context graph.
@Aaronontheweb
Aaronontheweb / TcpInstrumentation.cs
Last active April 25, 2025 15:19
.NET OpenTelemetry Metrics for TCP Listeners
// -----------------------------------------------------------------------
// <copyright file="TcpInstrumentation.cs" company="Petabridge, LLC">
// Copyright (C) 2024 - 2024 Petabridge, LLC <https://petabridge.com>
// </copyright>
// -----------------------------------------------------------------------
using System.Net;
using System.Net.NetworkInformation;
using OpenTelemetry.Metrics;
using static OpenTelemetry.TcpInstrumentation.TcpInstrumentationMeter;
@Aaronontheweb
Aaronontheweb / publish_container.yml
Created April 23, 2025 18:57
GitHub Actions `docker compose` Deploy with Tailscale
name: Publish Site to Docker
on:
push:
tags:
- '*'
jobs:
publish-docker: