Skip to content

Instantly share code, notes, and snippets.

Create a secrets file:

touch ~/.secret

Make sure it looks like this:

#!/bin/bash
@kevin-smets
kevin-smets / macOS_virtualbox.sh
Last active October 22, 2023 13:01 — forked from ryanmaclean/el_capitan_dmg_virtualbox.sh
Convert macOS installer for use in VirtualBox
#!/bin/bash
# Disclaimer: never got this to work properly and have not attempted it since.
# This will require about 30GB of space, still in experimental phase right now
sudo gem install iesd
cd /Applications # Or wherever you hve the "Install 10.12 Developer Preview.app" available
iesd -i Install\ 10.12\ Developer\ Preview.app -o macos.dmg -t BaseSystem
hdiutil convert macos.dmg -format UDSP -o macos.sparseimage
#!/bin/bash
for f in *.sass; do sass-convert $f ${f%sass}scss ; done
rm *.scss