View index.html
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
<body onload="B=[y=x=t=r=S=0];setInterval(onkeyup=e=>{u=[x,y,r+4];e&&(g=e.which-38)-2?g?x-=g:r++:y++;C=[...B];for(h=i=8;i--;a+=x+3,b+=20-y,i>3?a<0|a>9|B[b]>>a&1|b<0?[x,y,r,h]=u:0:C[b]|=1<<a)for(a='456768696009181'[i%4+(i&2)*t],b=a&3,a>>=2,j=r;j--;a=f)f=b,b=2+!t-(t>5)-a;B=h||e?B:C.filter(_=>_-1023?x=y=1:++S-S,t=r%7);for(z=S,i=209;i;)Z.innerText=z+=' '+`_# | |
`[i--%11?C[i/11|0]>>i%11&1:2]},200)"id=Z> |
View README.md
StreetView URL Extractor
Paste a Google Maps URL and get back the parameters used to create a panorama.
View geosyl.js
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
// Geosyl.js – Convert Latitude longitude Pairs to Readable Words. | |
// based on David Troy's https://github.com/davetroy/hash-js | |
// also see: http://www.movable-type.co.uk/scripts/hash.html | |
// Distributed under the MIT License | |
geosyl = (function(){ | |
var bits = [32, 16, 8, 4, 2, 1], | |
vocals = 'aeiou'.split(''), | |
consonants = 'kgsztdnhfpmyr'.split(''), |
View timelapse.sh
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
ffmpeg -framerate 25 -f image2 -pattern_type glob -i "*.JPG" -s:v 1920x1440 -c:v libx264 -r 25 ../timelapse.mp4 |
View tdd-bin.js
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
// Item: Unit price Special Price | |
// it should return the price for a single item | |
// it shold fail it item does not exist | |
// it should sum up all prices | |
// it should apply special price (3 for 130) for A | |
// it should apply special price (2 for 45) for B | |
describe('cart should accept products', () => { | |
let cart; |
View LICENSE.txt
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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Thiemo Mättig <http://maettig.com/> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
View links.md
links
- Wallaby - runs your code as you write it
- React 0.13 - Support for ES6 classes
- Angular - 2.0 build on TypeScript
- Browserify - Require('modules') in the browser
- Babel – Transpiler next generation JavaScript
- ESLint - Pluggable linting utility for JavaScript
- JSCS - Code style linter
- standard - JavaScript standard style
View index.html
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"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
"use strict"; |
View Readme.md
Watch the demo at bl.ocks.org.
Source and comments on gist.github.com.
NewerOlder