nohup /path/to/test.py > output.log & nohup python /path/to/test.py > output.log &
You can find the process and its process Id with this command:
ps ax | grep test.py
| from pyvis.network import Network | |
| g = Network(height="750px", | |
| width="80%", directed=True) | |
| g.toggle_hide_edges_on_drag(True) | |
| size_pos = len(list(dfs["DATOS DEL POSITIVO"]["NOMBRRE_COMPLETO"])) | |
| size_cont = len(list(dfs["DATOS DEL CONTACTO"]["NOMBRRE_COMPLETO"])) |
| from google.cloud import storage | |
| import os | |
| class FireBaseSync: | |
| def __init__(self, credentials_path = "Mnse-f823ecc07175.json", | |
| bucket_name = "musense.appspot.com"): | |
| # Set credentials | |
| os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = credentials_path |
nohup /path/to/test.py > output.log & nohup python /path/to/test.py > output.log &
You can find the process and its process Id with this command:
ps ax | grep test.py
| https://api.ipify.org/ |
ssh-keygen -t rsa -b 4096 -C "[email protected]"
eval ssh-agent -s
ssh-add ~/.ssh/
| git filter-branch --tree-filter 'rm -rf notebooks/fb_comments_emb.idx' -f HEAD |
Create pdf from jupyter w/out input
jupyter nbconvert --to pdf Analisis_Actas_piso22.ipynb --no-input
| # Split and expand string values into columns | |
| df[‘name’] = df.name.str.split(" ", expand=True) | |
| # GRoup by two columns | |
| gkk = df.groupby(['Team', 'Position']) | |
| # Merge two df with common columns |
| pipenv install flask gunicorn | |
| pipenv shell |