Skip to content

Instantly share code, notes, and snippets.

View tobiashochguertel's full-sized avatar
👋

Tobias Hochgürtel tobiashochguertel

👋
View GitHub Profile
@tobiashochguertel
tobiashochguertel / #git-submodule-manager-GistSummary
Last active April 17, 2026 14:19
git-submodule-manager: Comprehensive Git Submodule Management Tool - PEP 723 uv inline script with rich output and workflow automation
# 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
@tobiashochguertel
tobiashochguertel / #task-help-GistSummary
Last active April 17, 2026 14:19
task-help: pretty-print Taskfile tasks grouped by namespace with ANSI colours (PEP 723 uv inline script)
# 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
@tobiashochguertel
tobiashochguertel / jqlog.sh
Created February 22, 2026 09:48 — forked from panzi/jqlog.sh
Follow JSON logs formatted using jq. You can also pass jq options after the filename for filtering.
#!/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
// ==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==
@tobiashochguertel
tobiashochguertel / Add-Path.ps1
Last active September 20, 2015 19:33
Add-Path Cmdlet
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++"