Skip to content

Instantly share code, notes, and snippets.

View yevster's full-sized avatar

Yev yevster

View GitHub Profile
# SPDX-License-Identifier: MIT
Set-PSReadlineOption -BellStyle None
Set-PSReadlineOption -EditMode Emacs
function Stop-AllContainers() {
docker ps -a -q | ForEach-Object { docker rm -f $_ }
}
New-Alias -Name massacre -Value 'Stop-AllContainers'
#!/bin/sh
#SPDX-License-Identifier: MIT
#Based on information from
#https://community.time4vps.com/discussion/364/ubuntu-xfce-usage-for-rdp-access-to-ubuntu-server
#First run:
sudo apt update