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/local/autopkg/python | |
| """ | |
| Integration test for GitHub token resilience. | |
| Exercises four new behaviors in autopkglib.github: | |
| 1. Malformed token (interior whitespace) is rejected, unauthenticated fallback | |
| 2. Token without a known prefix is accepted without warnings | |
| 3. Unauthenticated session can make a real API call successfully | |
| 4. Bad token triggers 401 -> anonymous retry -> result returned, warning shown |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 5.
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
| recipe,identifier,reason_category,codesign_evidence | |
| MLBZ521-recipes/Dropbox/Dropbox-Universal.download.recipe.yaml,com.github.mlbz521.download.Dropbox-Universal,Disallowed xattr / resource fork (Finder detritus),"/private/tmp/dmg.g3MVxs/Dropbox.app: resource fork, Finder information, or similar detritus not allowed" | |
| MichalMMac-recipes/inSSIDer/inSSIDer.download.recipe,com.github.michalmmac.download.inSSIDer,Disallowed xattr / resource fork (Finder detritus),"/private/tmp/dmg.bExJD0/inSSIDer.app: resource fork, Finder information, or similar detritus not allowed" | |
| ahousseini-recipes/MonitorControl/MonitorControl.download.recipe,com.github.ahousseini-recipes.download.MonitorControl,Disallowed xattr / resource fork (Finder detritus),"/private/tmp/dmg.FsOfXl/MonitorControl.app: resource fork, Finder information, or similar detritus not allowed" | |
| ahousseini-recipes/STARFACE/STARFACE.download.recipe,com.github.ahousseini-recipes.download.STARFACE,Disallowed xattr / resource fork (Finder detritus),"/private/tmp/dmg.s4 |
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"?> | |
| <!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 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 | |
| ### | |
| # | |
| # 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 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 | |
| """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 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/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 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
| 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 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
| 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 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
| 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 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
| 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