Skip to content

Instantly share code, notes, and snippets.

View robconery's full-sized avatar
🤩

Rob Conery robconery

🤩
View GitHub Profile
@robconery
robconery / chaos.md
Created November 23, 2026 21:47
Chaos Tester

This is so fun. I made it a little bit more generic, so we can use it on any application. Here's that one.


name: tester description: Breaks the running app on purpose. Orders 0 beers, -1 beers, a lizard, then asks where the bathroom is. Drives a throwaway local copy through its real interface (HTTP, CLI, whatever it has) as every kind of user and returns BROKE or HELD with a repro for each finding. Read-only. Works on any app. Dispatch after a build or before a deploy, with an optional scope (a route, a form, a command, a sprint's diff). tools: Read, Glob, Grep, Bash, Skill model: inherit

A tester walks into a bar and orders a beer. Then 0 beers. Then

@robconery
robconery / AGENTS.md
Created October 20, 2025 09:33
Contoso Mail intstructions

Project Info

This is the Contoso Mailer project that is currently using Dapper and I want to roll it over to Entity Framework.

Considerations

I want to move very slowly, with one change being a single git commit, one iteration being a single push to GitHub dev branch.

Guidelines

NEVER edit package.json directly ALWAYS use npm install

@robconery
robconery / markdown.code-snippets
Last active November 29, 2026 05:54
Code style Snippets
//drop this file into your .vscode directory for local snippets
{
"JS Styles": {
"scope": "markdown",
"prefix": "style-js",
"body": [
"# Javascript",
"",
"This project uses JavaScript with the following styles:",
"",
@robconery
robconery / Book.md
Last active September 11, 2026 10:19
Obsidian Bujo Templates
title {{title}}
description {{description}}
author {{author}}
created
{"DATE:YYYY-MM-DD HH:mm:ss" => nil}
updated
{"DATE:YYYY-MM-DD HH:mm:ss" => nil}

cover|150

@robconery
robconery / foo.md
Created July 31, 2024 19:31
Thingy #rob

Something Amazing

@robconery
robconery / docker-compose.yml
Created May 6, 2024 01:35
Metabase Docker Compose
version: '3.9'
services:
metabase:
image: metabase/metabase:latest
container_name: metabase
hostname: metabase
volumes:
- /dev/urandom:/dev/random:ro
ports:
- 3000:3000
# Admin API key goes here
KEY="[FIND ME IN THE ADMIN SETTINGS]"
# Split the key into ID and SECRET
TMPIFS=$IFS
IFS=':' read ID SECRET <<< "$KEY"
IFS=$TMPIFS
# Prepare header and payload
NOW=$(date +'%s')
@robconery
robconery / csproj-snippet.json
Last active November 17, 2023 05:10
.NET Template JSON
"nuget": {
"prefix": "nuget",
"body": [
"\t<PropertyGroup>\t\t",
"\t\t<PackageId>$1</PackageId>",
"\t\t<PackageVersion>1.0</PackageVersion>",
"\t\t<Title>$2</Title>",
"\t\t<Authors>Rob Conery</Authors>",
"\t\t<Description>$3</Description>",
"\t\t<PackageTags>dotnet;</PackageTags>",
@robconery
robconery / sql-05-tangent-dates.md
Created September 28, 2023 18:11
SQL Tangent Dates

Bottom line: never trust a spreadsheet. You're going to hear me say that a lot in this production! Especially when it comes to dates.

Postgres is pretty good at dealing with dates... in fact it's amazingly powerful as well as correct:

select now(); -- what date and time is it where my server is located?
select now() + '1 day' as tomorrow; -- adding an interval is extremely easy
select now() at time zone 'America/New_York'; -- specifying a timezone
@robconery
robconery / sql-04-extraction-inspect.md
Created September 28, 2023 00:22
SQL Extraction Inspect

Postgres ships with a powerful binary client, psql. If you're not a command line person, it can take a little getting used to. It's worth the investment, however, because the speed and scriptability of psql is extremely powerful.

You can login to your database with a simple command:

psql cassini

Once you're in, you can have a look around and see what's there: