Skip to content

Instantly share code, notes, and snippets.

View risenowrise's full-sized avatar

RISE risenowrise

  • Lisbon, Portugal
View GitHub Profile
@superjax
superjax / incognito_claude.sh
Last active January 22, 2026 16:39
Run a claude code command without it showing up in claude history
#!/bin/bash
# Run claude and capture both the message and session ID
all_args="$@"
OUTPUT=$(claude -p "$all_args" --output-format json)
# Extract the commit message and session ID
# Claude outputs different schemas depending on whether "vebose" output is on.
# Try basic format (simple dict) first, fall back to "verbose" format (array of dicts with type=="result")
RESULT=$(echo "$OUTPUT" | jq -r '.result // empty' 2>/dev/null)
@b0gdanw
b0gdanw / Disable-Tahoe-Bloatware.sh
Last active February 24, 2026 18:02
Disable Tahoe Bloatware
#!/bin/zsh
# WARNING! The script is meant to show how and what can be disabled. Don’t use it as it is, adapt it to your needs.
# Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
# Disabling unwanted services on macOS Big Sur (11), macOS Monterey (12), macOS Ventura (13), macOS Sonoma (14), macOS Sequoia (15) and macOS Tahoe (26)
# Disabling SIP is required ("csrutil disable" from Terminal in Recovery)
# Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist
# To revert, delete /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist and reboot. From Terminal : sudo rm -r /private/var/db/com.apple.xpc.launchd/*
# user