softwareupdate --list
sudo softwareupdate --verbose --install --all
COMPUTER_NAME="<computer-name>"
sudo scutil --set ComputerName $COMPUTER_NAME
| // selectorSupported lovingly lifted from the mad italian genius, diego perini | |
| // http://javascript.nwbox.com/CSSSupport/ | |
| function selectorSupported(selector){ | |
| var support, link, sheet, doc = document, | |
| root = doc.documentElement, | |
| head = root.getElementsByTagName('head')[0], | |
| impl = doc.implementation || { |
| [ | |
| { | |
| "keys": ["ctrl+w"], | |
| "command": "run_multiple", | |
| "args": { | |
| "commands": [ | |
| {"command": "find_under_expand", "args": null, "context": "window"}, | |
| {"command": "show_panel", "args": {"panel": "find"}, "context": "window"} | |
| ] | |
| } |
| // selectorSupported lovingly lifted from the mad italian genius, diego perini | |
| // http://javascript.nwbox.com/CSSSupport/ | |
| function selectorSupported(selector){ | |
| var support, link, sheet, doc = document, | |
| root = doc.documentElement, | |
| head = root.getElementsByTagName('head')[0], | |
| impl = doc.implementation || { |