Skip to content

Instantly share code, notes, and snippets.

@lovelace
lovelace / El Capitan Make ISO
Last active November 18, 2015 17:25 — forked from satmandu/mavericks make iso v1
Quick and Dirty make OS X El Capitan ISO on desktop. Note that you're going to have to enter your password for the sudo commands.
hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg
cd /tmp
hdiutil convert /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg -format UDRW -o ./RWBase
hdiutil convert -format UDSP -o ./sparseRWBase RWBase.dmg
rm ./RWBase.dmg
hdiutil resize -size 7g ./sparseRWBase.sparseimage
hdiutil attach -owners on ./sparseRWBase.sparseimage -shadow
sudo rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
sudo ditto /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation/Packages
sudo ditto /Volumes/OS\ X\ Install\ ESD/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/
@lovelace
lovelace / about.md
Last active December 20, 2015 13:09 — forked from jasonrudolph/about.md
@lovelace
lovelace / git-loglive
Last active December 19, 2015 06:48 — forked from tlberglund/git-loglive
#!/bin/bash
while :
do
clear
git --no-pager log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all $@
sleep 1
done