@@ -0,0 +1,1132 @@
+import sys%0Aimport os%0Afrom twython import Twython%0A%0AAPP_KEY = ' '%0AAPP_SECRET = ' '%0AOAUTH_TOKEN = ' '  # Access Token here%0AOAUTH_TOKEN_SECRET = ' '  # Access Token Secret here%0A%0Aapi = Twython(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET)%0A%0Acmd = 'boinccmd --get_project_status %7C grep %22user_total_credit%22'%0Aline = os.popen(cmd).readline().strip()%0Autc = line.split(': ')%5B1%5D%0Acmd = 'boinccmd --get_project_status %7C grep %22user_expavg_credit%22'%0Aline = os.popen(cmd).readline().strip()%0Auavgc = line.split(': ')%5B1%5D%0Acmd = 'boinccmd --get_project_status %7C grep %22host_total_credit%22'%0Aline = os.popen(cmd).readline().strip()%0Ahtc = line.split(': ')%5B1%5D%0Acmd = 'boinccmd --get_project_status %7C grep %22host_expavg_credit%22'%0Aline = os.popen(cmd).readline().strip()%0Ahavgc = line.split(': ')%5B1%5D%0Acmd = '/opt/vc/bin/vcgencmd measure_temp'%0Aline = os.popen(cmd).readline().strip()%0A%0Aapi.update_status(status='#EinsteinAtHome%5CnUTC '+utc+'%5CnUAvgC '+uavgc+'%5CnHTC '+htc+'%5CnHAvgC '+havgc+'%5CnCurrent CPU '+line+'%5Cn#RaspberryPi #BOINC')%0A%0A#print '#EinsteinAtHome%5CnUTC '+utc+'%5CnUAvgC '+uavgc+'%5CnHTC '+htc+'%5CnHAvgC '+havgc+'%5CnCurrent CPU '+line+'%5Cn#RaspberryPi #BOINC'%0A

Create boinctweetbot.py