Skip to content

Instantly share code, notes, and snippets.

@ksferguson
Last active September 18, 2018 23:55
Show Gist options
  • Save ksferguson/6fcfe9f9da260233c939c4dda47dd793 to your computer and use it in GitHub Desktop.
Save ksferguson/6fcfe9f9da260233c939c4dda47dd793 to your computer and use it in GitHub Desktop.
Dell 7559 w GPU Software Setup

Setup Notes for Ubuntu 16.04 on Dell 7559 w GPU

Software Setup List

Anaconda

Password Safe

Zotero

Google Drive - google-drive-ocamlfuse

#setup
sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt-get update
sudo apt-get install google-drive-ocamlfuse
#first time use
google-drive-ocamlfuse
...
#wait until token received response
mkdir ~/GoogleDrive
google-drive-ocamlfuse ~/GoogleDrive

#to unmount
fusermount -u ~/GoogleDrive

#to automount - add to ~/.profile
mount | grep "${HOME}/GoogleDrive" >/dev/null || /usr/bin/google-drive-ocamlfuse "${HOME}/GoogleDrive"

Zotfile

Install R + RStudio on Ubuntu 16.04

Atom, Hydrogen, Kernel

Lepton

Visual Studio Code

Conda Config for easy Notebook Kernel selection

#allows selection of specific environment in Jupyter notebook
conda install ipykernel
python -m ipykernel install --user --name=<your_env_name> --display-name "Your Env Name"
conda install nb_conda

#example - setup spaCy environment, creating a kernelspec
conda create --name myspacy python=3.6
. activate myspacy
conda install ipykernel
python -m ipykernel install --user --name=myspacy  
conda install nb_conda

#spaCy - default English model
conda install spacy
python -m spacy download en

When deleting an existing env where you have previously created a kernelspec (see above), you may need/want to delete said kernelspec here: ~.local\share\jupyter\kernels (so that it doesn't show up any longer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment