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
| #!/bin/bash | |
| osascript -e "set Volume 10" | |
| say "something" |
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
| #!/bin/sh | |
| ## postinstall | |
| # This script is for Pro Tools 11.3 - it performs functions that would normally ask for admin privileges when Pro Tools is launched for the first time. | |
| # It checks that Pro Tools has already been installed and will not run if it hasn't. | |
| if [[ -d "$3/Applications/Pro Tools.app" ]]; then | |
| echo "Pro Tools has been installed, running post-install tasks..." | |
| # Let's declare a couple of variables because the author is lazy |
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>Label</key> | |
| <string>uk.ac.uel.closingmessage2015</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper</string> | |
| <string>-windowType</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
| #!/bin/sh | |
| ########################### About this script ########################## | |
| # # | |
| # Purpose: Populates user name and email address settings # | |
| # for Lync for Mac. This script resides # | |
| # in /Library/talkingmoose/Scripts and is launched # | |
| # by launch agent net.talkingmoose.LyncSetup.plist. # | |
| # # | |
| # Created by William Smith # |
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>Label</key> | |
| <string>uk.ac.uel.LyncSetup</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>sh</string> | |
| <string>/Library/Application Support/UEL/bin/LyncSetup-1.3.sh</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
| #!/bin/bash | |
| username="$3" | |
| if [ -z "$username" ]; then # Checks if the variable is empty (user running script from Self Service) | |
| username="$USER" | |
| fi | |
| chown -R "$username" /Users/"$username"/Library/Application\ Support/Adobe | |
| exit 0 |
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>PayloadContent</key> | |
| <array> | |
| <dict> | |
| <key>PayloadContent</key> | |
| <dict> | |
| <key>com.microsoft.autoupdate2</key> |
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
| #!/bin/bash | |
| # Modified 2016-10-25 | |
| # delete_inactive_users.sh | |
| # Maintained at https://github.com/dankeller/macscripts | |
| # by Dan Keller | |
| # | |
| # Modified by Neil Martin - Age specified by $4 for use in multiple Casper policies | |
| # where different ages are required for different clients. | |
| # |
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
| #!/bin/bash | |
| availableupdates=`softwareupdate -l | grep "recommended" | sed "s/\*//g" | sed "s/$/,/g"` | |
| jamfHelper='/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper' | |
| title="UEL IT Services Message" | |
| icon="/System/Library/CoreServices/Software Update.app/Contents/Resources/SoftwareUpdate.icns" | |
| heading1="Software updates are available for your computer. " | |
| description1="Do you want to install them now? | |
| You can continue to use your computer during the installation. | |
| You may be asked to restart it when the installation is complete. |
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
| #!/bin/sh | |
| ## Script to detect and enumerate attached iLok Serial | |
| SERIAL=`system_profiler SPUSBDataType | grep -B 5 -i ': iLok' | grep 'Serial' | cut -f 2 -d ":" | sed -e "s/ //"` | |
| #SERIAL=`system_profiler SPUSBDataType | grep -B 5 -i ': iLok' | grep 'Serial'` | |
| if [[ "$SERIAL" == "" ]] | |
| then | |
| echo '<result>'No iLok Connected'</result>' | |
| else |