Skip to content

Instantly share code, notes, and snippets.

@nathanph
Created February 26, 2016 19:11
Show Gist options
  • Save nathanph/ae1654a630a6785c8c9c to your computer and use it in GitHub Desktop.
Save nathanph/ae1654a630a6785c8c9c to your computer and use it in GitHub Desktop.
An alias for starting your Jupyter platform.
alias start-spark='sudo docker run -d -p 8888:8888 -p 4040-4050:4040-4050 -v /home/nate/audio-analysis:/home/jovyan/work/audio-analysis jupyter/all-spark-notebook start-notebook.sh --NotebookApp.notebook_dir=/home/jovyan/work/audio-analysis/; sudo docker rm $(sudo docker ps -a -q) &> /dev/null'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment