Skip to content

Instantly share code, notes, and snippets.

@adur1990
adur1990 / bash_template.md
Last active March 13, 2024 08:47
Minimal safe Bash script template
#!/usr/bin/env bash

set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
trap '(read -p "[$BASH_SOURCE:$LINENO] $BASH_COMMAND")' DEBUG

script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)

usage() {
@adur1990
adur1990 / Upgrade Mac Mini 1,1 to Mac Mini 2,1.md
Last active September 27, 2024 15:55
Upgrade Mac Mini 1,1 to Mac Mini 2,1

Upgrade Mac Mini 1,1 to Mac Mini 2,1

Hardware Upgrade

Disclaimer: You are going to mess with your hardware and the lowest levels of your device. You should be somewhat savvy with the command line. I'm not responsible for any damage.

  • Make sure you have the latest version of Mac OS X Snow Leopard 10.6.8 intalled. Simply use the Software Updates tab in the System Preferences until no updates are available.