Skip to content

Instantly share code, notes, and snippets.

Yohan Boutin ybootin

View GitHub Profile
View appnexus-viewability-wrapper.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><VAST version="3.0"><Ad id="117572431"><InLine><AdSystem>adnxs</AdSystem><AdTitle><![CDATA[AppNexus Viewability Wrapper]]></AdTitle><Error><![CDATA[https://ams1-ib.adnxs.com/vast_track/v2?info=YgAAAAMArgAFAQlDlrdbAAAAABFbKck0hyk5WRlDlrdbAAAAACDPhog4KAAwqR84qR9A7aUzSLeIkQFQyeqJBlgAYgJGUmgAcAB4AIABAIgBAJAB2ASYAWmgAQCoAc-GiDg.&s=2d5bd6514f976a2db50f848b736a678cc7635be7&event_type=4&test=1&error_code=[ERRORCODE]]]></Error><Impression id="adnxs"><![CDATA[https://ams1-ib.adnxs.com/it?e=wqT_3QLHAqBHAQAAAwDWAAUBCMOs3t0FENvSpKbzsMqcWRijyaKosJ7Wln8qNgkAAAkCABEJBwgAABkRCQAhEQkAKREJADERCfCxMMnqiQY4qR9AqR9IAFDPhog4WABgAGgAeACAAQCYAQGgAQGoAQGwAQC4AQPAAQPIAQDQAQDYAQDgAQHwAQDYAgDgAgCAAwGIAwGQAwCYAxegAwCqAwDAA5AcyAMA2AMA4AMA6AMA-AMAgAQAkgQGL3V0L3YzmAQAqAQAsgQRCAAQARjYBCBpKAEoAjAAOAO4BADABADIBADaBAIIAeAEAPAEAIgFAZgFAKAFAMAFAMkFAAW6FPA_0gUJCQULoAAAANgFAOAFAPAFAPoFBAgAEACQBgCYBgC4BgDBBgAAAAAAAAAAyAYA&s=faf2fcf028c9d5de90ad051610a8b806d213a911&test=1]]></Impression><Creatives
View gist:8b8fa3fd2dad7e2533a1d88db7396abf
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDxiQNPOjUq3/BTLKbpWbqru0IR0j2wsjpM24NTBb/5UZw0B84zqnbKo38+TXWsjh+XQq8DUhjteFWUWSeoLzbR0Cn6t77S17+2vdrEY8nE4L7BX9HVMn7X/pBNnHtZXXjG2g3uclr1cVBoJruySS35na9DFfKrCaq1snkLyBZIIT2sWnyDdymMzFz82xwINyLld0h2t9FkN9/hGSR4Yd8g46lvBs/hV6g9Tpj7JEUAb3wk7S46ha5wALgaqO/oDeB35iZByjKaZjgEUwdZFC4h5Q8qXXaKUlS6s43r97DFSvBNTTopYlizQ0mhnmo5knW/BW85B4z7E8Qihj1WZTAv yohan@seedtag
@ybootin
ybootin / index.html
Last active Aug 10, 2018
Google IMA player - custom click element - click tracking debug page
View index.html
<!doctype html>
<html>
<head>
<title>VPAID Adapter test page</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E=" crossorigin="anonymous"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
View vpaid.html
<!doctype html>
<html>
<body>
<div id="vpaid-container">
<div id="video-container"></div>
<div id="ad-container" style="width:400px;height: 300px"></div>
</div>
<script>
var vpaidAd
var script = document.createElement('script')
View vast-wrapper.xml
<VAST version="3.0">
<Ad id="20011">
<Wrapper>
<AdSystem version="4.0">iabtechlab</AdSystem>
<VASTAdTagURI><![CDATA[https://bs.serving-sys.com/Serving?cn=display&c=23&pl=VAST&pli=24062546&PluID=0&pos=4378&ord=184750721&cim=1]]></VASTAdTagURI>
<Error>http://example.com/error</Error>
<Impression>http://example.com/track/impression</Impression>
<Creatives>
<Creative>
<Tracking event="start"><![CDATA[http://tracking-platform.com/track?action=start&cph=[CONTENTPLAYHEAD]&piv=[VIEWABILITY]&pid=0&vid=aab96056-5407-42e2-9c4e-33ed14cea956&cid=30039&gid=1550&mediaFileType=[MEDIAFILETYPE]&1523618495145]]></Tracking>
View id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDxiQNPOjUq3/BTLKbpWbqru0IR0j2wsjpM24NTBb/5UZw0B84zqnbKo38+TXWsjh+XQq8DUhjteFWUWSeoLzbR0Cn6t77S17+2vdrEY8nE4L7BX9HVMn7X/pBNnHtZXXjG2g3uclr1cVBoJruySS35na9DFfKrCaq1snkLyBZIIT2sWnyDdymMzFz82xwINyLld0h2t9FkN9/hGSR4Yd8g46lvBs/hV6g9Tpj7JEUAb3wk7S46ha5wALgaqO/oDeB35iZByjKaZjgEUwdZFC4h5Q8qXXaKUlS6s43r97DFSvBNTTopYlizQ0mhnmo5knW/BW85B4z7E8Qihj1WZTAv
@ybootin
ybootin / id_rsa.pub
Last active Mar 28, 2017
rsa public key
View id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4xnqxUViysoiOt1yb+zefthDtbCGshSzwBDxWeR85LV9AnOYTNatzUPpGwoN5B1r6mn4Q356XzIXcjgvtUbqHnDFWqOLzrjMihr/kJrErQdH5ppeYs80ga1BwO3JYWdYDhGvWw/aE8x95k86g2nGj9jmboohSmtOiUrOi/LEbwTJDJRJeGOKMEJFIKQypiPCxzlonJUlWAC/MLXLWVwBqYMdjtaL4zYG0n3uKYyw00J6bd6dVs8zPuEeZKeus9y3tKDr1muhptArzDWhBYml1D+LVwIFRXJoDpsdRLTCQBz9CarJTswtPZyYVoVeoPsKXsq6SeY2+NBxMz3rGqQL9 ybootin
View vast-wrapper-be-billable.xml
<?xml version="1.0" encoding="UTF-8"?>
<VAST version="2.0">
<Ad id="602833">
<Wrapper>
<AdSystem>Ad server VAST file, wrap the creative</AdSystem>
<VASTAdTagURI>http://public-buying-engine-2126605846.eu-west-1.elb.amazonaws.com/get/141843</VASTAdTagURI>
</Wrapper>
</Ad>
</VAST>
@ybootin
ybootin / main.js
Last active Jan 29, 2017
Github clone - clone and update all your github repos
View main.js
var github = require('octonode');
var fs = require('fs');
var execsync = require('child_process').execSync;
var parse = require('parse-link-header');
var token = "xxxxxxxxxxxxxx"
var path = "/Users/xxx/github"
var debug = true
@ybootin
ybootin / index.html
Last active Nov 30, 2016
Simple JSON Viewer
View index.html
<!doctype html>
<html>
<head>
<style>
.json-tree {
font-size: 10px;
font-family: Monaco;
}
.json-tree-button {
You can’t perform that action at this time.