Skip to content

Instantly share code, notes, and snippets.

/*
title
*/
.b-calendar {
padding: 1em;
border: 1px solid red;
display: inline-block;
}
@golyshevd
golyshevd / dabblet.css
Created December 10, 2012 09:45
Untitled
.b-help-vote__l-no {
display: inline-block;
}
* html .b-help-vote__l-no {
display: inline;
zoom: 1;
}
.b-help-vote * {
@golyshevd
golyshevd / dabblet.css
Created December 10, 2012 10:39
b-vote
/**
* b-vote
*/
.b-vote {
display: block;
}
.b-vote * {
vertical-align: top;
// decimals
+'5' // 5 like parseInt('5', 10)
+'-5' // -5 like parseInt('-5', 10)
//octals
+'010' // 10 like parseInt('010', 10), should the radix be 8?
+'-010' // -10 like parseInt('-010', 10), should the radix be 8?
//hexadecimals
+'0xFF' // 255 like parseInt('0xFF', 16)
@golyshevd
golyshevd / dabblet.html
Created December 4, 2014 17:19
Untitled
<style>
.h-scroll {
overflow-x: scroll;
}
</style>
<div class="h-scroll">
<img src="http://devimg.com/3000x300/space"/>
</div>
@golyshevd
golyshevd / YaNodeDOS
Last active August 29, 2015 14:10
Yet another node DOS
var http = require('http');
http.createServer(function (req, res) {
req.on('data', function (c) {
console.log('INCOMING DATA %j', c);
});
req.on('end', function () {
console.log('DONE RECEIVING DATA');