Skip to content

Instantly share code, notes, and snippets.

View icetimux's full-sized avatar

Timothy de Jongh icetimux

View GitHub Profile
@icetimux
icetimux / mac-audit.sh
Created September 30, 2025 08:30
A lightweight macOS audit script that generates a system report to flag suspicious processes, persistence, and unsigned binaries.
#!/usr/bin/env bash
# mac-audit.sh
# Run with sudo. Non-destructive. Produces /tmp/mac-audit-<timestamp>.txt
set -euo pipefail
OUT="/tmp/mac-audit-$(date +%Y%m%d-%H%M%S).txt"
ERR="/tmp/mac-audit-errs-$(date +%Y%m%d-%H%M%S).txt"
echo "mac-audit run: $(date -u)" > "$OUT"
echo "hostname: $(hostname -s)" >> "$OUT"
echo "user: $(whoami)" >> "$OUT"
@icetimux
icetimux / build-aseprite-intel-mbp2015.sh
Last active September 30, 2025 08:31
Build Aseprite from source on macOS Monterey (Intel MacBook Pro 2015)
#!/usr/bin/env bash
set -euo pipefail
# --------------------- Config ---------------------
WORKDIR="$HOME/Developer/Aseprite"
ASEPRITE_REPO="https://github.com/aseprite/aseprite.git"
SKIA_REPO_API="https://api.github.com/repos/aseprite/skia/releases/latest"
BUILD_TYPE="RelWithDebInfo"
DEPLOY_TARGET="12.0" # matches Monterey
# --------------------------------------------------