Skip to content

Instantly share code, notes, and snippets.

@calum-github
calum-github / Google Chrome Master Preferences
Created January 7, 2016 01:53
Google Chrome Master Preferences
{
"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,
@calum-github
calum-github / Preferences
Created January 7, 2016 02:22
Preferences
{
"apps": {
"shortcuts_version": 2
},
"autofill": {
"use_mac_address_book": false
},
"browser": {
"check_default_browser": false,
"last_known_google_url": "https://www.google.com.au/",
@calum-github
calum-github / pre-install
Created January 7, 2016 02:33
pre-install
#!/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
@calum-github
calum-github / post-install
Created January 7, 2016 02:36
post-install
#!/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
#
@calum-github
calum-github / configure_dock.sh
Created January 11, 2016 23:17
dockutil script
#!/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 #
################################################################################
@calum-github
calum-github / gist:4a0256e8d213d4f1678f
Created February 9, 2016 22:55
RAM Check - With CD for dialogs
#!/bin/bash
########################################################################
# Author: Calum Hunter #
# Date: 04/02/2016 #
# Version: 0.1 #
# Purpose: Ensure we have atleast 4GB of RAM to play #
# #
########################################################################
@calum-github
calum-github / autopkg_cleanup.sh
Last active February 17, 2016 02:09
Remove old autopkg receipts plist
#!/bin/bash
##########################################################
# Date: 17-02-2016 #
# Author: Calum Hunter #
# Version: 0.1 #
# Purpose: Remove receipt plists from autopkg cache #
# after $x days #
##########################################################
@calum-github
calum-github / enable_fus.mobileconfig
Last active September 2, 2016 02:49
Enable Fast User Switching
<?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>.GlobalPreferences</key>
@calum-github
calum-github / Disable_FUS_Menu_Item.mobileconfig
Created March 7, 2016 05:24
Disable Fast User Switching Menu Item
<?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.apple.mcxMenuExtras</key>
#!/bin/bash
# Version 0.5
# Install check for the AD Bind Package.
# This script checks to see if 1. We are bound to AD and if our binding is working.
# If we are not bound, or our binding is broken, lets go ahead and try to rebind
#
# If we exit this script with 1, then we should _not_ attempt a rebind.
# If we exit this script with 0, then we _SHOULD_ attempt a rebind.