Skip to content

Instantly share code, notes, and snippets.

@jdanyow
jdanyow / bench.js
Created May 18, 2016 15:50
poor man's jsperf
function log(message) {
document.getElementById('status').textContent += message + '\n';
}
log('running...');
var suite = new Benchmark.Suite;
// add tests
suite.add('RegExp#test', function() {
/o/.test('Hello World!');
@ialert
ialert / protocol.reg
Created November 5, 2016 19:27
Adds new URL Protocol in windows registry(e. g. soapcast application)
REGEDIT4
[HKEY_CLASSES_ROOT\sop]
@="URL:sop Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\sop\shell]
[HKEY_CLASSES_ROOT\sop\shell\open]
@gheoan
gheoan / a.html
Created August 1, 2017 20:20
Aurelia Gist
<template>
Hello world!
</template>