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 | |
| ########################################################## | |
| # Date: 17-02-2016 # | |
| # Author: Calum Hunter # | |
| # Version: 0.1 # | |
| # Purpose: Remove receipt plists from autopkg cache # | |
| # after $x days # | |
| ########################################################## |
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 | |
| ######################################################################## | |
| # Author: Calum Hunter # | |
| # Date: 04/02/2016 # | |
| # Version: 0.1 # | |
| # Purpose: Ensure we have atleast 4GB of RAM to play # | |
| # # | |
| ######################################################################## |
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 | |
| ################################################################################ | |
| # Author: Calum Hunter # | |
| # Date: 12/01/2016 # | |
| # Version: 1.91 # | |
| # Purpose: Default dock settings for user accounts # | |
| # Configured via Dockutil # | |
| # This should be run as a initial login script via LauchAgent # | |
| ################################################################################ |
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 | |
| # Author: Calum Hunter | |
| # Date: 06/01/2016 | |
| # Version: 0.2 | |
| # | |
| # Post-install for Chrome Preferences | |
| # Copy the Chrome template into the | |
| # System User Template | |
| # |
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 | |
| # Author: Calum Hunter | |
| # Date: 06/01/2016 | |
| # Version: 0.2 | |
| # | |
| # Pre-install for Chrome Preferences | |
| # Remove the existing preferences in the | |
| # System user template if they exist | |
| # Also remove the Google Master Preferences |
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
| { | |
| "apps": { | |
| "shortcuts_version": 2 | |
| }, | |
| "autofill": { | |
| "use_mac_address_book": false | |
| }, | |
| "browser": { | |
| "check_default_browser": false, | |
| "last_known_google_url": "https://www.google.com.au/", |
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
| { | |
| "homepage" : "http://www.YOURHOMEPAGE.au/", | |
| "homepage_is_newtabpage" : false, | |
| "browser" : { | |
| "show_home_button" : true, | |
| "check_default_browser" : false | |
| }, | |
| "distribution" : { | |
| "show_welcome_page" : false, | |
| "skip_first_run_ui" : true, |
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"> | |
| <array> | |
| <dict> | |
| <key>attributeSetting</key> | |
| <integer>0</integer> | |
| <key>choiceAttribute</key> | |
| <string>selected</string> | |
| <key>choiceIdentifier</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
| locate_printer_driver(){ | |
| # $1 is printer_make $2 is printer_model | |
| driver_location=$(zgrep -i -E "${1}.*${2}" /Library/Printers/PPDs/Contents/Resources/*.gz | grep -v "Fax" | awk -F ":" '{print $1}' | head -1) | |
| if [ -z "$driver_location" ]; then | |
| echo $(date "+%a %b %d %H:%M:%S") "- *** Error *** Unable to locate PPD for make: $1 model: $2" | |
| echo $(date "+%a %b %d %H:%M:%S") "" | |
| echo $(date "+%a %b %d %H:%M:%S") " - If you are sure the driver (PPD) is installed for this printer then" | |
| echo $(date "+%a %b %d %H:%M:%S") " - please check you are specifying the correct model code" | |
| echo $(date "+%a %b %d %H:%M:%S") " - for your printer as it is listed in the PPD file." | |
| echo $(date "+%a %b %d %H:%M:%S") "" |
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.Word</key> |