Skip to content

Instantly share code, notes, and snippets.

View ryanbmarx's full-sized avatar

Ryan Marx ryanbmarx

View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

<script type='text/javascript'>
// Start by looking for a url variable. This is how we force one header or
// the other to test them. If there is a url variable, assign it to the rando
// variable. Otherwise generate a random number.
var pageUrl = window.location.href.split(/[?&]/),
rando;
if (pageUrl.length > 1){
for (let i=1; i< pageUrl.length; i++){
if (pageUrl[i].indexOf('header') > -1){