Skip to content

Instantly share code, notes, and snippets.

View rockbox-sync.sh
#!/usr/bin/env bash
# set -o nounset
# set -o errexit
########################################################
## Am I running this on my ZFS server or my Macbook?
if [[ $(uname) == "Darwin" ]]
then
music_mount_point="/Volumes/tank"
ipod_mount_point="/Volumes/IPOD"
transflac_path="$HOME/Documents/GitHub/transflac/transflac"
View disable_macos_11_services.sh
#!/usr/bin/env bash
# Taken from (and freely modified as no license was specified):
# https://gist.github.com/ecompayment/b1054421eb90f296bbca226683c7ff7e
# https://gist.github.com/pwnsdx/1217727ca57de2dd2a372afdd7a0fc21
# Before running this script, you must:
# - Disable FileVault (if it is enabled) Note: You will not be able to re-enable FileVault AND keep these customisations.
# - Reboot your Mac into Recovery Mode.
# - Select Terminal from top menu and run the following commands: