Clone this gist and open index.html
in your browser.
git clone https://gist.github.com/marcelklehr/0430be7e3fb45a83189b.git
Check out the source in index.js
.
{"a103f80654a02abb60355e39c3c30cba61c36af3":{"fake test firefox nc@20 bm@stable":{"testSuiteTime":0.18333333333333332},"fake-noCache test firefox nc@20 bm@stable":{"testSuiteTime":0.13333333333333333},"fake benchmark root firefox nc@20 bm@stable":{"testSuiteTime":5.2},"webdav test firefox nc@20 bm@stable":{"testSuiteTime":9.516666666666667},"webdav benchmark root firefox nc@20 bm@stable":{"testSuiteTime":14.4},"google-drive benchmark root firefox nc@20 bm@stable":{"testSuiteTime":22.633333333333333},"nextcloud-bookmarks-old test firefox nc@20 bm@stable":{"testSuiteTime":24.066666666666666},"nextcloud-bookmarks test firefox nc@17 bm@v1.1.2":{"testSuiteTime":42.9},"nextcloud-bookmarks test firefox nc@18 bm@stable3":{"testSuiteTime":45.63333333333333},"nextcloud-bookmarks test firefox nc@20 bm@master":{"testSuiteTime":47.43333333333333},"nextcloud-bookmarks test firefox nc@19 bm@stable3":{"testSuiteTime":47.38333333333333},"nextcloud-bookmarks test firefox nc@18 bm@v2.3.4":{"testSuiteTime":49.56666666666667},"ne |
javascript:ASTEROIDS.watch('enemiesKilled', function(prop, old, newval) {return newval+4;});void(0); |
const adjectives = [ | |
'predictive', | |
'symbolic', | |
'abstract', | |
'performative', | |
'demonstrative', | |
'destructive', | |
'constructive', | |
'implicit', | |
'explicit', |
const mock = new Proxy(() => mock, { | |
get: (target, prop) => { | |
if ( | |
prop === 'valueOf' || | |
prop === 'toString' || | |
prop === Symbol.toPrimitive | |
) { | |
return () => ''; | |
} | |
return mock |
{"0":{"type": "line", "x":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,-1,-3,-5,-5,-9,-13,-14,-17,-20,-23,-26,-29,-31,-32,-33,-34,-36,-31,-26,-21,-16,-11,-6,-1,4,9,14,19,24,25,29,33,37,41,43,47,51,55,59,59,63,67,71,72,75,78,81,84,87,90,93,96,99,102,105,108,111,114,117,120,123,126,129,132,135,138,141,144,147,150,156,152,148,144,140,136,135,131,127,123,122,117,112,107,102,97,93,84,75,66,57,48,39,30,21,12,3,-6,-15,-24,-33,-42,-51,-60,-69,-78,-83,-90,-97,-104,-111,-118,-121,-124,-127,-130,-131,-135,-139,-143,-147,-151,-155,-159,-163,-163,-170,-177,-184,-191,-193,-199,-205,-211,-217,-218,-219,-220,-221,-222,-223,-222,-221,-220,-219,-214,-209,-204,-201,-196,-191,-186,-181,-176,-171,-166,-161,-156,-151,-146,-141,-136,-131,-134,-126,-118,-110,-106,-98,-90,-82,-74,-66,-58,-50,-42,-34,-25,-19,-13,-7,-1,5,9,15,21,27,33,39,45,51,57,59,59,59,59,59,58,58,54,53,51,49,47,46,41,36,31,28,24,20,19,14,9,8,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,16],"y":[0,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,- |
<template> | |
<View @mousemove="mouseMove"> | |
<template slot:content="{nextView, response}"> | |
<div class="top-left" @mouseover="hoverFish">fish</div> | |
<div class="top-right" @mouseover="hoverMammal">mammal</div> | |
<button v-if="isButtonVisible" @click="clickButton"></button> | |
<audio src="example.wav" playing="isPlaying" /> | |
</template> | |
</view> | |
</template> |
const completable = { | |
_: 'pending', | |
pending: { | |
on: { | |
COMPLETE: 'completed' | |
} | |
}, | |
completed: { | |
on: { | |
REASSIGN: 'pending' |
function tree(start, end, indent) { | |
if (!indent) indent = '' | |
if (end-start <= 5) { | |
for (var i=start; i < end; i++) { | |
console.log(indent+'<DT><A HREF="http://url'+i+'.net/" TAGS="tag'+ (i % 100) +'">Description '+i+'</A>') | |
} | |
return | |
} | |
var step = Math.round((end-start) / 5) | |
for (var i=start; i < end; i+=step) { |
function contrast(c1, c2) { | |
v1 = Math.min(Math.min(c1.r, c1.g),c1.b) + Math.max(Math.max(c1.r, c1.g),c1.b) / 2; | |
v2 = Math.min(Math.min(c2.r, c2.g),c2.b) + Math.max(Math.max(c2.r, c2.g),c2.b) / 2; | |
return Math.abs(v1-v2); | |
}; |