Written by Paul Graham and copied from http://www.paulgraham.com/ideas.html
October 2005
(This essay is derived from a talk at the 2005 Startup School.)
| !apt-get --purge remove cuda nvidia* libnvidia-* | |
| !dpkg -l | grep cuda- | awk '{print $2}' | xargs -n1 dpkg --purge | |
| !apt-get remove cuda-* | |
| !apt autoremove | |
| !apt-get update | |
| !wget https://developer.nvidia.com/compute/cuda/9.2/Prod/local_installers/cuda-repo-ubuntu1604-9-2-local_9.2.88-1_amd64 -O cuda-repo-ubuntu1604-9-2-local_9.2.88-1_amd64.deb | |
| !dpkg -i cuda-repo-ubuntu1604-9-2-local_9.2.88-1_amd64.deb | |
| !apt-key add /var/cuda-repo-9-2-local/7fa2af80.pub | |
| !apt-get update |
Written by Paul Graham and copied from http://www.paulgraham.com/ideas.html
October 2005
(This essay is derived from a talk at the 2005 Startup School.)
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |