Skip to content

Instantly share code, notes, and snippets.

View sidouglas's full-sized avatar

Simon Douglas sidouglas

  • Sydney, Australia
  • 17:57 (UTC -12:00)
View GitHub Profile
@koteitan
koteitan / claude-pushover.bash
Last active March 23, 2026 02:25
claude-pushover: send a push notification from claude code when the turn passes back to the user
#!/bin/bash
# claude-pushover - Send Claude Code conversation summary to Pushover
# push over https://pushover.net/ is a web API to make a push notification into iPhone App
# Configuration
SECURITY_MODE=0 # 0=off (detailed messages), 1=on (simple message only)
MAX_CHARS=800 # Maximum message length for Pushover
DEBUG_LOG="$HOME/claude-pushover-debug.log" # Debug log file
# Function to extract message from hook JSON input
get_hook_message() {
# Check security mode first
@yaoqiangpersonal
yaoqiangpersonal / .ideavimrc
Last active September 22, 2024 03:57
.ideavimrc
" 主要leader
let mapleader=' '
""" Plugins --------------------------------
set surround
set multiple-cursors
set commentary
set argtextobj
set easymotion
@servel333
servel333 / handlebars-operators.md
Created February 15, 2018 15:39
Handlebars {{#if (op ... )}} operators
@malclocke
malclocke / gist:943565
Created April 27, 2011 01:31 — forked from schacon/gist:942899
delete all remote branches that have already been merged into master
$ git branch -r --merged |
awk -F'/' '/^ *origin/{if(!match($0, /(>|master)/)){print $2}}' |
xargs git push origin --delete