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 http = require('http') | |
var fs = require('fs') | |
var argv = require('optimist').argv | |
var rxVideoID = /v=([\]\[!"#$%'()*+,.\/:;<=>?@\^_`{|}~-\w]*)/ | |
var link = argv._.toString() | |
var videoID = link.match(rxVideoID)[1] | |
http.get("http://www.youtube.com/get_video_info?video_id="+videoID, function(res) { | |
var chunks = [] |
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
<css-doodle> | |
:doodle { | |
@grid: 50x1 / 50vmin; | |
perspective: 23vmin; | |
} | |
background: @multi(@r(200, 240), ( | |
radial-gradient( | |
@p(#00b8a9, #f8f3d4, #f6416c, #ffde7d) 15%, | |
transparent 50% |