Skip to content

Instantly share code, notes, and snippets.

@dakl
Created July 24, 2017 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dakl/4be757181da247ad10d557287bff7628 to your computer and use it in GitHub Desktop.
Save dakl/4be757181da247ad10d557287bff7628 to your computer and use it in GitHub Desktop.
#/usr/bin/env bash
sudo apt install -y bzip2 git htop
######################################################
# FISH SHELL
sudo su -
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/2/Debian_9.0/ /' > /etc/apt/sources.list.d/fish.list
apt-get update -y
apt-get install -y --allow-unauthenticated fish
exit
sudo chsh -s /usr/bin/fish danielk
######################################################
######################################################
# conda + python 2.7
curl -O https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
bash Miniconda2-latest-Linux-x86_64.sh -b
######################################################
######################################################
# dotfiles
cd $HOME
git clone https://github.com/dakl/dotfiles
cd $HOME/dotfiles
bash bootstrap.sh --force
cd $HOME
######################################################
######################################################
# py36 + friends
conda create -y -n main-dev python=3.6 numpy scipy scikit-learn jupyter matplotlib
# it's now possible to
# $ conda activate main-dev
# $ jupyter-notebook
# and then, in a separate terminain, forward port 8888 to localhost 8889 like so:
# gcloud compute ssh train-small -- -L8889:localhost:8888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment