Skip to content

Instantly share code, notes, and snippets.

View DickHorner's full-sized avatar
:octocat:
Request Pulling

J Luetkens DickHorner

:octocat:
Request Pulling
View GitHub Profile
@DickHorner
DickHorner / README.md
Last active July 26, 2026 15:13 — forked from SentaiBrad/README.md
Bundle Dude

Bundle Dude

A userscript that marks Steam games you already own, have wishlisted, or have ignored while browsing supported bundle and game-store websites. It also adds a direct Steam link where the page exposes a usable Steam product ID.

Current version: 2.9.13

What it does

The script reads Steam's logged-in store data and compares Steam app or package IDs with products shown by supported websites.

@DickHorner
DickHorner / landesarchiv.user.js
Last active May 3, 2026 10:42
Userscript: Landesarchiv Berlin: Bild öffnen
// ==UserScript==
// @name Landesarchiv Berlin: Bild öffnen
// @homepageURL https://gist.github.com/DickHorner/ff8ab6c321d46bde2cf63647c1bbc43a
// @namespace DickHorner
// @author Dick Horner
// @version 1.0.4
// @description Öffnet eingebettete Bilder in Landesarchiv-Findbuch-Ansichten per Klick als Rohbild in einem neuen Tab.
// @match https://www.landesarchiv-berlin.findbuch.net/*
// @match http://www.landesarchiv-berlin.findbuch.net/*
// @run-at document-start
@DickHorner
DickHorner / powershell-agent.instructions.md
Created December 4, 2025 06:57
AI Agent instructions for writing PowerShell scripts
description PowerShell development agent - robust, failsafe scripting with testing requirements
applyTo **/*.ps1, **/*.psm1, **/*.psd1

PowerShell Development Agent Instructions

Core Principles

1. Robust & Failsafe Code

<#
.SYNOPSIS
Restores all files from the Recycle Bin to their original locations.
.DESCRIPTION
This script enumerates all items in the Windows Recycle Bin and restores them
to their original folder locations and states before deletion. It handles
errors gracefully and provides detailed logging of the restoration process.
.EXAMPLE
@DickHorner
DickHorner / cgptfolderize.user.js
Last active January 8, 2026 11:31
Lightweight userscript to sort ChatGPT Chats in Folders
// ==UserScript==
// @name ChatGPT Sidebar Folders v9.4 (Modular)
// @namespace https://chatgpt.com
// @version 9.4
// @description Folder system for the ChatGPT sidebar (modular source, bundled build, debug counters)
// @author https://gist.github.com/DickHorner
// @match https://chat.openai.com/*
// @match https://chatgpt.com/*
// @grant GM_setValue
// @grant GM_getValue
@DickHorner
DickHorner / WizTree Report
Last active November 8, 2025 21:40 — forked from SMSAgentSoftware/New-WizTreeDiskUsageReport.ps1
Creates csv and html disk usage reports and then some, using WizTree portable.
# Script to export html and csv reports of file and directory content on the system drive
param(
[switch]$DryRun,
[string]$LogFile,
[int]$TopN = 100,
[switch]$ExportFull,
[switch]$Trace,
[switch]$UseTextFieldParser
)