@@ -0,0 +1,775 @@
+#!/usr/bin/python%0A%0A# Pull arbitrary sentences from the hipsteripsum %22API%22%0A# (If you want to call it that) and tweet them.%0A#%0A# Useful as a really simple tweeting machine if the%0A# hipsteripsum stuff is removed and new tokens added%0A%0Aimport twitter%0Afrom urllib2 import urlopen%0Afrom random import choice%0A%0Asentences = %5B%5D%0At = urlopen('http://hipsterjesus.com/api?paras=1&type=hipster-centric').read()%0A%0A# go go gadget shit data parsing:%0As = t.split('%22')%5B3%5D%5B3:%5D%5B:-5%5D%0A%0Afor i in s.split('.'):%0A%09sentences.append(i)%0A%0Ar = choice(sentences).strip()%0Aif len(r) %3E 1:%0A%09r = '%25s.' %25 (r.capitalize())%0A%0Aq = choice(r.split(' '))%0A%0Ar = r.replace(q, '#%25s' %25 (q))%0A%0Aapi = twitter.Api(consumer_key='XXXX',%0A%09consumer_secret='XXXX',%0A%09access_token_key='XXXX',%0A%09access_token_secret='XXXX')%0A%0Aapi.PostUpdate(r)%0A

Create twitter-hipsteripsum.py