Skip to content

Instantly share code, notes, and snippets.

View quantike's full-sized avatar
🧙‍♂️

Ike quantike

🧙‍♂️
View GitHub Profile
@quantike
quantike / conventional.sh
Created May 23, 2025 03:31
An unfinished script to help with conventional commits
#!/usr/bin/env bash
VERBOSE=false
# Logs conventional outputs
log() {
if [ "$VERBOSE" = true ]; then
echo "$@"
fi
}
@quantike
quantike / git-dangle.sh
Created May 14, 2025 03:15
Find dangling code changes easily
#!/usr/bin/env bash
# Run this from the parent folder that holds all your projects
echo "Scanning $(pwd)..."
echo
for dir in */; do
# case: folder isn't a git repo
if [ ! -d "$dir/.git" ]; then
echo "🚫 $dir is not a Git repo (code here isn't tracked on GitHub)"