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
net user %USERNAME% /domain |
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
sudo chown root:wheel <path/to/file> |
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
launchctl list | grep <name> | |
launchctl load <path to script> |
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
sudo scutil --set ComputerName "newname" | |
sudo scutil --set LocalHostName "newname" | |
sudo scutil --set HostName "newname" | |
dscacheutil -flushcache |
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
defaults write com.foldingtext.FoldingText DefaultFileExtension md |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>channels</key> | |
<array> | |
<string>AdobeInDesignCCApplicationLanguageFilesen_GB-9.0</string> | |
<string>AdobeInCopyCCApplicationLanguageFilesnl_NL-9.0</string> | |
<string>AdobeColorCommonSetRGB-5.0</string> | |
<string>AdobeInDesignCCCommonLanguageFileszh_TW-9.0</string> |
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
system_profiler SPHardwareDataType | grep "Model Identifier" | awk '{ print $3; }' |
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
# CarbonCopyCloner Logger | |
# Chnage the CHANGEME text to match the name of your scheduled task... | |
cat /Library/Logs/CCC.log | grep "CHANGEME" | tail -n -1 |
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
mkdir /Volumes/DSPToolUpdate | |
mount_afp afp://ncs-mac-ds1.macnet.stamford.ac.uk/DPSToolsUpdate /Volumes/DSPToolUpdate | |
sudo /Volumes/DSPToolUpdate/AdobePatchInstaller.app/Contents/MacOS/AdobePatchInstaller –installSourcePath=/Volumes/DSPToolUpdate/payloads/ --mode=silent |
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
networksetup -setv6off Ethernet |