Skip to content

Instantly share code, notes, and snippets.

kill $(ps aux | grep './ngrok' | awk '{print $2}')
perl -pi -e 's|execution_count": null|execution_count": 1|g' course-v4/nbs/*ipynb
nohup jupyter notebook --no-browser --allow-root --ip=0.0.0.0&
git clone 'https://github.com/fastai/course-v4.git'
echo Setting up server...
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -q
sudo apt-get install -y nodejs -q
pip install jupyter jupyterlab --upgrade -q
pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install -q
pip install -r /content/course-v4/requirements.txt -q
wget -q -c -nc https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
unzip -qq -n ngrok-stable-linux-amd64.zip