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/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
#!/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
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.", | |
"--strict", | |
"--", |
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", | |
"--", | |
] |
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", | |
"--", | |
] |
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."] | |
- id: forbid-autopkg-overrides | |
- id: forbid-autopkg-trust-info |
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 | |
""" | |
Name: anonymizer.py | |
Description: Simple Python script that anonymizes personal and company | |
information in an input file. Useful for running on logs | |
and Terminal outputs before sharing on GitHub or Slack. | |
Author: Elliot Jordan <elliot@elliotjordan.com> | |
Created: 2021-02-03 |
NewerOlder