Skip to content

Instantly share code, notes, and snippets.

keeyip

Block or report user

Report or block keeyip

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<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>
@keeyip
keeyip / index.html
Last active Aug 29, 2015
ie8d3-chart
View index.html
<!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]-->
View index.html
<!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]-->
@keeyip
keeyip / tpl.js
Created Apr 20, 2014
Small, fast, compiled templating engine
View tpl.js
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 = []
@keeyip
keeyip / index.html
Created Mar 22, 2014
Git visualization
View index.html
<!doctype html>
<html>
<head>
<meta charset='utf-8'/>
<style>
body {
background:hsl(0,0%,50%);
}
</style>
</head>
@keeyip
keeyip / index.html
Created Oct 30, 2013
UI for Ast Matcher
View index.html
<style>
body {
background:hsl(200,20%,50%);
font-family:inconsolata-dz;
font-size:12px;
}
em {
font-style:itlaic;
font-weight: bold;
@keeyip
keeyip / index.html
Last active Dec 21, 2015
Sibilant Editor
View index.html
<!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>
@keeyip
keeyip / Ast.js
Last active Dec 21, 2015
Visualizing code
View Ast.js
Ast = {
isLoop: function(node) {
return /(?:For|While)Statement/.test(node.type)
}
}
@keeyip
keeyip / grid.css
Last active Dec 21, 2015
Grid Layout
View grid.css
.container {
position:relative;
background:black;
outline: solid 4px red;
display:inline-block;
vertical-align:top;
margin: 20px;
}
.cell {
text-align:center;
You can’t perform that action at this time.