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
| <# | |
| .SYNOPSIS | |
| Script to install Dev Tools on Windows Server (tested on 2022) | |
| .DESCRIPTION | |
| Reference script (gist) for manual execution on Windows Server 2022+. | |
| Requires user interaction for installations. Installs dev tools in order: | |
| 1. Microsoft.VCLibs (latest via GitHub winget-cli deps) | |
| 2. Microsoft.UI.Xaml (latest via GitHub API) | |
| 3. winget-cli (latest via GitHub API) | |
| 4. Microsoft.WindowsTerminal (latest via GitHub API) |
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
| // ==UserScript== | |
| // @name noVNC Paste for Proxmox | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.2a | |
| // @description Pastes text into a noVNC window (for use with Proxmox specifically) | |
| // @author Chester Enright | |
| // @match https://* | |
| // @include /^.*novnc.*/ | |
| // @require http://code.jquery.com/jquery-3.3.1.min.js | |
| // @grant none |
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
| #!/usr/bin/env python3 | |
| ''' | |
| A script to recursively compare two directories (including file size and file hash changes) | |
| Usage: python3 compare_dirs.py DIR1 DIR2 | |
| ''' | |
| import os, sys, hashlib, unicodedata | |
| COMPARE_FILES = True # should file sizes be compared if their names are the same? |