Skip to content

Instantly share code, notes, and snippets.

mrk25 subaddiction

Block or report user

Report or block subaddiction

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jmoz
jmoz / twitter_favouriter.py
Created Aug 1, 2013
Twitter API favouriter
View twitter_favouriter.py
from twitter import Twitter, OAuth, TwitterHTTPError
OAUTH_TOKEN = 'foo'
OAUTH_SECRET = 'bar'
CONSUMER_KEY = 'baz'
CONSUMER_SECRET = 'bat'
t = Twitter(auth=OAuth(OAUTH_TOKEN, OAUTH_SECRET, CONSUMER_KEY, CONSUMER_SECRET))
@elidickinson
elidickinson / max_width_email.html
Created May 6, 2013
Email Template trick: max-width with outlook
View max_width_email.html
<!--[if mso]>
<center>
<table><tr><td width="580">
<![endif]-->
<div style="max-width:580px; margin:0 auto;">
<p>This text will be centered and constrained to 580 pixels even on Outlook which does not support max-width CSS</p>
</div>
<!--[if mso]>
You can’t perform that action at this time.