Skip to content

Instantly share code, notes, and snippets.

@svmihar
Last active July 27, 2020 13:28
Show Gist options
  • Save svmihar/3a0e30084668e80d63e8de6c8fc5f7d7 to your computer and use it in GitHub Desktop.
Save svmihar/3a0e30084668e80d63e8de6c8fc5f7d7 to your computer and use it in GitHub Desktop.
apt-get install tmux && pip install jupyter lab && \
tmux && \
jupyter lab --ip 0.0.0.0 --port 56784
import subprocess as sp
import os
cmd = ['apt-get update && apt-get upgrade -y', 'apt install zsh tmux vim git wget htop -y',
'pip uninstall enum34',
'pip install aenum',
'pip install gdown',
"git config --global user.email '[email protected]'", "git config --global user.name svmihar"]
for c in cmd:
sp.run(c, shell=True)
os.system('sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh) -y"')
print('\n\n\n\n\nfinished initializing')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment