Skip to content

Instantly share code, notes, and snippets.

View foolip's full-sized avatar

Philip Jägenstedt foolip

View GitHub Profile
@foolip
foolip / relearningcpp.md
Last active August 29, 2015 14:07
Re-learning C++
@foolip
foolip / urls.txt
Last active August 29, 2015 14:13
navigator.vendor URLs
http://2d-gate.org/
http://3dmedical.com.au/
http://5minutkaotdyx.ru/
http://8fact.com/
http://9292.nl/
http://abcnews.go.com/
http://academy777.com/
http://adsgraphy.com/
http://afamily.vn/
http://alltommat.se/
@foolip
foolip / 150101_0_112.118.txt
Last active August 29, 2015 14:23
Matches for webkit-media-controls in 20150101 httparchive data
Location: http://www.oculu.com/im4/video_player-html5.css
Referrer: http://bidr.trellian.com/r2.php?e=YPEC5m4ENXkTeshL2U8CDYfWPJyIj%2B3E0WQ8GtP8Bvz0yWK0vcQuM3tlZs6cOkdQBdNzaAdLyufyC1j9zYpTsk4sHOSXIRArKw2Okh0rqLic7%2BaH4jb%2FMAopxW5s4DD8OgiQ8kavMiBaOx8jC9ojEjfJwYzTcvlxGi%2FlLf%2BU3i5Nph5uOHJ5YDoX35JK5B%2BQDNVxphA0gbwt7RqLENFakrrqIiisBS%2ByUqjn0gL3SFnSRIir8iC0xevgN94Yjcnxs9yUfIXiBuUruegFxV75%2F5fkwxGmM%2BGjp2qAM%2FKZFatITg6q1NnjmZVITSIH4WBzNBAtzcw4989Y9BjZTqDZRvFT8mvdUzjRDX4WCI2Q8Yx%2BbvDGEh%2BjvGIx3Kh2IPExZfvi51KT78yoaZYeyMwUefjiCWakJixnbR3pwSl8aTx%2Bqud90NCeepQdQmRtgdHfHFVTxaus4XFYqU%2BmeLxx2I4%2F42WPqVu4rhFBIPvT%2Fe57M8xttwD47YnvL2JSyFJWb7vh8NttucKqumM3As5tx08BwVFrxefu7fVNUrwvDEAxKK%2BMZj%2F%2FFg%3D%3D
Content-Type: text/css
body{width:100% !important; height:100% !important ; padding:0px !important; margin:0px !important;}
.html5_player{ width:640px; height:360px}
.html5_player #im_toggle{ width:50px; z-index:999; position:absolute; margin-left:580px; display:none}
.html5_player #im_toggle ul{position:a
@foolip
foolip / 150101_2_1DAY.3.txt
Last active August 29, 2015 14:23
Matches for DOMError in 20150101 httparchive data
Location: http://www.programma.tv/3.001/b/ample-0.9.5.a.2011.10.09.js
Referrer: http://www.programma.tv/
Content-Type: application/x-javascript
(function(a,m,p,l,e,d){for(l=m[d[1]]-1;l>=0;l--){p+=e[d[906]][d[255]](m[d[111]](l)-1)}m=p[d[18]](" ");for(l=m[d[1]]-1;l>=0;l--){a=a[d[8]](e[d[910]](l%10+(e[d[906]][d[255]](122-e[d[903]][d[171]](l/10))),"g"),m[l])}e[d[904]]("_","$",a)(d,d[0])})("8y dQ=6x7x9068x,cO=6x7x9058x,dy=6x7x9078x,dz=6x7x9088x,cH=6x7x3588x,dC=6x7x9108x,dc=6x7x9098x,_b=6x7x9048x,ds=6x7x9038x,cG=9z2w1w,dl=6x7x8988x,dR=6x7x8978x,dY=6x7x8968x,cE=6x7x8998x,eh=6x7x2578x,cZ=6x7x4698x,ej=6x7x4708x,ek=6x7x2468x,pn=6x7x2458x,ei=9z2w1w,ee=9z2w1w,ed=9z2w1w,iZ=6x7x9008x,fF=6x7x9028x,_c=6x7x5318x,ie=6x7x3618x,hh=6x7x9018x,hg=6x7x8778x,gy=6x7x8768x,qL=6x7x8548x,qK=6x7x3308x,qJ=6x7x5128x,ll=6x7x8538x,kV=6x7x8528x,sy=_[668],sw=_[695],sG=_[696],sA=_[670],sC=_[699],sx=_[644],sz=_[645],sF=_[628],sD=_[638],sE=_[693],sB=_[643];8y cw=1x,bY=1x,ck=1x,cB=1x,nh=0;0y(7wqJ7x5268x){cw=3x;nh=1*qL7x2368x7x108x(/MSIE\\s(\\d+\\.

Keybase proof

I hereby claim:

  • I am foolip on github.
  • I am foolip (https://keybase.io/foolip) on keybase.
  • I have a public key whose fingerprint is 75A1 FEF7 6E3D 9B1D ECA3 2128 F759 64F2 9DC6 C210

To claim this, I am signing this object:

@foolip
foolip / convert.html
Last active September 13, 2016 15:29
Tool to convert Fullscreen from Anolis to Bikeshed
<meta charset=utf-8>
<textarea style="width: 100%; height:100%"></textarea>
<script>
function stripIntro(doc) {
while (doc.body.firstChild.id != 'conformance')
doc.body.firstChild.remove();
}
function anolisToBikeshed(doc) {
// remove all internal markup from the IDL block
var idl = doc.body.querySelector('pre.idl');
@foolip
foolip / XMLDocument.prototype.load.json
Created September 16, 2016 22:58
SELECT * FROM [httparchive:har.2016_09_01_chrome_requests_bodies] WHERE body CONTAINS 'XMLDocument.prototype.load';
This file has been truncated, but you can view the full file.
{"page":"http://www.hyangmusic.com/","url":"http://hyangmusic.com/cart_box/xmlextras.js","body":"//<script>\n//////////////////\n// Helper Stuff //\n//////////////////\n\n// used to find the Automation server name\nfunction getDomDocumentPrefix() {\n\tif (getDomDocumentPrefix.prefix)\n\t\treturn getDomDocumentPrefix.prefix;\n\t\n\tvar prefixes = [\"MSXML2\", \"Microsoft\", \"MSXML\", \"MSXML3\"];\n\tvar o;\n\tfor (var i = 0; i < prefixes.length; i++) {\n\t\ttry {\n\t\t\t// try to create the objects\n\t\t\to = new ActiveXObject(prefixes[i] + \".DomDocument\");\n\t\t\treturn getDomDocumentPrefix.prefix = prefixes[i];\n\t\t}\n\t\tcatch (ex) {};\n\t}\n\t\n\tthrow new Error(\"Could not find an installed XML parser\");\n}\n\nfunction getXmlHttpPrefix() {\n\tif (getXmlHttpPrefix.prefix)\n\t\treturn getXmlHttpPrefix.prefix;\n\t\n\tvar prefixes = [\"MSXML2\", \"Microsoft\", \"MSXML\", \"MSXML3\"];\n\tvar o;\n\tfor (var i = 0; i < prefixes.length; i++) {\n\t\ttry {\n\t\t\t// try to create the objects\n\t\t\to = new Act
/*
FILE ARCHIVED ON 14:58:33 Sep 1, 2011 AND RETRIEVED FROM THE
INTERNET ARCHIVE ON 20:49:32 Sep 17, 2016.
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
SECTION 108(a)(3)).
*/
var loadX = 0;
var loadY = 0;
page url
http://www.1tv.ge/ http://1tv.ge/theme/back2/js/jquery.parsley/parsley.js
http://www.insectashoes.com/ http://a1.vnda.com.br/insectashoes/javascripts/libs/parsley.js?1431091685
http://www.artlab.club/ http://artlab.club/_run/assets/ddfeacac7e5d3337094913bf538acb5a.js
http://www.babbler.me/ http://babbler.me/_run/assets/18610f89/parsley.js
http://www.broadlink.com.np/ http://broadlink.com.np/assets/site/js/parsley.js
http://www.redirectme.net/ http://d394491aozrvw2.cloudfront.net/assets/js/parsley.js
http://www.hopto.org/ http://d394491aozrvw2.cloudfront.net/assets/js/parsley.js
http://www.no-ip.com/ http://d394491aozrvw2.cloudfront.net/assets/js/parsley.js
http://www.opendn.xyz/ http://d394491aozrvw2.cloudfront.net/assets/js/parsley.js
@foolip
foolip / audiocontext.prototype.csv
Created October 5, 2016 07:35
AudioContext.prototype in httparchive:har.2016_09_15_chrome_requests_bodies
page url
http://www.aminata.com/ http://prod-player-250.zenoradio.com/widget/type/default/js/combined.js?v=3
http://www.blokdust.com/ https://www.blokdust.com/App.js
http://www.boardgame-online.com/ http://www.boardgame-online.com/g/js/lib_16_06_29.js
http://www.brid.tv/ https://static.veeps.io/veeps/build/plugins/rtc.api.js
http://www.buscadordetrabajo.es/ https://buscadordetrabajo.es/xirsys/thirdparty/simplewebrtc.bundle.js
http://www.camdolls.com/ http://static.camdolls.com/dist/app.js?v=1e2d4ccc
http://www.camzap.com/ http://static.camdolls.com/dist/app.js?v=1e2d4ccc
http://www.crokepark.ie/ https://crokepark.ie/stadiumplan2/js/map18.js?CZAYB=1495351566
http://www.dialpad.com/ https://dialpad.com/static/js/compressed/guest-backbone.js?v=2.395687649022808158