Skip to content

Instantly share code, notes, and snippets.

View coutureb's full-sized avatar

BertBoy coutureb

View GitHub Profile
@coutureb
coutureb / _verify-repair-permissions-disk.md
Created September 14, 2025 17:47 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

@coutureb
coutureb / list_launchd_notifications.sh
Created April 20, 2025 18:24 — forked from dreness/list_launchd_notifications.sh
LaunchEvents -> com.apple.notifyd.matching
find /System/Library/LaunchDaemons /System/Library/LaunchAgents -name "*.plist" \
| while read p ; do plutil -convert json -o - ${p} \
| jq -r ' .. | objects | with_entries(select(.key == "Notification")) | select(. != {}).Notification'
done | sort -u > ~/Desktop/all-launchd-notifications.txt
@coutureb
coutureb / com.apple.Kerberos.kdc.md
Last active March 9, 2025 21:43
com.apple.Kerberos.kdc

If you don't like or need the kdc process on Mac OS X, which opens TCP port 88 to the world, you can disable it with launchctl.

Disable:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.Kerberos.kdc.plist

Enable:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.Kerberos.kdc.plist