Skip to content

Instantly share code, notes, and snippets.

@adamlu
adamlu / index.js
Created October 23, 2013 13:04 — forked from davidguttman/index.js
requirebin sketch
var through = require('through')
var streamVis = require('stream-vis')
// This is the readable stream
// "through" is a easy way of creating a readable (and writable) stream
var stream = through()
setInterval(function(){
stream.emit('data', new Date)
}, 500)
@adamlu
adamlu / dabblet.css
Created July 31, 2013 06:51 — forked from kejun/dabblet.css
环形进度条,css bt版
/**
* 环形进度条,css bt版
*/
html,body { height:100%; }
body {
display: flex;
justify-content: center;
align-items: center;
}
@adamlu
adamlu / dabblet.css
Created June 16, 2012 02:40 — forked from kejun/dabblet.css
Untitled
@import url(http://img3.douban.com/css/core/packed__init_1507990223.css);
body { padding:20px; }
.sample-1 { color:#396; }
/*-----------------------------------*/
@adamlu
adamlu / dabblet.css
Created April 27, 2012 09:40 — forked from LeaVerou/dabblet.css
Playing with background-attachment
/**
* Playing with background-attachment
*/
pre {
max-height: 150px;
border: 1px solid silver;
overflow: auto;
background: url('http://placekitten.com/200/200');
color: white;
@adamlu
adamlu / dabblet.css
Created April 27, 2012 09:40 — forked from LeaVerou/dabblet.css
Scrolling shadows by @kizmarh and @LeaVerou
/**
* Scrolling shadows by @kizmarh and @leaverou
* Only works in browsers supporting background-attachment: local; & CSS gradients
* Degrades gracefully
*/
html {
background: white;
font: 120% sans-serif;
}