Skip to content

Instantly share code, notes, and snippets.

View mrap's full-sized avatar

Mike Rapadas mrap

View GitHub Profile
@mrap
mrap / SKILL.md
Last active June 10, 2026 20:27
repo-audit — Claude Code skill: deep repo audit with adversarial verification (calibrate → hunt → attack-your-own-findings → strategy → plan). Won a 4-way blind bake-off vs the viral meta_alchemist audit prompt, nud3l's /code-audit, and claude-caliper team-mode. Install: ~/.claude/skills/repo-audit/SKILL.md

name: repo-audit description: > Use when asked to audit a repository, assess codebase health, find what's wrong with a codebase, identify technical debt, or produce a prioritized improvement plan for an existing project. Also use when a repo feels untrustworthy — red CI, stale docs, mystery failures — and the user wants a grounded picture before investing, or says "upgrade this project", "what should we fix here", "how bad is this code". tags: audit, code-quality, repo, technical-debt, improvement-plan, verification

@mrap
mrap / lucy-version-2026-04-29.md
Created April 30, 2026 00:27
Honeystack launch security check — friendly audit by Mike Rapadas, Apr 29 2026

🍯 Honeystack Launch Security Check

For: Lucy From: Mike (with a little help from his AI agent) Date: April 29, 2026

Hey Lucy! Huge congrats on the Honeystack launch — the site looks great and the build choices are really solid. As a friendly favor, I ran a security pass on honeystack.agency since you guys are about to be handling nonprofit data and email lists. Most of what I found is "you're already doing the right thing" — but there's one urgent fix in the newsletter API that's worth doing before this thing gets shared more widely.

This document is written so you can hand each section directly to Claude Code in the Honeystack repo and have it do the work. No security background needed.

/*
* Roam template PoC by @ViktorTabori
* 0.1alpha
*
* forked by @everruler12
* v1 2020-08-07
* include moment.js and replace ::current_time:: and ::today:: variables in template
*
* forked by @mrap
* 2020-10-26
/* Copy this into your [[roam/css]] page */
/* IMPORT CORE THEME */
@import url('https://azlen.github.io/roam-themes/core.css');
/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap');
:root {
--page-width: 616px;
@mrap
mrap / results.md
Created April 6, 2017 20:50
Benchmarks for getting object type in go. http://stackoverflow.com/a/27160765/2078664

go test -bench=. -benchmem

BenchmarkTypeof-4          	10000000	       153 ns/op	      16 B/op	       1 allocs/op
BenchmarkReflectTypeOf-4   	50000000	        27.4 ns/op	       0 B/op	       0 allocs/op
PASS
ok  	github.com/mrap/bench/typeof	3.099s
@mrap
mrap / .cVimrc
Last active August 29, 2015 14:25
OS Agnosttic cvimrc
" Settings
set noautofocus
set cncpcompletion
set linkanimations
set showtabindices
set smoothscroll
set hud
let searchlimit = 20
@mrap
mrap / gist:b64f39ee81706e02c4bc
Last active August 29, 2015 14:15
Calculating max fluid volume in O(n) time
#include <iostream>
#include <algorithm>
typedef int pillar_t;
pillar_t* read_pillars(int);
int get_volume(pillar_t *, int);
int main() {
@mrap
mrap / quicksort_benchmark.rb
Created March 15, 2014 14:01
Benchmarking a quicksort algorithm designed to handle duplicates.
require 'benchmark'
class RubyQuicksort
def self.prepare(number_of_items)
time_taken = Benchmark.realtime{ generate_random_array number_of_items }
puts "Took #{time_taken}s to generate an array of #{number_of_items} random items"
end
def self.generate_random_array(number_of_items)