I hereby claim:
- I am danreeves on github.
- I am danreeves (https://keybase.io/danreeves) on keybase.
- I have a public key whose fingerprint is E230 EFC4 9EE1 0E31 9C0F D345 DCDE 2CA4 7555 5C87
To claim this, I am signing this object:
// canvas element and 2D context | |
var canvas = document.createElement( 'canvas' ), | |
ctx = canvas.getContext( '2d' ); | |
canvas.width = 800; | |
canvas.height = 600; | |
document.body.appendChild(canvas); | |
I hereby claim:
To claim this, I am signing this object:
var plz = require('please-ajax'); | |
plz.get('http://reqr.es/api/users', {promise:true}) | |
.then(function (d) { | |
append('GET: '); | |
append(d); | |
append('<br>'); | |
}); | |
plz.delete('http://reqr.es/api/users/1', {promise:true}) |
window.onload = function(){ | |
setTimeout(function(){ | |
window.performance = window.performance || window.mozPerformance || window.msPerformance || window.webkitPerformance || {}; | |
var t = performance.timing || {}; | |
if (!t) { | |
//fail silently | |
return; | |
} |
window.onerror = function (message, url, lineNo) { | |
try { | |
var xhr = new (window.XMLHttpRequest || ActiveXObject)('MSXML2.XMLHTTP.3.0'), | |
domain ='https://example.com/', | |
query = '?line=' + lineNo + | |
'&message=' + message + | |
'&url=' + url + | |
'&UA=' + window.navigator.userAgent; | |
xhr.open('GET', domain + query, true); | |
xhr.send(); |
var plz = require('please-ajax'); | |
plz.get('http://reqr.es/api/users', {promise:true}) | |
.then(function (d) { | |
append('GET: '); | |
append(d); | |
append('<br>'); | |
}); | |
plz.delete('http://reqr.es/api/users/1', {promise:true}) |
#!/bin/zsh | |
if [[ $1 == '' ]]; then | |
print 'Please pass in a status code, e.g. 404' | |
exit 2 | |
fi | |
A='/\>(' | |
B='[^\<]*?)\</ and print $1' | |
REGEX=$A$1$B |
Verifying that +danreeves is my blockchain ID. https://onename.com/danreeves |