Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View eriklincoln's full-sized avatar

Erik Lincoln eriklincoln

View GitHub Profile

Keybase proof

I hereby claim:

  • I am eriklincoln on github.
  • I am eriklincoln (https://keybase.io/eriklincoln) on keybase.
  • I have a public key ASA8UpdMf9TzmkAVOCp5vytXXHBMG47cEWDP0GY3JkC0pQo

To claim this, I am signing this object:

@eriklincoln
eriklincoln / dd_tracking.html
Created August 21, 2012 14:54
Center Aug. 21, 2012, Daily Disclosure tracking code
<!-- Place with body copy. Can go at bottom if story is not paginated. If story is paginated, please put on every page. -->
<div id="cpi_widget"></div>
<script type="text/javascript">(function() {document.getElementById('cpi_widget').innerHTML = '<iframe src=\"http://cloudfront-1.publicintegrity.org/widgets/syndication/node/10727?host='+escape(window.location.hostname)+'&href='+escape(window.location.href)+'&referrer='+escape(document.referrer)+'\" width=\"0\" height=\"0\" frameBorder=\"0\" style=\"border: none; background: transparent; width: 0px; height: 0px;\"></iframe>'})();</script>
@eriklincoln
eriklincoln / tracking.html
Created August 20, 2012 20:54
Center sea deaths tracking code
<!-- Place with body copy. Can go at bottom if story is not paginated. If story is paginated, please put on every page. -->
<div id="cpi_widget"></div>
<script type="text/javascript">(function() {document.getElementById('cpi_widget').innerHTML = '<iframe src=\"http://cloudfront-1.publicintegrity.org/widgets/syndication/node/10721?host='+escape(window.location.hostname)+'&href='+escape(window.location.href)+'&referrer='+escape(document.referrer)+'\" width=\"0\" height=\"0\" frameBorder=\"0\" style=\"border: none; background: transparent; width: 0px; height: 0px;\"></iframe>'})();</script>
@eriklincoln
eriklincoln / gist:3189379
Created July 27, 2012 17:58
Center UCLA tracking code
<!-- Place with body copy. Can go at bottom if story is not paginated. If story is paginated, please put on every page. -->
<div id="cpi_widget"></div>
<script type="text/javascript">(function() {document.getElementById('cpi_widget').innerHTML = '<iframe src=\"http://cloudfront-1.iwatchnews.org/widgets/syndication/node/10313?host='+escape(window.location.hostname)+'&href='+escape(window.location.href)+'&referrer='+escape(document.referrer)+'\" width=\"0\" height=\"0\" frameBorder=\"0\" style=\"border: none; background: transparent; width: 0px; height: 0px;\"></iframe>'})();</script>
@eriklincoln
eriklincoln / gist:3184497
Created July 26, 2012 21:04
Center Abrams tracking code
<!-- Place with body copy. Can go at bottom if story is not paginated. If story is paginated, please put on every page. -->
<div id="cpi_widget"></div>
<script type="text/javascript">(function() {document.getElementById('cpi_widget').innerHTML = '<iframe src=\"http://cloudfront-1.iwatchnews.org/widgets/syndication/node/10324?host='+escape(window.location.hostname)+'&href='+escape(window.location.href)+'&referrer='+escape(document.referrer)+'\" width=\"0\" height=\"0\" frameBorder=\"0\" style=\"border: none; background: transparent; width: 0px; height: 0px;\"></iframe>'})();</script>
@eriklincoln
eriklincoln / gist:3056576
Created July 5, 2012 21:25
Tracking for Black Lung
<div id="cpi_widget"></div><script type="text/javascript">(function() {document.getElementById('cpi_widget').innerHTML = '<iframe src=\"http://cloudfront-1.iwatchnews.org/widgets/syndication/node/9293?host='+escape(window.location.hostname)+'&href='+escape(window.location.href)+'&referrer='+escape(document.referrer)+'\" width=\"0\" height=\"0\" frameBorder=\"0\" style=\"border: none; background: transparent; width: 0px; height: 0px;\"></iframe>'})();</script>
@eriklincoln
eriklincoln / gist:2836416
Created May 30, 2012 13:44
OpenSecrets API call
$pacs = array(
'Priorities USA Action'=>'C00495861',
'Restore Our Future'=>'C00490045',
'Citizens for a Working America'=>'C00488767',
'Revolution'=>'C00499335',
'Endorse Liberty'=>'C00508002',
'Santa Rita'=>'C00508721',
'Winning Our Future'=>'C00507525',
'Strong America Now'=>'C00505081',
'Red, White and Blue Fund'=>'C00503417',