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
#Requires AutoHotkey v2 | |
/* | |
KeyboardClean.ahk | |
------------------ | |
Temporarily disables keyboard input to allow cleaning while plugged in. | |
Version History: | |
v2.2 - 2025-02-24 (Re-enable keyboard on exit as a precaution) | |
v2.1 - 2025-02-22 (Merged enable/disable functions into a toggle) | |
v2.0 - 2025-01-14 |
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
#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. |
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
Asciidoctor Demo | |
================ | |
//// | |
Big ol' comment | |
sittin' right 'tween this here title 'n header metadata | |
//// | |
Dan Allen <[email protected]> | |
:description: A demo of Asciidoctor. This document + | |
exercises numerous features of AsciiDoc + |