Advertisement
MrVulcan

Code to find cure for COVID-19 with Colaboratory

Apr 16th, 2020
718
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.39 KB | None | 0 0
  1. import os.path
  2. !apt-get update
  3. !apt-get install boinc boinc-client
  4. !cp /usr/bin/boinc /content
  5. !cp /usr/bin/boinccmd /content
  6. if not os.path.exists('/content/slots'):
  7.   !mkdir slots
  8. if not os.path.exists('/content/slots/0'):
  9.   !boinc --daemon --attach_project "http://www.primegrid.com/" "paste-weak-key-here"
  10. else:
  11.   !boinc --daemon
  12. !boinccmd --set_gpu_mode always
  13. !tail -f stdoutdae.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement