This file contains hidden or 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'); | |
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'); |
This file contains hidden or 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
<style> | |
.h-scroll { | |
overflow-x: scroll; | |
} | |
</style> | |
<div class="h-scroll"> | |
<img src="http://devimg.com/3000x300/space"/> | |
</div> |
This file contains hidden or 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
// 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) |
This file contains hidden or 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
/** | |
* b-vote | |
*/ | |
.b-vote { | |
display: block; | |
} | |
.b-vote * { | |
vertical-align: top; |
This file contains hidden or 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
.b-help-vote__l-no { | |
display: inline-block; | |
} | |
* html .b-help-vote__l-no { | |
display: inline; | |
zoom: 1; | |
} | |
.b-help-vote * { |
This file contains hidden or 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
/* | |
title | |
*/ | |
.b-calendar { | |
padding: 1em; | |
border: 1px solid red; | |
display: inline-block; | |
} |