This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
body { | |
background:hsl(200,20%,50%); | |
font-family:inconsolata-dz; | |
font-size:12px; | |
} | |
em { | |
font-style:itlaic; | |
font-weight: bold; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<body> | |
<style> | |
.CodeMirror { | |
font-size: 16px; | |
} | |
</style> | |
<link rel='stylesheet' href='https://rawgithub.com/marijnh/CodeMirror/3.16.0/lib/codemirror.css'/> | |
<script src="https://rawgithub.com/marijnh/CodeMirror/3.16.0/lib/codemirror.js"></script> | |
<script src='https://rawgithub.com/marijnh/CodeMirror/3.16.0/mode/javascript/javascript.js'></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ast = { | |
isLoop: function(node) { | |
return /(?:For|While)Statement/.test(node.type) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
position:relative; | |
background:black; | |
outline: solid 4px red; | |
display:inline-block; | |
vertical-align:top; | |
margin: 20px; | |
} | |
.cell { | |
text-align:center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="javascript:(function(){ var js = document.createElement('script'); js.src = 'https://syapse.atlassian.net/wiki/download/attachments/12321028/example.js?api=v2'; document.body.appendChild(js); })() | |
">Bookmarklet</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<head> | |
<!-- no input, fixstuff 2323 --> | |
<meta charset="utf-8"> | |
<script src="shim.js"></script> | |
<!--[if lte IE 8]><script src="r2d3.js" charset="utf-8"></script><![endif]--> | |
<!--[if gte IE 9]><!--> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<!--<![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<!--[if lte IE 8]><script src="r2d3.js" charset="utf-8"></script><![endif]--> | |
<!--[if gte IE 9]><!--> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<!--<![endif]--> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tpl = (function() { | |
var slice = Array.prototype.slice; | |
function first(xs) { | |
return xs[0] | |
} | |
function rest(xs) { | |
return slice.call(xs, 1); | |
} | |
function flatten(xs) { | |
var flat = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset='utf-8'/> | |
<style> | |
body { | |
background:hsl(0,0%,50%); | |
} | |
</style> | |
</head> |