Last active
February 11, 2024 19:57
-
-
Save christian-ehrisman/0f80fb375da35135cf468f717c8b8595 to your computer and use it in GitHub Desktop.
Mac
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
snippits: | |
- name: "Whitelist App" | |
description: "Whitelist an app from the macOS Gatekeeper" | |
keywords: ["mac", "whitelist", "app", "gatekeeper", "install"] | |
code: | |
- command: "sudo xattr -r -d com.apple.quarantine <app_path>" | |
deps: | |
os: "mac" | |
vars: | |
app_path: | |
description: "Path to the app" | |
type: "string" | |
- name: "End Zscaler" | |
description: "Stop the Zscaler service" | |
keywords: ["kill", "zscaler", "end", "stop", "service"] | |
code: | |
- command: find /Library/LaunchAgents -name '*zscaler*' -exec launchctl unload {} \;;sudo find /Library/LaunchDaemons -name '*zscaler*' -exec launchctl unload {} \; | |
deps: | |
os: "mac" | |
related: ["Start Zscaler"] | |
- name: "Start Zscaler" | |
description: "Start the Zscaler service" | |
keywords: ["start", "zscaler", "service"] | |
code: | |
- command: open -a /Applications/Zscaler/Zscaler.app --hide; sudo find /Library/LaunchDaemons -name '*zscaler*' -exec launchctl load {} \; | |
deps: | |
os: "mac" | |
related: ["End Zscaler"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment