Skip to content

Instantly share code, notes, and snippets.

View grymoire7's full-sized avatar

Tracy Atteberry grymoire7

View GitHub Profile
{"type":"file-history-snapshot","messageId":"53ac629c-3bc2-4d23-b19f-2c76ef045901","snapshot":{"messageId":"53ac629c-3bc2-4d23-b19f-2c76ef045901","trackedFileBackups":{},"timestamp":"2026-02-28T07:15:30.013Z"},"isSnapshotUpdate":false}
{"parentUuid":null,"isSidechain":false,"userType":"external","cwd":"/Users/tracy/projects/jojo","sessionId":"fffccd8d-dc15-4a9f-940c-53c96a77c127","version":"2.1.62","gitBranch":"main","type":"progress","data":{"type":"hook_progress","hookEvent":"SessionStart","hookName":"SessionStart:clear","command":"'${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd' session-start"},"parentToolUseID":"2d29852b-ea4e-44d2-85a6-69e8cd15e741","toolUseID":"2d29852b-ea4e-44d2-85a6-69e8cd15e741","timestamp":"2026-02-28T07:15:29.744Z","uuid":"ea264dc7-ffe2-486a-b21f-4448a34d22fc"}
{"parentUuid":"ea264dc7-ffe2-486a-b21f-4448a34d22fc","isSidechain":false,"userType":"external","cwd":"/Users/tracy/projects/jojo","sessionId":"fffccd8d-dc15-4a9f-940c-53c96a77c127","version":"2.1.62","gitBranch":"main","type":"user
#!/bin/bash
CONFIG_FILE="$XDG_CONFIG_HOME/website_watch.json"
STATE_FILE="$XDG_STATE_HOME/website_watch_state.json"
LOCK_FILE="/tmp/website_watch.lock"
TMP_FILE=$(mktemp)
SCRIPT_PATH="$(readlink -f "${BASH_SOURCE[0]}")"
CRON_CMD="@daily bash $SCRIPT_PATH"
# Exit if another instance of the script is running
@grymoire7
grymoire7 / downlogs.rb
Created February 24, 2023 19:34
Download sematext logs
#!/usr/bin/env ruby
# Title: Download Sematext log files from S3
require 'date'
start_date = '2022-12-14'.freeze
end_date = '2021-12-15'.freeze
target_dir = "#{Dir.home}/Downloads/logs/".freeze
BUCKET_NAME = 'benchprep-sematext-production'.freeze

Stupid developer tricks: Get notified when a long running process ends

Prerequisites:

# stuff these into a shell startup file (like .zshrc)
alias imdone='afplay /System/Library/Sounds/Blow.aiff'
# if you want to play a sound at random then use the following line
# alias imdone='afplay "$(find /System/Library/Sounds -type f -name "*.aiff" | shuf -n 1)"'
alias iwatch='while true; do rm ./imdone; watch -g ls ./imdone; imdone; done'
@grymoire7
grymoire7 / keybase.md
Last active November 18, 2017 19:42
keybase.io proof

Keybase proof

I hereby claim:

  • I am grymoire7 on github.
  • I am grymoire (https://keybase.io/grymoire) on keybase.
  • I have a public key whose fingerprint is 41F9 0161 DEE5 1807 21DE FDC4 EBCB DE68 38F0 8421

To claim this, I am signing this object: