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
| param ( | |
| [switch]$RenameOrphanLayers | |
| ) | |
| If ($RenameOrphanLayers) { | |
| Write-Warning "$($env:COMPUTERNAME) -RenameOrphanLayers option enabled, will rename all orphan layers" | |
| } | |
| # Get known layers on Docker images | |
| [array]$ImageDetails += docker images -q | ForEach { docker inspect $_ | ConvertFrom-Json } |
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
| $m = '[DllImport("user32.dll", EntryPoint = "SystemParametersInfo")] public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint pvParam, uint fWinIni);'; | |
| $U = Add-Type -MemberDefinition $m -Name "User32Set" -Namespace Win32Functions -PassThru; | |
| $U::SystemParametersInfo(0x0071, 0, 1, 0) | Out-Null; | |
| Set-ItemProperty -Path "HKCU:\Control Panel\Mouse" -Name MouseSensitivity -Value 1; | |
| $U::SystemParametersInfo(0x0069, 100, 0, 0x01) | Out-Null; | |
| Set-ItemProperty -Path "HKCU:\Control Panel\Mouse" -Name WheelScrollLines -Value 100; |
This file has been truncated, but you can view the full file.
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
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
| 'use strict' | |
| const msg = 'This file is loaded from bl4de.tech domain and executed in context of ' + document.domain; | |
| console.log(msg) | |
| window['alert'](msg) |