- Install Git
- Create a GitHub account
- Open Terminal
/Applications/Utilities/Terminal.app
This file contains 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
#!/usr/bin/python2.7 | |
# -*- coding: utf-8 -*- | |
''' | |
Defaults Monitor - tool to sniff defaults keys and values using unified log | |
to launch use standard python 2.7, eg python2.7 ./defsmon.py | |
''' | |
import os |
This file contains 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
#!/usr/bin/python | |
import os | |
import sys | |
from CoreFoundation import (CFPreferencesAppValueIsForced, | |
CFPreferencesCopyAppValue, | |
CFPreferencesCopyValue, | |
kCFPreferencesAnyUser, | |
kCFPreferencesAnyHost, |
This file contains 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 | |
# remove_configdata_from_selected | |
# | |
# removes config-data attribute from selected update types: XProtectPlistConfigData, Gatekeeper Configuration Data | |
reposadoUser=reposado | |
reposadoGroup=admin | |
reposadoDir="/path/to/your/reposado" |
This file contains 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 | |
# save this file at /Library/yourorg/ScriptRunner.sh | |
script_path="${0}" | |
source_path=$(dirname "${script_path}") | |
chmod 777 "/var/log/yourorg-scriptrunner.log" | |
if [ -d "${source_path}/User Login Scripts" ]; then |