Skip to content

Instantly share code, notes, and snippets.

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

William Kennedy wjkennedy

💭
I may be slow to respond.
View GitHub Profile
:root {
color-scheme: light;
--canvas: #f4f4f0;
--surface: #ffffff;
--chrome: #e6e6e2;
--recessed: #d5d5d0;
--ink: #202020;
@wjkennedy
wjkennedy / elcheapo-llm-prep-a9
Created October 2, 2026 03:13
a9 el-cheapo llm prep
#!/usr/bin/env bash
set -Eeuo pipefail
# Install a local Ollama/Open WebUI/OpenCode workstation on Debian.
# This script deliberately never formats a disk. It expects an existing
# filesystem on DATA_DEVICE and uses it for all large application data.
DATA_DEVICE="${DATA_DEVICE:-/dev/sda1}"
DATA_MOUNT="${DATA_MOUNT:-/srv/ollama}"
MODEL="${MODEL:-qwen3.5:9b}"
@wjkennedy
wjkennedy / LLM-MCP-Docs.md
Created August 20, 2026 10:40
An LLM–MCP workflow for evidence-based product documentation

An LLM–MCP workflow for evidence-based product documentation

This workflow uses an LLM as the documentation coordinator and Model Context Protocol (MCP) tools as its controlled interface to the product. The objective is not simply to make screenshots. It is to produce a reproducible set of visual evidence that stays aligned with the product, protects user data, and can be revised without losing track of what each image proves.

The central rule is:

@wjkennedy
wjkennedy / din.json
Created June 2, 2026 19:28
Example din
{
"name": "Tinnitus Profile - 2026-06-02",
"timestamp": "2026-06-02T19:27:40.571Z",
"tones": [
{
"frequency": 11559,
"volume": 0.3,
"phase": "in",
"leftVolume": 0.5,
"rightVolume": 0,
@wjkennedy
wjkennedy / Forge.json
Last active March 10, 2026 08:35
Forge journey map
{
"id": "a38441ff-e6c4-44ef-99ec-b4c0363f1866",
"name": "Forge",
"description": "Atlassian Forge Journey",
"nodes": [
{
"id": "bf5d9d74-74ff-4678-aaa9-d410db034711",
"type": "touchpoint",
"label": "Greenlight App",
"position": {
@wjkennedy
wjkennedy / compareCloudKeysWithDC.gs
Created September 22, 2025 18:34
Process a list of DC appKeys with the Atlassian Marketplace API to find Cloud equivalents, pricing, etc.
function onOpen() {
SpreadsheetApp.getUi()
.createMenu('Atlassian Tools')
.addItem('Stage 1: Create Cloud/DC sheets from selection', 'createCloudDcSheetsFromSelection')
.addItem('Stage 2: Build consolidated comparison', 'buildComparisonFromCloudDcSheets')
.addToUi();
}
/**
* Stage 1: For each selected addon key, create two sheets:
@wjkennedy
wjkennedy / FetchAtlassianMarketplaceDCCloudPaths.gs
Created September 19, 2025 20:21
FetchAtlassianMarketplaceDCCloudPaths
function onOpen() {
SpreadsheetApp.getUi()
.createMenu('Atlassian Tools')
.addItem('Stage 1: Create Cloud/DC sheets from selection', 'createCloudDcSheetsFromSelection')
.addItem('Stage 2: Build consolidated comparison', 'buildComparisonFromCloudDcSheets')
.addToUi();
}
/**
* Stage 1: For each selected addon key, create two sheets:
@wjkennedy
wjkennedy / board_investigator.sql
Last active August 4, 2025 15:01
board_investigator
WITH board_base AS (
SELECT
rv."ID" AS board_id,
rv."NAME" AS board_name,
CASE
WHEN EXISTS (
SELECT 1
FROM "AO_60DB71_SPRINT" s
WHERE s."RAPID_VIEW_ID" = rv."ID"
)
@wjkennedy
wjkennedy / copyjirakey.bookmarklet
Created July 30, 2025 18:49
✂️ Copy Jira Key
javascript:(function(){function e(e){const t=document.createElement("span");t.textContent="✂️",t.className="scissors-copy-icon",t.style.marginLeft="6px",t.style.cursor="pointer",t.style.fontSize="90%",t.style.verticalAlign="middle",t.style.opacity="0.3",t.style.filter="grayscale(100%)",t.title=`Copy ${e} to clipboard`,t.onclick=n=>{n.stopPropagation(),navigator.clipboard.writeText(e).then(()=>{t.textContent="✅",t.style.opacity="0.6",t.style.filter="none",setTimeout(()=>{t.textContent="✂️",t.style.opacity="0.3",t.style.filter="grayscale(100%)"},1500)}).catch(e=>{console.error("Clipboard copy failed",e)})};return t}function t(){const t=document.querySelector('[data-testid="issue.views.issue-base.foundation.breadcrumbs.breadcrumb-current-issue-container"]');if(t&&!t.querySelector(".scissors-copy-icon")){const n=t.textContent.trim(),i=e(n);i.style.display="none",t.appendChild(i),t.addEventListener("mouseenter",()=>i.style.display="inline"),t.addEventListener("mouseleave",()=>i.style.display="none")}document.query
(function () {
function addCopyButton(container, keyText) {
// Prevent duplicate buttons
if (container.querySelector('.copy-issue-key-btn')) return;
const button = document.createElement('button');
button.textContent = 'Copy';
button.className = 'copy-issue-key-btn';
button.style.marginLeft = '8px';
button.style.cursor = 'pointer';