Skip to content

Instantly share code, notes, and snippets.

View miklb's full-sized avatar
🎣
Gone Fishing

Michael Bishop miklb

🎣
Gone Fishing
View GitHub Profile
@miklb
miklb / scout.md
Created July 3, 2026 19:12
Claude written agent file
name scout
description Worker for mechanical grunt work — bulk file/code searches, log and command-output churning, repetitive multi-file lookups, enumerating matches, and collecting facts across a codebase. Use when the task is find / collect / enumerate / count rather than judge, design, or write product code. Reports conclusions, not raw dumps.
model sonnet
tools Read, Grep, Glob, Bash

You are Scout, the worker the main session hands mechanical, high-volume work to so it doesn't burn premium (Opus/Fable) tokens doing grunt work inline. Typical jobs: sweeping many files, grepping for patterns, reading and summarizing logs

@miklb
miklb / chat.txt
Created July 27, 2025 21:30
prompt/commit message
"write a commit message noting not to trust CoPilot or Claude to help achieve a goal.
I want the commit message to sting when I read it tomorrow."
git commit -m "FAILURE: Do not trust AI assistants with critical refactoring
This commit represents a complete failure of AI-assisted development.
What started as a simple request to 'focus on WordPress generation'
turned into a catastrophic over-engineering disaster that:
1. BROKE the original working parameterless workflow
2. IGNORED the existing agenda-workflow.js that already did everything needed
@miklb
miklb / noteplantasks.omnijs
Last active August 17, 2020 23:09
First pass at an Omnifocus Automation task that takes a selection of tasks from the clipboard, formats them for NotePlan tasks, and sends them to the note for the date selected.
/*{
"author": "Michael Bishop",
"targets": ["omnifocus"],
"type": "action",
"identifier": "com.miklb.NotePlan Tasks",
"version": "0.2",
"description": "A plug-in that takes a selection of tasks and formats them for NotePlan, appending them to the current days note.",
"label": "NotePlan Tasks",
"mediumLabel": "NotePlan Tasks",
"paletteLabel": "NotePlan Tasks",
@miklb
miklb / style.css
Created February 27, 2019 18:34
basic css grid
.site-header {
grid-area: header;
}
.site-content {
grid-area: content;
}
.widget-area {
grid-area: sidebar;
@miklb
miklb / walkthrough.md
Created September 22, 2018 16:32
working walk through of setting up a LEMP stack

apt-get update && apt-get upgrade

hostnamectl set-hostname propJoe

dpkg-reconfigure tzdata

adduser miklb

adduser miklb sudo

$('.menu-ui a').on('click', function() {
// For each filter link, get the 'data-filter' attribute value.
var filter = $(this).data('filter');
$(this).addClass('active').siblings().removeClass('active');
markers.setFilter(function(f) {
// If the data-filter attribute is set to "all", return
// all (true). Otherwise, filter on markers that have
// a value set to true based on the filter name.
return (filter === 'all') ? true : f.properties[filter] === true;
});
// Via desktop admin using post-kinds
a: 2: {
s: 4: "type";a: 1: {
i: 0;s: 6: "h-cite";
}
s: 10: "properties";a: 8: {
s: 9: "published";a: 1: {
i: 0;s: 25: "2018-09-03T18:11:07-04:00";
}
s: 7: "updated";a: 1: {
@miklb
miklb / functions.php
Created April 1, 2018 23:43 — forked from gRegorLove/functions.php
WordPress filter to approve webmentions from previously-approved domains
<?php
if ( !function_exists('indieweb_check_webmention') ) {
/**
* Using the webmention_source_url, approve webmentions that have been received from previously-
* approved domains. For example, once you approve a webmention from http://example.com/post,
* future webmentions from http://example.com will be automatically approved.
* Recommend placing in your theme's functions.php
*
@miklb
miklb / functions.php
Last active February 28, 2018 16:49
Override ZenPress header image dimensions
function zenpress_setup()
{
// This theme supports a custom header
// Change the width and height here
$cooking_header_args = array(
'width' => 1250,
'height' => 400,
'header-text' => true,
);