-
-
Save bearpaw/b61bbec74b66c0170283ceafaf3af613 to your computer and use it in GitHub Desktop.
Revisions
-
bearpaw revised this gist
Mar 9, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ #!/usr/bin/env bash cd ~ wget https://repo.continuum.io/archive/Anaconda2-4.3.0-Linux-x86_64.sh bash Anaconda2-4.3.0-Linux-x86_64.sh -b echo 'PATH="/home/ubuntu/anaconda2/bin:$PATH"' >> .bashrc . .bashrc -
Jie Yang revised this gist
May 13, 2016 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ #!/usr/bin/env bash cd ~ wget http://repo.continuum.io/archive/Anaconda2-4.0.0-Linux-x86_64.sh bash Anaconda2-4.0.0-Linux-x86_64.sh -b echo 'PATH="/home/ubuntu/anaconda2/bin:$PATH"' >> .bashrc . .bashrc @@ -20,6 +20,7 @@ cd ~ sed -i "1 a\ c = get_config()\\ c.NotebookApp.certfile = u'$certdir/mycert.pem'\\ c.NotebookApp.keyfile = u'$certdir/mycert.key'\\ c.NotebookApp.ip = '*'\\ c.NotebookApp.open_browser = False\\ c.NotebookApp.password = u'$key'\\ -
Jie Yang revised this gist
Nov 12, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ cd ~ wget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda2-2.4.0-Linux-x86_64.sh bash Anaconda2-2.4.0-Linux-x86_64.sh -b echo 'PATH="/home/ubuntu/anaconda2/bin:$PATH"' >> .bashrc . .bashrc jupyter notebook --generate-config -
Jie Yang revised this gist
Nov 12, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,11 +16,11 @@ cd certs certdir=$(pwd) openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.key -out mycert.pem cd ~ sed -i "1 a\ c = get_config()\\ c.NotebookApp.certfile = u'$certdir/mycert.pem'\\ c.NotebookApp.ip = '*'\\ c.NotebookApp.open_browser = False\\ c.NotebookApp.password = u'$key'\\ c.NotebookApp.port = 8888" .jupyter/jupyter_notebook_config.py -
Jie Yang revised this gist
Nov 12, 2015 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,10 @@ #!/usr/bin/env bash cd ~ wget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda2-2.4.0-Linux-x86_64.sh bash Anaconda2-2.4.0-Linux-x86_64.sh -b echo 'PATH="/home/ubuntu/anaconda2/bin:$PATH"' >> .bashrc export PATH=/home/ubuntu/anaconda2/bin:$PATH jupyter notebook --generate-config -
Jie Yang revised this gist
Nov 8, 2015 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,6 @@ openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.key -out myce cd ~/.jupyter sed -i "1 a\ c = get_config()\\ c.NotebookApp.certfile = u'$certdir/mycert.pem'\\ c.NotebookApp.ip = '*'\\ c.NotebookApp.open_browser = False\\ -
Jie Yang created this gist
Oct 11, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ #!/usr/bin/env bash cd ~ wget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-Linux-x86_64.sh bash Anaconda-2.3.0-Linux-x86_64.sh -b conda update --all --yes --quiet jupyter notebook --generate-config key=$(python -c "from notebook.auth import passwd; print(passwd())") cd ~ mkdir certs cd certs certdir=$(pwd) openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.key -out mycert.pem cd ~/.jupyter sed -i "1 a\ c = get_config()\\ c.NotebookApp.pylab = 'inline'\\ c.NotebookApp.certfile = u'$certdir/mycert.pem'\\ c.NotebookApp.ip = '*'\\ c.NotebookApp.open_browser = False\\ c.NotebookApp.password = u'$key'\\ c.NotebookApp.port = 8888" jupyter_notebook_config.py