Skip to content

Instantly share code, notes, and snippets.

@svmihar
Last active September 24, 2019 05:43
Show Gist options
  • Save svmihar/4d1bfc64f3bc677d97378ad15a1b282b to your computer and use it in GitHub Desktop.
Save svmihar/4d1bfc64f3bc677d97378ad15a1b282b to your computer and use it in GitHub Desktop.
import os, time
"""
1. install tmux
2. masuk tmux
3. install ngrok
4. ambil authtoken
5. ./ngrok authtoken ambil_authtoken
6. pip3 install jupyterlab pipenv
8. tmux
7. start jupyter lab
1. [email protected]
2. [email protected]
3. [email protected]
"""
os.system('sudo apt-get update')
os.system('apt install vim')
os.system('apt install tmux')
os.system('sudo apt-get install unzip wget')
os.system('cd ..')
# install ngrok
os.system('wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip && unzip ngrok-stable-linux-amd64.zip')
print('setting up git email and name')
os.system("git config --global user.email '[email protected]'")
os.system("git config --global user.name svmihar")
# install jupyter lab
os.system('pip3 install drive-cli pipenv fire tqdm fast-bert fastai selenium')
os.system('bash <(curl -fsSL https://raw.githubusercontent.com/liuchengxu/space-vim/master/install.sh)')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment