Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os.path
- !apt-get update
- !apt-get install boinc boinc-client
- !cp /usr/bin/boinc /content
- !cp /usr/bin/boinccmd /content
- if not os.path.exists('/content/slots'):
- !mkdir slots
- if not os.path.exists('/content/slots/0'):
- !boinc --daemon --attach_project "http://www.primegrid.com/" "paste-weak-key-here"
- else:
- !boinc --daemon
- !boinccmd --set_gpu_mode always
- !tail -f stdoutdae.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement