Skip to content

Instantly share code, notes, and snippets.

@lepras
lepras / Create a Bootable MacOS Recovery USB with Linux.md
Created August 2, 2024 11:09 — forked from coolaj86/Create a Bootable MacOS Recovery USB with Linux.md
How to create Apple's Bootable MacOS Rescue Image from Linux

See bootableinstaller.com

How to create a Bootable MacOS Recovery USB from Linux

If your Mac is out-of-order or you otherwise cannot download macOS from the App Store, you can still create a bootable OS X recovery USB, and you can use that to create an Installer USB.

The downloads used in this process are legal and freely avaliable - including disk images directly from Apple's IT support pages, and open source utilities for extracting and converting pkg, dmg, and HFS+.

@lepras
lepras / tab-display.sh
Last active January 17, 2023 08:43
Tablet Second Display
xrandr --newmode "800x1080_60.00" 72.00 800 856 936 1072 1080 1083 1093 1120 -hsync +vsync
xrandr --addmode VIRTUAL1 "800x1080_60.00"
xrandr --output VIRTUAL1 --mode "800x1080_60.00"
adb reverse tcp:5900 tcp:5900
x11vnc --clip 800x1080+1920+0 --localhost