This file contains 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
$MethodDefinition = @' | |
[DllImport("user32.dll", CharSet = CharSet.Unicode)] | |
public static extern int GetShellWindow(); | |
'@ | |
$User32 = Add-Type -MemberDefinition $MethodDefinition -Name 'User32' -Namespace 'User32' -PassThru | |
$ShellWindowHandle = $User32::GetShellWindow() | |
& cmd.exe /c Mystify.scr /p $ShellWindowHandle |
This file contains 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
*.dxf~ |
This file contains 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
; MouseKeys alternative | |
; | |
; Uses number pad when not locked | |
; | |
; left button | |
; 5 | |
; | |
; toggle hold left button (e.g. multi-select, drag) | |
; / | |
; |
This file contains 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 * zipAll( | |
iterables, | |
) { | |
const iterators = iterables.map(iterable => iterable[Symbol.iterator]()); | |
let { allDone, values } = iterateAll(iterators); | |
while (!allDone) { | |
yield values; | |
({ allDone, values } = iterateAll(iterators)); |