Last active
July 27, 2020 13:28
-
-
Save svmihar/3a0e30084668e80d63e8de6c8fc5f7d7 to your computer and use it in GitHub Desktop.
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 characters
apt-get install tmux && pip install jupyter lab && \ | |
tmux && \ | |
jupyter lab --ip 0.0.0.0 --port 56784 |
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 characters
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