Skip to content

Instantly share code, notes, and snippets.

@benbreedlove
benbreedlove / bad_tweet_embed.html
Created June 17, 2019 20:14
This is some code that will cause the wp fbia plugin to throw fatal errors in unexpected places
<blockquote class="twitter-tweet" data-lang="en">
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Ferger Place Historic District<a href="https://t.co/atGXcNFbxU">https://t.co/atGXcNFbxU</a> <a href="https://t.co/iATarwphXn">pic.twitter.com/iATarwphXn</a></p>&mdash; Wiki Titles Singable to TMNT Themesong (@wiki_tmnt) <a href="https://twitter.com/wiki_tmnt/status/1140665423291023360?ref_src=twsrc%5Etfw">June 17, 2019</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></blockquote>
@benbreedlove
benbreedlove / gist:5578131
Created May 14, 2013 18:10
State abbreviations to state names
state_abbr = {
'AL' : 'Alabama',
'AK' : 'Alaska',
'AS' : 'America Samoa',
'AZ' : 'Arizona',
'AR' : 'Arkansas',
'CA' : 'California',
'CO' : 'Colorado',
'CT' : 'Connecticut',
'DE' : 'Delaware',