Skip to content

Instantly share code, notes, and snippets.

@hexsprite
hexsprite / pr-restack.sh
Created May 26, 2026 16:51
Rebuild a working branch by cherry-picking your open GitHub PRs onto fresh upstream main. Uses git rerere to replay conflict resolutions across runs.
#!/usr/bin/env bash
# pr-restack — rebuild a working branch by cherry-picking my open PRs
# on top of an upstream base. Relies on git rerere to replay conflict
# resolutions across runs.
#
# Usage:
# pr-restack # from inside any git repo with gh access
# pr-restack -b my-branch # custom branch name
# pr-restack -r upstream/main # custom base ref
# pr-restack -o origin -u upstream # remote names
@hexsprite
hexsprite / order-dispatch-decouple.md
Last active May 13, 2026 19:49
Gas City: Order Dispatcher Tracking-Bead Write Amplification — proposal

Order Dispatcher: Decouple Tracking-Bead Concerns

Eliminate Dolt write amplification by separating transient single-flight locks from durable audit history.

Status: proposal · Tracking: beads gc-klq · Author: gastown.mayor · Date: 2026-05-13 Related upstream: #1978 · #1510 · #1248 · #1709 · #1850 (PG backend) · #1977


Contents

@hexsprite
hexsprite / network_repro_matrix.sh
Created April 17, 2026 17:39
Network repro matrix script for comparing intermittent curl timing stalls across Macs
#!/usr/bin/env bash
set -euo pipefail
REQUESTS="${REQUESTS:-15}"
STALL_SECS="${STALL_SECS:-0.5}"
MAX_TIME="${MAX_TIME:-45}"
CONNECT_TIMEOUT="${CONNECT_TIMEOUT:-40}"
OUTFILE="${OUTFILE:-network_repro_$(date +%Y%m%d_%H%M%S).csv}"

Churches Using WhatsApp & AI Chatbots: Best Practices Research

Compiled February 2026


The Current Landscape

The church is at a significant inflection point with technology. According to the 2025 State of AI in the Church survey, nearly 90% of faith leaders now support using AI in some form of ministry, and 45% of church leaders actively use AI tools -- an 80% increase from the prior year. Yet a 2025 Pew Research study found that 73% of Americans say AI should play no role in advising people about their faith. This tension is worth sitting with, because it reveals something important: people are open to AI helping with logistics and access, but deeply wary of it stepping into sacred relational space.

# OpenClaw Implementation Prompts
Each prompt below is a self-contained brief you can hand to an AI coding assistant (or use as a project spec) to build that use case from scratch. Adapt the specific services to whatever you already use — the patterns are what matter.
---
## 1) Personal CRM Intelligence
```
Build me a personal CRM system that automatically tracks everyone I interact with, with smart filtering so it only adds real people — not newsletters, bots, or cold outreach.
@hexsprite
hexsprite / windows_and_office_kms_setup.adoc
Created February 3, 2024 20:58 — forked from jerodg/windows_and_office_kms_setup.adoc
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

@hexsprite
hexsprite / Output.png
Created October 5, 2023 18:22 — forked from sughodke/Output.png
Read Mail.app Database
Output.png
@hexsprite
hexsprite / onLoginUser.js
Created May 22, 2020 18:29
Meteor JS: client-side version of Accounts.onLogin
// client-side version of Accounts.onLogin
export function onLoginUser(hook) {
Meteor.subscribe('allUserData', () =>
Tracker.autorun(function (computation) {
// waiting for user subscription to load
if (!_.get(Meteor.user(), 'services.google')) {
return
}
// cancel autorun now that we've authenticated
computation.stop()
@hexsprite
hexsprite / mongoUpdate.ts
Created February 17, 2020 15:34
MeteorJS: apply a mongo update to an object "in-memory"
/** Given an object, apply a Mongo update and return the resulting document */
function mongoUpdate(obj: Action, update: any): Action {
const collection = new Mongo.Collection<Action>(null)
const objId = collection.insert(obj)
collection.update(objId, update)
return collection.findOne(objId)!
}
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"/imports/*": "./*"
}
}
}
---