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/zsh -eux | |
VERSION="$1" # ex. 24.002.20687 | |
VERSION="${VERSION:gs/\./}" # ex. 2400220687 | |
JAMF_UPLOAD_REPO="$HOME/src/github.com/grahampugh/jamf-upload" | |
JAMF_UPLOAD="${JAMF_UPLOAD_REPO}/jamf-upload.sh" | |
AUTOPKG_PREFS="$HOME/Library/Preferences/com.github.autopkg.plist" | |
test -n "${VIRTUAL_ENV}" |
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/zsh -eux | |
VERSION="$1" # ex. 24.002.20687 | |
VERSION="${VERSION:gs/\./}" # ex --> 2400220687 | |
curl -LO "https://ardownload2.adobe.com/pub/adobe/reader/mac/AcrobatDC/${VERSION}/AcroRdrDCUpd${VERSION}_MUI.dmg" | |
curl -LO "https://ardownload2.adobe.com/pub/adobe/acrobat/mac/AcrobatDC/${VERSION}/AcrobatDCUpd${VERSION}.dmg" | |
ADBTMP="$(mktemp -d)"; |
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
{ | |
"title": "", | |
"description": "", | |
"__version": "20230831.1205", | |
"__preferencedomain": "com.techsmith.camtasia2023", | |
"links": [ | |
{ | |
"rel": "Documentation Link", | |
"href": "https://support.techsmith.com/hc/en-us/articles/203727638-Enterprise-Install-Guidelines-For-Camtasia-on-macOS" | |
} |
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
#!/usr/bin/env/python3 | |
URL = "https://macadmins.psu.edu/conference/resources/" | |
LINK_TEXT = "Slides" | |
# ex. DOWNLOAD_PATH = "/Users/me/Documents/Sysadmin/Conferences/2023/PSU MacAdmins/Slides" | |
DOWNLOAD_PATH = "" | |
import os | |
import requests | |
import sys |
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
/* | |
* Jamf Pro API auth bearer token validator/helper | |
* | |
* Paste into: | |
* auth | |
* Create a token based on other authentication details (basic, etc.) | |
* Tests (tab) | |
* | |
* (Assumes you have an environment already set up with variables defined for | |
* baseUrl, basicAuthUsername, basicAuthPassword, and bearerToken) |
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
{ | |
"title": "AppArmor Desktop Notifications Mac App (com.cutcom.apparmor.apparmordesktopmac)", | |
"description": "Setting(s) for AppArmor’s Desktop Notifications for Mac app.", | |
"properties": { | |
"ServerURL": { | |
"title": "AppArmor URL for your org", | |
"description": "(ex. https://myschool.apparmor.com)", | |
"property_order": 1, | |
"type": "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 | |
# | |
# Created by jps3@lehigh.edu on ? (History empty) | |
# Updated by jps3@lehigh.edu on 2022-05-17 | |
# | |
# Jamf Pro Computer Extension Attribute to perform cursory check for macOS auto login user enabled | |
# https://gist.github.com/jps3/7777f263e0962db6423718b688db03d5 | |
# | |
# Jamf Pro > Settings > Computer Management > Extension Attributes | |
# Display Name : auto-login-user |
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 | |
# | |
# Created by jps3@lehigh.edu on 2020-?-? (History empty) | |
# Updated by jps3@lehigh.edu on 2022-05-17 | |
# | |
# https://gist.github.com/jps3/4f4cadc7f00c6108a87a0865651b5fe7 | |
# | |
# Jamf Pro > Settings > Computer Management > Extension Attributes | |
# Display Name : crowdstrike-falcon-sensor-version | |
# Description : Parses the output of the 'falconctl' command for the version string to report as a result. |
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 | |
# | |
# Created by jps3@lehigh.edu on 2021-08-22 | |
# | |
# Jamf Pro > Settings > Computer Management > Extension Attributes | |
# Display Name : firmwarepasswd-check | |
# Description : Report result of firmware password check. | |
# Data Type : String | |
# Inventory Display : Hardware | |
# Input Type : Script |
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 | |
# | |
# Created by jps3@lehigh.edu on 2022-05-17 | |
# | |
# Jamf Pro > Settings > Computer Management > Extension Attributes | |
# Display Name : system-last-boot-timestamp-utc | |
# Description : Queries system for timestamp of last boot. | |
# Data Type : Date (YYYY-MM-DD hh:mm:ss) | |
# Inventory Display : Extension Attributes | |
# Input Type : Script |
NewerOlder