First things first !
sudo apt update
sudo apt upgrade
sudo apt-get install build-essential git
@ECHO off | |
:top | |
CLS | |
ECHO Choose a shell: | |
ECHO [1] cmd | |
ECHO [2] bash | |
ECHO [3] PowerShell | |
ECHO [4] Python | |
ECHO. | |
ECHO [5] restart elevated |
#!/usr/bin/env python3 | |
from subprocess import run, PIPE | |
completed_process = run(["docker-machine.exe", "env", "--shell", "bash"], stdout=PIPE) | |
docker_env = completed_process.stdout.decode("ascii") | |
for line in docker_env.split("\n"): | |
if "DOCKER_CERT_PATH" in line: |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\