Originally posted on: https://matheustguimaraes.com/blog/cuda-cudnn-ubuntu-installation
Update package lists, download and install NVIDIA driver
sudo apt-get update
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt install nvidia-410
Update package lists, download and install NVIDIA driver
sudo apt-get update
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt install nvidia-410
CTRL + A
— Move to the beginning of the lineCTRL + E
— Move to the end of the lineCTRL + [left arrow]
— Move one word backward (on some systems this is ALT + B)CTRL + [right arrow]
— Move one word forward (on some systems this is ALT + F)CTRL + U
— (bash) Clear the characters on the line before the current cursor positionCTRL + U
—(zsh) If you're using the zsh, this will clear the entire lineCTRL + K
— Clear the characters on the line after the current cursor positionESC + [backspace]
— Delete the word in front of the cursor#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import sublime_plugin | |
import subprocess | |
from time import sleep | |
import sys | |
cl = lambda line: subprocess.Popen(line, shell=True, stdout=subprocess.PIPE).communicate()[0].strip() | |
log = lambda message: sys.stderr.write("Log: %s\n" % message) |