- K3S is a certified kubernetes distro for edge and other scenarios
- Rio simplifies application development on kubernetes
- WSL2 run linux on windows, nicer and more integrated than a traditional vm on hyper-v
- Windows 10 with WSL2 set as default
# Remove node_modules at a certain depth (assumes npm install -g rimraf has been done) | |
gci "$(pwd)/*/*/*" -Filter node_modules | %{ rimraf "$_" } |
#!/usr/bin/env pwsh | |
# Docker for Windows | |
$version='edge' | |
$progressPreference='SilentlyContinue'; | |
Invoke-WebRequest "https://download.docker.com/win/$version/Docker%20for%20Windows%20Installer.exe" -OutFile ~/downloads/docker-installer.exe; | |
Invoke-Item ~/downloads/docker-installer.exe; | |
# Enable Hyper-V | |
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All |
# This is for pwsh-preview. Remove -preview for pwsh | |
# https://www.thomasmaurer.ch/2019/07/how-to-install-and-update-powershell-7/ | |
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI -Preview" | |
# https://www.thomasmaurer.ch/2019/02/update-powershellget-and-packagemanagement/ |
#!/usr/bin/env pwsh | |
# NOTE: Strips out false and null. | |
(gc file1.json -raw) | jq '[paths(scalars) as $path | { ($path | map(tostring) | join(\".\")): getpath($path) } ] | add' |