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 | |
# -*- coding: utf-8 -*- | |
"""This script leverages the jamf-pro-sdk module to remove policies left over | |
from usage of the deprecated Jamf Remote app. | |
""" | |
import re | |
from jamf_pro_sdk import JamfProClient, PromptForCredentials |
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
10.3 (Panther): | |
https://swscan.apple.com/scanningpoints/scanningpointX.xml | |
10.4 (Tiger): | |
https://swscan.apple.com/content/catalogs/index.sucatalog | |
https://swscan.apple.com/content/catalogs/index-1.sucatalog | |
10.5 (Leopard): | |
https://swscan.apple.com/content/catalogs/others/index-leopard.merged-1.sucatalog |
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
<?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>RestartAction</key> | |
<string>RequireLogout</string> | |
<key>catalogs</key> | |
<array> | |
<string>testing</string> | |
</array> |
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 | |
### | |
# | |
# Name: ModifyAuthDBLoginMechs.sh | |
# Description: This script provides functions that can help Mac IT | |
# administrators modify and maintain the list of | |
# login mechanisms in the macOS authorization database. | |
# For details see: | |
# https://www.elliotjordan.com/posts/macos-authdb-mechs |
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/local/bin/managed_python3 | |
"""docklib_example.py | |
This example script demonstrates how Mac admins can use the docklib module to | |
manage the default state of Mac users' Docks. The script is meant to run at | |
login in user context using a tool like Outset or a custom LaunchAgent. | |
For details, see: https://www.elliotjordan.com/posts/resilient-docklib/ | |
""" |
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 | |
"""Given the path to a Markdown-formatted change log, this script will update | |
the diff links for each version at the bottom of the document. For an example | |
of the diff links, see: https://keepachangelog.com | |
Currently only supports GitHub, GitLab, and Bitbucket diff links. | |
""" | |
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 | |
### | |
# | |
# Name: ip_addresses.sh | |
# Description: A Casper extension attribute that displays the active IP | |
# addresses of the Mac. | |
# Author: Elliot Jordan <elliot@elliotjordan.com> | |
# Created: 2014-06-04 | |
# Last Modified: 2015-03-18 |
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/local/autopkg/python | |
# encoding: utf-8 | |
# PkgCreator to AppPkgCreator | |
# Copyright 2019-2021 Elliot Jordan | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
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
repos: | |
- repo: https://github.com/homebysix/pre-commit-macadmin | |
rev: v1.10.1 | |
hooks: | |
- id: check-autopkg-recipes | |
args: [ | |
"--recipe-prefix=com.pretendco.cpe.", | |
"--override-prefix=local.", | |
"--", | |
] |
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
repos: | |
- repo: https://github.com/homebysix/pre-commit-macadmin | |
rev: v1.10.1 | |
hooks: | |
- id: check-autopkg-recipes | |
args: [ | |
"--recipe-prefix=com.github.yourusername.", | |
"--strict", | |
"--", | |
] |
NewerOlder