Cubans http://post.ly/vh1U #bermuda #cigars #embargo #travel
~Sat, 10:29 PM
Hot RT @rachel_bilson: if you haven’t seen it yet, check out the new Sunglass Hut Style Advisor Blog! :) http://bit.ly/cXKKBT
~Sat, 10:12 PM
Stupid. RT @jeremypiven: Great win, my God I love the underdog.
~Sat, 10:10 PM
@SaraBareilles your tweets suck. Stop being melodramatic and make sense.
~Sat, 10:09 PM
William & Mary sucks too. Losing to a bunch of UMass hippies? I blame Gene Nichol, Myles Brand, & the commies @ the NCAA. Griffins suck. #fb
~Sat, 10:04 PM
Water situation sucks. Everything. Bob Maynard. Assabet Water. HAHA Water Committee. You all suck ass. Hard. #fb
~Sat, 10:00 PM
B&T Ep. 7 Live Storm Footage http://post.ly/vezw #bermuda #travel #video
~Sat, 04:51 PM
B&T Ep. 6. TS Fiona Continuing Coverage http://post.ly/vW9i #bermuda #travel #video
~Fri, 09:08 PM
TS Fiona Activity Update: Watching Jersey Shore. Snookie is a pig. #fb
~Fri, 06:59 PM
B&T Ep. 5. TS Fiona Preview http://post.ly/vRy1
~Fri, 12:54 PM
Live feed tough. Bandwidth low. Will try again later. #fb
~Fri, 09:45 AM
I think the live feed from Bermuda is up. Stream is very slow. http://www.ustream.tv/channel/brm-mobile #fb
~Fri, 09:26 AM
B&T Ep. 4 – No T, Bike breakdown http://post.ly/vJg0 #beach #bermuda #moped #travel
~Thu, 08:49 PM
B&T Episode 3 – The Beach http://post.ly/v7Y3 #beach #bermuda #travel #video
~Wed, 10:17 PM
B&T Episode 2 http://post.ly/v3hF
~Wed, 03:24 PM
On plane. Vids and pics at http://blog.midwood.net #fb
~Wed, 10:05 AM
Brent and Trizzy Ep. 1 http://post.ly/uzuh #airport #travel #video
~Wed, 09:55 AM
Fanatic in PHL http://post.ly/uzCp #travel
~Wed, 08:41 AM
I just unlocked the “JetSetter” badge on @foursquare! http://4sq.com/9wTUSk
~Wed, 07:43 AM
Third tropical storm going after my vacation spot. This is just plain stupid. Fiona sucks. #fb
~Mon, 05:19 PM
Driving over the Sydney Harbour Bridge http://post.ly/uTRZ #2010 #australia #bridge #driving #harbour #nsw #sydney #travel #vacation
~Sun, 06:57 PM
Brent & Trizzy Show Bermuda Preview http://post.ly/uTMG #bermuda #humor #movie #travel #video #youtube
~Sun, 06:42 PM
It appears Hurricane Danielle will leave, we’ll fly in, and soon-to-be-Hurricane Earl will arrive. On our anniversary. Fun. #fb
~Thu, 09:10 AM
Rule #1 – Do not slow down in the rain http://post.ly/tg3F #drifting #driving #idiots #rules #videos #weather
~Wed, 09:01 AM
Crappy commute. Not allowed to punch anybody in the face at work, so I Facebook-assassinated a random friend. Made me feel better. #fb
~Wed, 07:12 AM
I’ve been slingin the python all morning. Means I’ve either been working at my desk or hookin to porn. Let your imagination decide. #fb
~Tue, 11:23 AM
TS Danielle is now a hurricane. Supposed to be next to Bermuda Sunday. My plane leaves Wednesday. Danielle is a bitch. #fb
~Tue, 06:52 AM
@jmielcarz I am leaving for Bermuda on Sept 1. Should I be scared by TS Danielle? #fb
~Mon, 12:41 PM
This is stupid. I want my old logo and lack of mascot back. RT @sportslogosnet: William and Mary introduces a new: http://bit.ly/aZ0Cz3 #fb
~Thu, 04:18 PM
Steamers pre-post-season update. Getting hot: http://www.steamershockey.com/steamers/2010/08/19/getting-hot/
~Thu, 02:33 PM
MidwoodPhoto.com – download pricing dropped: http://www.midwoodphoto.com/midwoodphoto/2010/08/19/download-pricing-updated/
~Thu, 10:48 AM
@MrHayabusa screw melting pot. proposed location is insensitive and inflamatory. thinking of building a bigass synagogue in mecca.
~Thu, 10:43 AM
Obama can shove the Ground Zero mosque up his un-American, foreigner-pandering ass. #fb
~Thu, 07:38 AM
Bike crash video http://post.ly/scM5
~Thu, 07:26 AM
A few more Hunter Valley photos http://post.ly/rrfj #australia #huntervalley #newsouthwales #pokolbin #travel #vacation #vineyards #wine
~Sat, 09:25 PM
Instead of surf n turf, tonight I had surf n turf n surf. #fb
~Sat, 08:02 PM
I just unlocked the “I’m on a boat!” badge on @foursquare! http://4sq.com/b3UwRI
~Sat, 05:40 PM
Did I really just miss three homers in a row? #fb
~Fri, 09:12 PM
An article that shared my opinion more eloquently than I could http://post.ly/re8L #groundzero #newsamppolitics #politicalcorrectness
~Fri, 10:09 AM
Surfer dude videotapes shark circling him http://post.ly/rd4D #scary #sharks #surfing #video #wildlife
~Fri, 08:16 AM
@thuggishSWAN that is a good lookin bike.
~Fri, 07:53 AM
I-495 all lanes closed this morning. Nothing beats sitting in a dead stop traffic jam staring into the sun with a hangover. #fb
~Fri, 07:52 AM
XM Radio Customer Service Sucks http://post.ly/rIWw
~Wed, 11:10 AM
My Eating Trends http://post.ly/r5lx #beer #food #health #wine
~Tue, 07:52 AM
I just ousted Courtney M. as the mayor of New England Sports Center on @foursquare! http://4sq.com/8YGorc
~Mon, 08:57 PM
Hunter Valley, NSW http://post.ly/qsBM #australia #huntervalley #newsouthwales #travel #vacation #vineyards #wine #wineries
~Sun, 11:00 PM
I’m at McCoy Stadium (1 Columbus Ave, Pawtucket) w/ 5 others. http://4sq.com/ds5Y29
~Fri, 07:11 PM
I just unlocked the “Bender” badge on @foursquare! http://4sq.com/97z0py
~Thu, 09:02 PM
I just earned the Ranger Pin on @gowalla! http://gowal.la/r/ZspJ
~Tue, 09:25 AM
I just unlocked the “Explorer” badge on @foursquare! http://4sq.com/aA6Sk0
~Tue, 09:19 AM
Building an “Islamic Center” at Ground Zero is a stupid, insensitive idea. Stop with the politically correct BS. #fb
~Tue, 07:25 AM
RT @OldSpice: There’s nothing like the sound of a mandolin as it breaks across another man’s face. #fb
~Tue, 04:30 AM
I just unlocked the “Super User” badge on @foursquare! http://4sq.com/bbLfuB
~Mon, 07:33 PM
Heidi Watney Bobblehead Day http://post.ly/pmKN #baseball #bobblehead #heidiwatney #hotties #lowellspinners #nesn #sports #video #youtube
~Sun, 07:13 PM
Heidi Watney @ the Lowell Spinners game http://post.ly/pke8 #baseball #heidiwatney #hotties #lowell #nesn #sports
~Sun, 01:49 PM
Waiting in line for Heidi Watney bobblehead at Spinners game. (@ Edward A. LeLacheur Park w/ 2 others) http://4sq.com/9USXPV
~Sun, 11:48 AM
Eurostar from London to Brussels http://post.ly/pjiX #belgium #brussels #england #europe #eurostar #greatbritain #train #travel #vacation
~Sun, 11:21 AM
The Carriages http://post.ly/pdMX #accommodation #australia #huntervalley #thecarriages #travel #vacation #vineyard
~Sat, 03:28 PM
I love it. RT @the_ironsheik: my dick put stop the whole in oil spill, then i have the latino sex with the jennifer lopez. #fb
~Fri, 10:26 AM
Video: Awesome Icelandic soccer celebration http://post.ly/pJSv
~Thu, 09:39 AM
Use Your Cell Cam, Go to Jail http://tinyurl.com/33akte3 #fb
~Thu, 08:17 AM
I can bring fish back to life http://post.ly/p5fR #aquarium #fish #miracle
~Tue, 10:38 PM
Judge = Right. Jill Seward = Wrong. http://post.ly/p31r #politicalcorrectness #sports
~Tue, 03:06 PM
Iron Sheik is bigtime smart and will two by four dick whip your ass. RT @the_ironsheik: Fuck the goldigger wife Linda Hogan. #fb
~Tue, 02:34 PM
I just earned the Instamatic Film Pin on @gowalla! http://gowal.la/r/XACo
~Mon, 01:57 PM
@evernote You guys need to add the awesome shared notebook feature to the mobile client soon. My wife wants a shared iPhone grocery list.
~Fri, 11:23 PM
RT @WhalerWatch: Former Whaler Randy Cunneyworth named coach of AHL Hamilton Bulldogs http://tgam.ca/gNY (via @globeandmail) #fb
~Thu, 02:20 PM
I just unlocked the “Adventurer” badge on @foursquare! http://4sq.com/cukU1H
~Wed, 07:50 PM
I just earned the Sightseer Pin on @gowalla! http://gowal.la/r/WmfS
~Wed, 07:43 PM
Adrianne Curry gets good abs http://post.ly/oBco #exercise #sexy #video #youtube
~Wed, 03:30 PM
Correct ruling. RT @ctsportslaw: Judge Underhill rules that cheerleading is not a sport for Title IX compliance – Quinnipiac volleyball case
~Wed, 02:37 PM
YOU GONNA DIE!: ExtremeShock, The World’s Premier Anti-Terrorist Ammunition – Geekologie http://post.ly/oAs8
~Wed, 01:50 PM
Thanks @HtfdWolfPack – I won two free tix to a home game for this season. Fan them on Facebook: http://tinyurl.com/24lvk8s? #Hartford #fb
~Wed, 10:35 AM
Lillianfels and the Blue Mountains http://post.ly/o4ct #australia #katoomba #lillianfels #newsouthwales #threesisters #travel #vacation
~Tue, 10:41 PM
‘Flying Pasties’ Attempt to Hide Your Nakedness from Full-Body Scanners || Jaunted http://post.ly/o0w2
~Tue, 12:54 PM
I am now 1-0 in net when playing hockey games during a tornado warning. If somebody could set that up 4 me next week, I’d appreciate it. #fb
~Tue, 09:21 AM
I just unlocked the “Local” badge on @foursquare! http://4sq.com/cXTpU6
~Tue, 08:58 AM
Fun. Tornado warning capable t-storm coming down Rt 2 right at my house. Weather dude on TV has a huge erection. #tornado #fb
~Mon, 07:36 PM
Tornado warning. Hiding in basement w/dog. Better not screwup my hockey schedule. #tornado #fb
~Mon, 07:23 PM
How to get a Twitter digest into Posterous http://post.ly/ns2e #api #code #programming #python #script #twitter
~Mon, 01:55 PM
It is relatively close to 12:53pm local time.
~Mon, 12:53 PM
#!/Library/Frameworks/Python.framework/Versions/Current/bin/python
import sys
import getopt
import twitter
import smtplib
import datetime
import time
import xoauth
import base64
from email.MIMEMultipart import MIMEMultipart
import calendar
from email.MIMEBase import MIMEBase
from email.MIMEText import MIMEText
from email.Utils import COMMASPACE, formatdate
def usage():
print"Usage: %s <twitter-username> <num-days-back>
<max-tweets>" % sys.argv[0]
def main(argv):
try: opts, args = getopt.getopt(sys.argv[1:], "h", ["help"])
except getopt.GetoptError, e:
print "Illegal options..."
usage()
sys.exit(1)
for o, a in opts:
if o in ("-h", "--help"):
usage()
sys.exit()
else:
assert False, "Unhandled option"
if len(args) != 3:
print "Illegal args..."
usage()
sys.exit(1)
twittername = args[0]
try: daysadjust = int(args[1])
except ValueError:
print "Need an integer for <num-days-back>"
usage()
sys.exit(1)
try: maxtweets = int(args[2])
except ValueError:
print "Need an integer for <max-tweets>"
usage()
sys.exit(1)
secadjust = daysadjust * 24 * 60 * 60
secnow = time.mktime(datetime.datetime.utcnow().timetuple())
secback = secnow - secadjust
api = twitter.Api()
try: statuses = api.GetUserTimeline(twittername, maxtweets)
except:
print "Error when asking for statuses from Twitter -
private or bad username?"
sys.exit(1)
if len(statuses) <= 0:
print "Sorry - no tweets in that timeframe"
sys.exit()
message = "<markdown>\n"
for s in statuses:
if s.created_at_in_seconds >= secback:
timeobj =
time.localtime(calendar.timegm(time.strptime(s.created_at, "%a %b %d
%H:%M:%S +0000 %Y")))
message = message + "* " + s.text + " \n*~"
+ time.strftime("%a, %I:%M %p", timeobj) + "*\n\n\n"
message = message + "</markdown>\n"
message = message.encode('ascii', 'ignore')
print message
gmailUser = ''your@emailaddressgoeshere.com"
recipient = ''posterous@posterous.com"
subject = 'Latest Tweets ((tag: twitter, tweets, digest))'
oauth_token = "Your-Oauth-token-goes-here"
oauth_token_secret = "Your-Oauth-secret-goes-here"
consumer = xoauth.OAuthEntity("anonymous", "anonymous")
access_token = xoauth.OAuthEntity(oauth_token, oauth_token_secret)
xoauth_string = xoauth.GenerateXOauthString(consumer,
access_token, gmailUser, "smtp", None, None, None)
smtp_hostname = "smtp.googlemail.com"
smtp_conn = smtplib.SMTP(smtp_hostname, 587)
smtp_conn.set_debuglevel(True)
smtp_conn.ehlo('test')
smtp_conn.starttls()
smtp_conn.docmd('AUTH', 'XOAUTH ' + base64.b64encode(xoauth_string))
msg = MIMEMultipart()
msg['From'] = gmailUser
msg['To'] = recipient
msg['Date'] = formatdate(localtime=True)
msg['Subject'] = subject
msg.attach( MIMEText(message) )
smtp_conn.sendmail(gmailUser, recipient, msg.as_string())
smtp_conn.close()
if __name__ == '__main__':
main(sys.argv[1:])
It is relatively close to 12:53pm local time.
~Mon, 12:53 PM
Wife out of town = catfish meuniere amandine, lobster bisque, and peas for dinner. Next is the Cajun Mistress, which may be a euphemism.
~Sun, 08:44 PM
The Cove – one more reason I won’t go to Japan http://post.ly/nbwi
~Sat, 02:25 PM
I just earned the Wanderer Pin on @gowalla! http://gowal.la/r/JNX9
~Fri, 08:22 PM
I’m at The MITRE Corporation (202 Burlington Road, Bedford). http://4sq.com/9UpX2A
~Thu, 07:53 PM
I just unlocked the “Newbie” badge on @foursquare! http://4sq.com/c00FLj
~Thu, 07:53 PM
I’m at The MITRE Corp in Bedford, MA http://gowal.la/r/FxPK
~Thu, 07:51 PM
I just earned the Going Out Pin on @gowalla! http://gowal.la/r/EULu
~Thu, 04:26 PM
NAACP being rational again http://post.ly/nInn #liberalweirdos #naacp #politics
~Thu, 10:23 AM
Scientist: We Have Proof That The Chicken Came Before The Egg [Mysterysolved] http://post.ly/nIe2
~Thu, 10:06 AM
Mel Gibson with the greatest quote a man has ever uttered: “I deserve to be blown first, before the fucking jacuzzi”
~Wed, 10:39 AM
OldSpice Man Rules http://post.ly/n96w #awesome #video #youtube
~Wed, 08:59 AM
@OldSpice -You are awesome but you destroy my productivity. Please reconcile yr awesomeness w/ my inability 2 look away from yr Youtube page
~Wed, 08:56 AM
Bring back the Whale. RT @sdpatrie: Saw a family wearing Hartford Whalers gear on the way home from work. You are not alone. #fb
~Wed, 07:23 AM
A couple more Blue Mountain hiking photos http://post.ly/n4wN #2010 #australia #bluemountains #hiking #katoomba #newsouthwales #travel
~Tue, 09:34 PM
More Blue Mountain Hiking Photos http://post.ly/n4vu #2010 #australia #bluemountains #hiking #katoomba #newsouthwales #travel #vacation
~Tue, 09:33 PM
I’m in. RT @RosemaryAiello: @brentmid RT @ZagatBuzz: Its almost time for Restaurant Week in Bean Town!
~Tue, 02:14 PM
I find the everyday lives of porn stars intriguing. RT @Alexis_Texas: Yea I have a day off!!! Running errands first stop the dentist!
~Tue, 02:14 PM
RT @JimNorton: Being reprted (by Opie & Anthony listenr) that George Steinbrenner died. Probly means he was releasd from hospitl healthy #fb
~Tue, 09:05 AM
My Favorite Quotes From the Latest Mel Gibson Rant (NSFW text) http://post.ly/n0CQ
~Tue, 08:51 AM