- http://tap5.com/lab/blur3.html vary blur with slider
- http://tap5.com/lab/focal-depth.html simulate focal depth, move mouse to move focus
- http://tap5.com/lab/snowflakes.html snowflakes using unicode and css3
- http://jsfiddle.net/cybear/wXYnG/ Chess using two-layered unicode pairs which fit together
- http://tap5.com/lab/symbols.html two-layered unicode pairs which kind of fit together
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
aLink: string | |
attributes: object | |
background: string | |
bgColor: string | |
childNodes: object | |
className: string | |
clientHeight: number | |
clientWidth: number | |
dir: string | |
firstChild: object |
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
curl -k -I https://raw.github.com/suhajdab/modl/master/devices.json | |
HTTP/1.1 200 OK | |
Server: nginx/1.0.13 | |
Date: Fri, 25 May 2012 14:34:32 GMT | |
Content-Type: text/plain; charset=utf-8 | |
Connection: keep-alive | |
Status: 200 OK | |
X-RateLimit-Limit: 100 | |
X-Frame-Options: deny | |
X-RateLimit-Remaining: 100 |
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
Visual Studio 11 Ultimate Beta is the comprehensive ALM offering for | |
organizations developing and operating highly scalable software | |
applications and services. | |
Visual Studio 11 Premium Beta offers an integrated ALM solution to | |
bring together stakeholders, users, and software development functions | |
to deliver compelling applications as a unified team. | |
Visual Studio 11 Professional Beta is a unified development experience | |
that enables developers to create multi-tier applications across the |
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
function dbMiddleware(req, res, next){ | |
db.collection('people', function(err, collection){ | |
if(!err){ | |
collection.find().toArray(function(err, items){ | |
if(!err){ | |
req.db=items; | |
next(); | |
} else next('Sad collection'); | |
}) | |
} else next('Sad DB'); |
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 tools={ | |
consonants:'BCDFGHJKLMNPQRSTVWXZ', | |
vowels:'AEIOUY' | |
}; | |
var achievements=[ | |
{ | |
name:'Seven Stones', | |
description:'Laid all 7 tiles in one word', | |
fn:function(move){return (move.replace(/\s/g,'').length===7)} | |
}, |
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 Dealer=require("./dealer.js").Dealer; | |
> var d=new Dealer(10); | |
> d.deal(); | |
Person 0: R,I | |
Person 1: C,K | |
Person 2: E,I | |
Person 3: D,T | |
Person 4: L,W | |
Person 5: H,R | |
Person 6: S,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
var sowpods = require('./sowpods.js').sowpods; | |
var server = require('http').createServer(function(req,res){ | |
var word=req.url.replace('/',''); | |
var found=(sowpods.indexOf(word)!==-1); | |
res.writeHead(200,{ | |
'Content-Type':'application/json', | |
'Access-Control-Allow-Origin':'*', | |
'Access-Control-Allow-Headers':'X-Requested-With' | |
}); | |
res.end('{"found":'+found+',"word":"'+word+'"}'); |
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><meta charset="UTF-8"><title>UTF8 + CSS3 snow</title><style> | |
body{font-family:Helvetica,Arial,Sans-Serif;font-size:150px;color:#fff;background:#000} | |
#s{overflow: hidden;position: absolute;width:1400px;height:600px;background:-webkit-linear-gradient(top,#666,#111)} | |
#s div{position:absolute;text-align:center;height:1em;width:1em;line-height:1em;color:transparent;top:-50px;left:0;-webkit-transition:all 10s;-webkit-transform:translate3d(0,0,0) rotate(0);-webkit-transition-timing-function:ease-in} | |
</style><div id=s></div><script>function SF(a){var b=document.createElement("div"),c=b.style;return b.innerHTML=a.c,c.fontSize=a.s+"px",c.left=a.x+"px",c.textShadow="white 0 0 "+a.z+"px",s.appendChild(b),function(){c.setProperty("-webkit-transform","translate3d("+a.vx+"px,600px,0) rotate("+a.r+"deg)")}}function R(a){return~~(10*Math.random()*a)}setInterval(function(){var a=new SF({x:R(140),z:1+R(.5),s:2+R(5),vx:-50+R(10),r:-500+R(100),c:"❆❄✱✶"[R(.4)]});setTimeout(function(){a()},50)},25)</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
javascript:(function(e){e.setAttribute("src","http://the-cheat.local:8080/target/target-script-min.js");document.getElementsByTagName("body")[0].appendChild(e);})(document.createElement("script"));void(0); |