Skip to content

Instantly share code, notes, and snippets.

View alienblast's full-sized avatar
💩
having a poo

Andy McVey alienblast

💩
having a poo
View GitHub Profile
@MatthewPierson
MatthewPierson / fix.sh
Created February 29, 2020 21:45
Fix for irecovery errors with PyBoot
#!/bin/bash
echo "Downloading and building libimobiledevice" # Just want to make sure theres no libimobiledevice related issues when installing libirecovery
brew install --HEAD libimobiledevice # This is just getting the latest libimobiledevice and building it instead of the older version that brew usually gets
brew link --overwrite libimobiledevice
echo "Downloading and building libirecovery"
mkdir -p build && cd build
@julianxhokaxhiu
julianxhokaxhiu / create-iso.sh
Last active October 17, 2024 08:46
Simple bash script to create a Bootable ISO from macOS Catalina Install Image from Mac App Store
#!/usr/bin/env bash
#===========================================================================
# Works only with the official image available in the Mac App Store.
# Make sure you download the official installer before running this script.
#===========================================================================
hdiutil create -o /tmp/Catalina.cdr -size 9000m -layout SPUD -fs HFS+J
hdiutil attach /tmp/Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build --nointeraction
hdiutil detach "/Volumes/Install macOS Catalina"
@jagdeepsingh
jagdeepsingh / README.md
Last active February 4, 2025 20:31
Set up macOS Catalina 10.15 with development tools | Git | Homebrew | rbenv | bundler | Atom | Databases | Node.js | Yarn | kubectl | Elastic Stack
@ChrisTollefson
ChrisTollefson / Boot Camp Assistant - USB Install Disk.md
Last active September 21, 2025 15:55
Boot Camp Assistant - Enabling creation of bootable USB disks for installing Windows
@vineyardbovines
vineyardbovines / macOS x arch linux
Last active July 21, 2025 05:40
dual booting arch linux on a macbook pro 12,1 (retina, 13", 2015)
#####################################################
# dual booting arch linux & macOS
# on a macbook pro 12,1
# ft. rEFInd
#
# this guide has been smashed together from a variety
# of other awesome guides out there for dual booting
# including but not limited to:
# mark nichols' 5 part guide: https://zanshin.net/2015/02/05/arch-linux-on-a-macbook-pro-part-1-creating-a-usb-installer/
# the arch linux docs: https://wiki.archlinux.org/index.php/mac#Arch_Linux_with_OS_X_or_other_operating_systems
@LukaHuang
LukaHuang / mac-apps.md
Created April 23, 2018 06:37 — forked from ankurk91/mac-apps.md
Mac OS Sierra Apps and configs

macOS Apps

Homebrew

xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
@cdleon
cdleon / macbook-pro-2011-defective-gpu-fix.md
Last active July 22, 2025 01:39
Macbook Pro 2011 GPU Defect fix macOS Sierra and High Sierra
@gregneagle
gregneagle / startosinstall_10.12.6_normalboot.txt
Last active February 6, 2024 07:28
Comparison of startosinstall's available options depending on boot OS environment
bash-3.2$ /Applications/Install\ macOS\ Sierra.app/Contents/Resources/startosinstall --usage
Usage: startosinstall --applicationpath <install macOS.app path>
Arguments
--applicationpath, a path to copy of the OS installer application to start the install with.
--license, prints the user license agreement only.
--agreetolicense, agree to license the license you printed with --license.
--rebootdelay, how long to delay the reboot at the end of preparing. This delay is in seconds and has a maximum of 300 (5 minutes).
--pidtosignal, Specify a PID to which to send SIGUSR1 upon completion of the prepare phase. To bypass "rebootdelay" send SIGUSR1 back to startosinstall.
--usage, prints this message.
@graphis
graphis / gist:7933ac36dd9bcdc45000aff65ef22907
Last active September 30, 2022 22:20
NVRAM and KEXT Cache Cleanup
#!/bin/sh
echo "NVRAM and KEXT Cache Cleanup"
sudo nvram -c
sudo purge
sync