- Install and configure Ubuntu WSL
- Install application
- Docker in Windows without Docker Desktop
- Docker/Kubernetes Clients
- Git tricks
See items marked with ❤️🔥 to use winning variants
See items marked with ❤️🔥 to use winning variants
https://docs.microsoft.com/ru-ru/windows/terminal/tutorials/powerline-setup - основная статья
https://docs.microsoft.com/en-us/windows/terminal/custom-terminal-gallery/powerline-in-powershell
https://www.ricalo.com/blog/install-powerline-windows/#install-and-configure-powerline-fonts ставим шрифты в wsl
Ставим импдементаци. powerline
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
// Name of the struct tag used in examples | |
const tagName = "validate" |
sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get dist-upgrade
See:
How to remove the Win10's PATH from WSL
Create or edit /etc/wsl.conf
[interop]
enabled=false # enable launch of Windows binaries; default is true
appendWindowsPath=false # append Windows path to $PATH variable; default is true
then wsl --shutdown
docker run -it -v $(pwd):/home/docker -v /var/run/docker.sock:/var/run/docker.sock -w /home/docker docker:19.03.8 /bin/sh
IN_CERTS=$(cat in.pem)
echo -e "$IN_CERTS" > ./tmp.pem
sed -i '/^[[:space:]]*$/d' ./tmp.pem
mkdir -p _certs
csplit -s -z -f './_certs/cert-' -b '%02d.crt' ./tmp.pem '/-----BEGIN CERTIFICATE-----/' '{*}'
find . -name "*.sh" -exec git ls-files -s {} \;
find . -name "*.sh" -exec git update-index --chmod=+x {} \;