-
Instructions for cleaning git history (to reduce repository size)
-
To view all files under git version control (including old files that have been deleted),
git log --pretty=format: --name-only --diff-filter=A | sort -u
If apt is broken because of CUDA, try:
sudo rm /etc/apt/sources.list.d/cuda*
sudo apt --fix-broken install
-
Install Python 3.6 on Ubuntu 20.04:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
-
How to profile import speeds:
python -X importtime -c "import ketos.audio.spectrogram" 2> import.log
tuna import.log