Skip to content

Instantly share code, notes, and snippets.

@hirefrank
hirefrank / 0.1.md
Last active October 20, 2026 12:02
Coaching pack rebuilt from spec by the pack-author dogfood (#675)

Coaching pack 0.1

coaching@0.1 is an external pack for a vault that tracks coaching clients and session packages. It is declarative: manifest.toml holds every claim, and the CLI supplies every parser, fold and finding. Nothing in this directory executes.

Enable it with packs = ["coaching@0.1"], or install it with confidant pack add --from-dir <this-directory> --yes.

@hirefrank
hirefrank / cursor-update.sh
Created October 15, 2026 21:39
Update the Cursor AppImage on Linux via the official api2.cursor.sh update channel (the one the app's own updater uses). Fixes stale third-party version mirrors.
#!/bin/bash
#
# cursor-update — Update the Cursor AppImage on Linux.
#
# Uses the official Cursor update API (api2.cursor.sh) — the same channel
# the app's built-in updater uses — so it always sees the latest release.
#
# Usage:
# cursor-update # Update to the latest version
# cursor-update 3.25.6 # Update to a specific version
@hirefrank
hirefrank / install-caprover.sh
Last active February 8, 2024 19:00 — forked from hivivo/install-caprover.sh
Install CapRover on a brand new Ubuntu 22.04 minimal server
#!/bin/bash
# Ubuntu 22.04
# Please also allow `80, 443, 3000` ports in the VM network rules if apply
# run as sudo
if [ "$EUID" -ne 0 ]
then echo "Please run as root or use sudo"
exit
fi
curl -X POST https://api.github.com/repos/hirefrank/kitchen.rodeo/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-H 'Authorization: token 8e38f322b9d65505c1c32bee128a28869e940d6f' \
--data '{"event_type": "ON_DEMAND_TEST"}'
@hirefrank
hirefrank / gist:9ad4961f9b3805adc618
Created August 28, 2014 19:49
Example IAM User Policy for Middleman S3 sync with Cloudfront
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": "arn:aws:s3:::my_bucket"
},
{
"Effect": "Allow",