Skip to content

Instantly share code, notes, and snippets.

View christian-ehrisman's full-sized avatar

Christian Ehrisman christian-ehrisman

View GitHub Profile
[tool.black]
target-version = ['py312']
line-length = 88
force-exclude = '''
/(
| docs
| setup.py
)/
'''
‎‎​
@christian-ehrisman
christian-ehrisman / templates.yml
Last active February 11, 2024 19:57
Templates
#templates
shell_template:
name: "shell_template"
description: ""
template: ""
keywords: [""]
code: # code/script that will be executed
- command: ""
type:
- name:
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:
‎‎​
@christian-ehrisman
christian-ehrisman / powershell.yml
Last active February 11, 2024 19:31
Powershell
template: "shell"
name: "FZF WinGet"
description: "Search winget with PSFzf"
keywords: ["winget", "search", "fzf", "install"]
code:
- command: '$search=""; Install-WinGetPackage (Find-WinGetPackage $search | Select-Object ID | fzf)'
type: "shell"
supported_os: ["windows"]
shell_types: ["powershell", "pwsh"]
required_shell_modules: