| /* | |
| KeyboardClean.ahk | |
| ------------------ | |
| Temporarily disables keyboard input to allow cleaning while plugged in. | |
| NOTE: Must be Run as Administrator to be 100% effective. | |
| Version History: | |
| v2.3 - 2026-02-24 Add note about Run as Administrator; misc AHK2 tweaking | |
| v2.2 - 2025-02-24 (Re-enable keyboard on exit as a precaution) |
| #requires -version 5.0 | |
| #requires -module PSReadline | |
| Function Optimize-PSReadLineHistory { | |
| <# | |
| .SYNOPSIS | |
| Optimize the PSReadline history file | |
| .DESCRIPTION | |
| The PSReadline module can maintain a persistent command-line history. However, there are no provisions for managing the file. When the file gets very large, performance starting PowerShell can be affected. This command will trim the history file to a specified length as well as removing any duplicate entries. |
| Asciidoctor Demo | |
| ================ | |
| //// | |
| Big ol' comment | |
| sittin' right 'tween this here title 'n header metadata | |
| //// | |
| Dan Allen <thedoc@asciidoctor.org> | |
| :description: A demo of Asciidoctor. This document + | |
| exercises numerous features of AsciiDoc + |