Skip to content

Instantly share code, notes, and snippets.

View hollisn's full-sized avatar

Hollis Nolan hollisn

View GitHub Profile
sudo apt-get install htop
sudo apt-get install git
sudo apt-get install ntfs-3g
sudo apt-get install python-gpgme
sudo apt-get install vlc browser-plugin-vlc
# printer
sudo ln -s /etc/init.d/cupsys /etc/init.d/lpd
### Tensorflow
# cuda
# download cuda 8.0 and cd to the dir
sudo dpkg -i cuda-repo-ubuntu1604_8.0.44-1_amd64.deb
sudo apt-get update
sudo apt-get install cuda
# cuda toolkit (optional?)
sudo apt install nvidia-cuda-toolkit
nvcc --version
# cudnn
@hollisn
hollisn / Dune Generator.py
Created August 14, 2015 17:15
Generates more Dune
import random, string
def associated_words(f):
words, count, output = str.lower(file.read(f)).replace('\xe2\x80\x94', ''), -1, {}
for i in string.punctuation:
words = words.replace(i, '')
words = words.split()