Skip to content

Instantly share code, notes, and snippets.

View abavisg's full-sized avatar
💭
Building

Giorgos Ampavis abavisg

💭
Building
View GitHub Profile
@abavisg
abavisg / nuke_claude.sh
Created November 17, 2025 10:03
Cleaning up Claude Code installation (in case you get paranoid)
#!/usr/bin/env bash
set -euo pipefail
echo "This script will:"
echo " 1. Uninstall @anthropic-ai/claude-code (global npm)."
echo " 2. Remove Claude Code config and state from your home folder."
echo " 3. Leave all project folders like ~/Workspace intact."
echo
read -r -p "Continue? [y/N] " ANSWER
@abavisg
abavisg / userdefaults_print.txt
Last active September 1, 2017 11:17
print UserDefaults
for (key, value) in UserDefaults.standard.dictionaryRepresentation() {
print("\(key) = \(value)")
}