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 -S uv run -- uvsr | |
| # /// script | |
| # dependencies = ["rich"] | |
| # /// | |
| """Greeting helper — can be imported from other PEP 723 scripts.""" | |
| def greet(name: str) -> str: | |
| return f"Hello, [bold green]{name}[/bold green]!" |
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
| # ide-settings-mgmt | |
| Multi-developer IDE settings management tool | |
| A PEP 723 uv inline Python script for managing IDE settings with: | |
| • Per-developer profiles stored in ~/.ide-settings-mgmt/ with chezmoi | |
| • Repository initialization with .ide-settings-mgmt/ structure | |
| • Lefthook integration for git hooks automation | |
| • Taskfile integration for IDE management tasks | |
| • Support for VS Code, JetBrains, and NeoVim |
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
| # playwright-visibility-debug | |
| Playwright visibility diagnostics CLI | |
| Bun-first TypeScript CLI for debugging UI visibility with: | |
| • DOM presence, viewport, style, and occlusion analysis | |
| • Multi-match selector handling with best-candidate selection | |
| • JSON reports, screenshots, presets, and Taskfile integration | |
| Install: curl -fsSL https://gist.githubusercontent.com/tobiashochguertel/bf7bc60f8946c7ecbe0d14782b4a8c99/raw/install.sh | bash |
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
| # git-submodule-manager | |
| Comprehensive Git Submodule Management Tool | |
| A PEP 723 uv inline Python script for managing git submodules with: | |
| • Rich terminal output with tables and colors | |
| • Status checking, workflow automation, JSON output | |
| • Automated pull/push workflows with correct order | |
| Install: curl -fsSL https://gist.github.com/tobiashochguertel/e07a0a79b3ce8e7d157405d6845e473e/raw/install.sh | bash |
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
| # task-help | |
| Pretty-Print Taskfile Tasks with Rich Grouped Output | |
| A PEP 723 uv inline Python script that displays Taskfile tasks grouped by | |
| namespace with ANSI colors, emoji headers, and customizable configuration. | |
| Install: curl -fsSL https://gist.github.com/tobiashochguertel/261c54d64fff6dc1493619e2924161b4/raw/install.sh | bash |
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/bash | |
| set -eo pipefail | |
| RED=$(echo -e '\033[0;1;31m') | |
| NORMAL=$(echo -e '\033[0m') | |
| if [[ $# -lt 1 ]]; then | |
| echo "usage: $0 <logfile> [jq-options...]">&2 | |
| exit 1 | |
| fi | |
| logfile=$1 | |
| shift |
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
| // ==UserScript== | |
| // @name TH-LoggingLib | |
| // @namespace https://github.com/tobiashochguertel/userscript-lib | |
| // @version 1.0.0 | |
| // @description Advanced logging system for UserScripts with level control | |
| // @author tobiashochguertel | |
| // @match *://*/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== |
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
| function Add-Path { | |
| <# | |
| .SYNOPSIS | |
| Adds a Directory to the Current Path | |
| .DESCRIPTION | |
| Add a directory to the current path. This is useful for temporary | |
| changes to the path or, when run from your profile, for adjusting | |
| the path within your powershell prompt. | |
| .EXAMPLE | |
| Add-Path -Directory "C:\Program Files\Notepad++" |