Skip to content

Instantly share code, notes, and snippets.

@adur1990
adur1990 / bash_template.md
Last active December 20, 2020 11:58
Minimal safe Bash script template
View bash_template.md
#!/usr/bin/env bash

set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT

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

usage() {
  cat <<EOF
@adur1990
adur1990 / Upgrade Mac Mini 1,1 to Mac Mini 2,1.md
Last active November 10, 2020 11:28
Upgrade Mac Mini 1,1 to Mac Mini 2,1
View Upgrade Mac Mini 1,1 to Mac Mini 2,1.md

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.