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 | |
# Adobe Reader installer | |
# Based on https://github.com/mm2270/CasperSuiteScripts/blob/master/install_Latest_AdobeReader.sh | |
# Requires a downloaded Adobe Reader DMG | |
# Proxy if required | |
#export http_proxy="http://proxy.my.org:2010/" | |
#export https_proxy=$http_proxy | |
# Python file that determines the download URL |
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 | |
####################################################################### | |
# | |
# Remove Application Script for Jamf Pro | |
# | |
# This script can delete apps that are sandboxed and live in /Applications | |
# | |
# The first parameter is used to kill the app. It should be the app name or path | |
# as required by the pkill command. |
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/zsh | |
## Makes an icon set from a PNG. A 512x512 or 1024X1024 PNG is best. | |
## Taken from http://stackoverflow.com/a/31150333 | |
## Usage: ./make_icns.zsh </path/to/image.png> | |
NAME=$(basename $1 .png); DIR="$NAME.iconset" | |
mkdir -pv $DIR | |
for m r in 'n' '' '((n+1))' '@2x'; do | |
for n in $(seq 4 9 | grep -v 6); do |
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 | |
## postinstall script to remove CCDA applications | |
# remove any existing version of the tool | |
echo "Moving the CC Cleaner app to Utilities in case users need it later" | |
rm -rf /Applications/Utilities/Adobe\ Creative\ Cloud\ Cleaner\ Tool.app ||: | |
mv /Applications/Adobe\ Creative\ Cloud\ Cleaner\ Tool.app /Applications/Utilities/Adobe\ Creative\ Cloud\ Cleaner\ Tool.app | |
# run the cleaner tool to remove EVERYTHING! | |
echo "Running the CC Cleaner app with 'removeAll=All' option" |
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 | |
# original source Lyman Lai | |
# http://002.yaha.me/item/22728a58-c967-46d5-93eb-2649d684a9aa/ | |
# edited by G Pugh 2019-01-15 | |
STORE_FOLDER="/home/MySQL-Backups" | |
TODAY=$(date +"%Y-%m-%d") |
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 | |
: <<DESCRIPTION | |
JCDS2 package upload script | |
by Graham Pugh (@grahamrpugh) | |
1. Get a bearer token | |
2. Check for an existing package from the Classic API | |
3. Check for an existing package from the JCDS endpoint | |
4. Check that the checksum matches our local pkg |
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 | |
: <<DESCRIPTION | |
AWS S3 CDP package upload script | |
by Graham Pugh (@grahamrpugh) | |
1. Check for an existing package from the Classic API | |
2. Upload package to CDP if it's new or changed (this is tested by aws-cli using the sync command) | |
3. Upload the package metadata |
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
#!/usr/bin/env python3 | |
""" | |
A script to upload a package to the Jamf Cloud Distribution Point S3 bucket (JCDS 2.0) | |
Requirements from pip | |
boto3 | |
requests | |
""" |
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"?> | |
<computer_group> | |
<name>%GROUP_NAME%</name> | |
<is_smart>true</is_smart> | |
<criteria> | |
<criterion> | |
<name>Application Title</name> | |
<priority>0</priority> | |
<and_or>and</and_or> | |
<search_type>is</search_type> |
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"?> | |
<policy> | |
<general> | |
<name>%POLICY_NAME%</name> | |
<enabled>true</enabled> | |
<frequency>Ongoing</frequency> | |
<category> | |
<name>%POLICY_CATEGORY%</name> | |
</category> | |
</general> |
NewerOlder