Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 131ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
ryansch

ryansch

Joined 3 years ago

All gists 3
Recently created Least recently created Recently updated Least recently updated
ryansch

ryansch / plannotator-update

Last active 1 month ago
0 0 1
1 #!/usr/bin/env bash
2 #
3 # plannotator-update — update Plannotator, then re-apply the local --gate --json
4 # patch that the installer overwrites.
5 #
6 # The upstream `plannotator-annotate` skill invokes the binary with no flags.
7 # Ryan runs `permissions.defaultMode: auto`, so the plugin's plan-review hook
8 # never fires and `/plannotator-annotate` is the only path to an Approve button.
9 # `--gate` adds that button; `--json` makes Close emit {"decision":"dismissed"}
10 # instead of empty stdout and lets approve-with-notes survive. Flags go *before*
ryansch

ryansch / Setup script for docker

Last active 3 months ago
0 0 1
1 #!/bin/bash
2
3 set -euo pipefail
4
5 DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
6 . "$DIR/shared.sh"
7
8 echo "Updating packages"
9 apt-update
10 apt-upgrade
ryansch

ryansch / Gitea credential helper setup

Last active 3 months ago
0 0 2
1 [credential "https://git.ryansch.net"]
2 helper = osxkeychain
3 helper = oauth