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++" |