Skip to content

How to run Jupyter

jupyter notebook password
#jupyter notebook --notebook-dir=/scrna-seq --ip='*' --port=12345 --no-browser --allow-root
jupyter notebook --notebook-dir=$HOME/scrna-seq --ip='*' --port=12345 --no-browser
jupyter notebook --notebook-dir="$(pwd)" --ip='*' --port=12345 --no-browser
jupyter notebook --notebook-dir="$(pwd)" --port=12345 --no-browser
jupyter notebook --notebook-dir="$(pwd)" --no-browser
jupyter lab --port=12345 --no-browser
# Not sure why anyone would want to do this, but if you want to run a shell in the container as jovyan instead of root and use sudo when needed: docker exec --user jovyan -it _container_id_ bash

#docker run -d -v $PWD:/home/jovyan/work -e GRANT_SUDO=yes --user root -p 8888:8888 jupyter/all-spark-notebook

Jupyter lab on Ubuntu 18.04 LTS AMD

pip install jupyterlab
jupyter lab

Joy-Preg Seurat_Velocity Pipeline Merged
Sat May  9 20:15:57 PDT 2020
Sat May  9 20:37:12 PDT 2020

date --date="Sat May  9 20:15:57 PDT 2020" '+%s'
date --date="Sat May  9 20:37:12 PDT 2020" '+%s'
date -d @1589080557
date -d @1589081832
echo "$((1589081832-1589080557))"
date -u -d @1275 +"%T"

Start=`date --date="Sat May  9 20:15:57 PDT 2020" '+%s'`
Stop=`date --date="Sat May  9 20:37:12 PDT 2020" '+%s'`
Diff="$(($Stop-$Start))"
echo $Diff
date -u -d @"$Diff" +"%T"

Start=`date '+%s'`
sleep 3
Stop=`date '+%s'`
Diff="$(($Stop-$Start))"
echo $Diff
date -u -d @"$Diff" +"%T"

Joy-Dynamic Merged Pipeline 
Sat May  9 20:39:26 PDT 2020
Published inUncategorized

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *