This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install coreutils from source on Mac OS X | |
| # prepare workspace | |
| mkdir -p ~/code/build-from-src/ && cd $_ | |
| # download source code | |
| curl -LO https://ftp.gnu.org/gnu/coreutils/coreutils-8.31.tar.xz | |
| # expand | |
| tar -xJvf coreutils-8.31.tar.xz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Create a bootable ISO from the OS X Mavericks app | |
| # http://thezinx.com/misc/trend/create-bootable-dmg-iso-mavericks-app/ | |
| if [ ! -f /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg ]; then | |
| echo "Download the OS X Mavericks App and then rerun this script." | |
| open "https://itunes.apple.com/us/app/os-x-mavericks/id675248567" | |
| exit 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #!/bin/sh | |
| # Download script written by Wowfunhappy. Last updated 2025/03/07. | |
| # Thank you to Krackers, Jazzzny, and others for helping analyze Apple's download process and debug this script. | |
| # Thank you to dosdude1 for donating identifiers from a broken Mac. | |
| # Any mistakes are mine alone. | |
| BOARD_SERIAL_NUMBER="C0243070168G3M91F" |
I've never had great understanding of launchctl but the deprecation of the old commands with launchctl 2 (10.10) has been terrible as all resources only cover the old commands, and documentation for Apple utilities is generally disgracefully bad, with launchctl not dissembling.
Mad props to https://babodee.wordpress.com/2016/04/09/launchctl-2-0-syntax/ which contains most details
Internally, launchd has several domains, but launchctl 1 would only ask for service names,
OlderNewer