Skip to content

Instantly share code, notes, and snippets.

@terminalkitten
terminalkitten / upgrade_driver.sh
Last active July 19, 2023 09:34
Update driver + CUDA
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo systemctl stop nvidia-persistenced
sudo apt remove -y --allow-change-held-packages libcuda1-384 nvidia-384
sudo apt-get purge nvidia-*
sudo apt install nvidia-418
@terminalkitten
terminalkitten / SketchSystems.spec
Created March 14, 2019 15:14
My Awesome Sketch
My Awesome Sketch
First State
some event -> Second State
Second State
@terminalkitten
terminalkitten / gzip-demo.py
Created March 6, 2019 00:03 — forked from dreikanter/gzip-demo.py
Create tar.gz archive with Python, unpack files back and check the result
# Python gzip demo: create and unpack archive
import os
import random
import string
import glob
import tarfile
import shutil
import filecmp