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
<?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>ExtensionSettings</key> | |
<dict> | |
<!-- uBlock Origin --> | |
<key>cjpalhdlnbpafiamejdnhcphjbkeiagm</key> | |
<dict> | |
<key>installation_mode</key> |
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
<?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>BookmarkBarEnabled</key> | |
<true/> | |
<key>HomepageIsNewTabPage</key> | |
<false/> | |
<key>HomepageLocation</key> | |
<string>https://www.mastersny.org</string> |
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/sh | |
ATTR="com.TeamViewer.ConfigurationId" | |
CONFIG_ID="<your_custom_config_id>" | |
TVHOST="/Applications/TeamViewerHost.app" | |
STATUS=$(/usr/bin/xattr -l "$TVHOST") | |
# If no extended attribute present, write it | |
if [ "$STATUS" = "" ]; then | |
/bin/echo "Writing TeamViewer Host configuration ID ..." |
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 | |
# | |
# Script for running automated backups for Snipe-IT Docker containers and removing old backups | |
# | |
# Mean to be used as part of a crontab | |
# | |
# Limits its search for backups to clean up to those in the 'BACKUP_DIR' folder, so | |
# you can create folders in this location to keep any manual backups for historical purposes | |
# |
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 | |
# Downloads the latest TeamViewer Host package, effectively going to | |
# get.teamviewer.com/YOURCUSTOMHOSTURL in a browser. | |
######################################################## | |
LOGFILE="/Library/Logs/TeamViewerInstall.log" | |
DOWNLOADDIR="/Users/Shared" | |
# Ex. 12, 13, or 14 | |
MAJORVERSION="13" |
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
<?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>BookmarkBarEnabled</key> | |
<true/> | |
<key>HomepageIsNewTabPage</key> | |
<false/> | |
<key>HomepageLocation</key> | |
<string>https://yourhomepage.com</string> |
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 | |
jssurl="https://yourjss.com" | |
apiuser="yourapiuser" | |
apipass="yourapiuserpass" | |
serial=$(/usr/sbin/ioreg -rd1 -c IOPlatformExpertDevice | /usr/bin/awk -F'"' '/IOPlatformSerialNumber/{print $4}') | |
####### FUNCTIONS | |
clearfailedmdmcommands () { |
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/sh | |
OLD_APP="/Applications/Pen Tablet.localized/Pen Tablet Utility.app" | |
APP="/Applications/Wacom Tablet.localized/Wacom Tablet Utility.app" | |
OLD_EXE="${OLD_APP}/Contents/Resources/uninstall.pl" | |
EXE="${APP}/Contents/MacOS/Wacom Tablet Utility" | |
# If this app is installing, munki has detected we have a newer version. Therefore, if Wacom Tablet Utility already exists then we need to uninstall first | |
if [ -d "$OLD_APP" ]; then | |
sudo "$OLD_EXE" |
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/sh | |
MUNKI="/usr/local/munki/managedsoftwareupdate" | |
MUNKI_CACHE=$($MUNKI --show-config | /usr/bin/awk -F "'" '/ManagedInstallDir/{print $2}') | |
APPLESU_FILE="${MUNKI_CACHE}AppleUpdates.plist" | |
# Verify munki is installed | |
if [ ! -f "$MUNKI" ]; then | |
/bin/echo "Munki not installed. Exiting." | |
exit 1 |
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
<?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>Label</key> | |
<string>com.yourorg.reposado-reposync</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/docker</string> | |
<string>exec</string> |