Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
set -e -o errexit -o pipefail -o nounset
###################################
# This script can be used by itself, but it's recommended that you read
# a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/
###################################
# Do not modify these variables (set by Proxmox when calling the script)
vmId="$1"
@admo
admo / WindowsConsole.md
Last active June 10, 2019 08:16
WTK: Windows console

cmd.exe console

Colorful console

It allows to set the color scheme of the consoles. More information there.

Enable interpretation of the escape sequences

It is possible to enable interpret escape sequences (e.g. setting colors) for cmd console. Just add DWORD value named VirtualTerminalLevel set to 1 in HKEY_CURRENT_USER\Console. More information there.

Add old cmd to context menu in explorer.

Import context_menu_cmd.reg file into Windows' Registry.