summary |
---|
I'm Vera, and this is my cheat-book. If you want correct, complete or add something, don't hesitate to do a pull request. Check out a smaller but uber-useful cheat sheet I found while writing this.
docker ps
docker exec -it [NAME] bash
docker attach -i [NAME]
docker build
docker-compose up
dvc and mlflow data science cookiecutter dvc.yaml schema git hook to avoid commiting large files
Why we have to test Why do so many incompetent men become leaders?
~.
to terminate the connection
# Let´´ connect to the machine
ssh -i ~/.ssh/odd -L 5901:localhost:5901 [email protected]
# Download nvidia drivers
curl 'http://us.download.nvidia.com/tesla/440.64.00/NVIDIA-Linux-x86_64-440.64.00.run' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Accept-Language: en,en-US;q=0.7,es;q=0.3' --compressed -H 'DNT: 1' -H 'Connection: keep-alive' -H 'Cookie: vid=dc0c1504-ba63-42cf-95c7-eba68721fd39' -H 'Upgrade-Insecure-Requests: 1' > NVIDIA-Linux-x86_64-440.64.00.run
chmod +x NVIDIA-Linux-x86_64-440.64.00.run
sudo ./NVIDIA-Linux-x86_64-440.64.00.run