<html>
<body>
<script type="text/javascript">
if (foo<=bar)
console.log('oh noes');
</script>
</body>
</html>
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
| PATH OF THESUN - RLATES NOT JUST TO THESOLAR BODY, BUT THE TRAVEL OF THEHUMAN BODY - BIRTH TO BEYOND. | |
| EIGHT FLAMES - EIGHT STATIONS ON THEPATH OF LIFE? ALTHOUGH THEORDER IS NOT WHAT SEEMED INITIALLY OBVIOUS | |
| 1# 1 | |
| ovegu - gur oevrsrfg oynmr | |
| BIRTH - THE BRIEFEST BLAZE | |
| 2# 5 | |
| puvyqubbq - bayl gehyl snqrf nsgre byq ntr | |
| CHILDHOOD - ONLY TRULY FADES AFTER OLD AGE |
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
| /** | |
| * Module dependencies. | |
| */ | |
| var express = require('express') | |
| , routes = require('./routes') | |
| , user = require('./routes/user') | |
| , http = require('http') | |
| , path = require('path'); |
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
| set nocompatible " be iMproved | |
| filetype off " required! | |
| set encoding=utf-8 | |
| set rtp+=~/.vim/bundle/vundle/ | |
| call vundle#rc() | |
| " let Vundle manage Vundle | |
| " required! | |
| Bundle 'gmarik/vundle' |
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 crypto = require('crypto'); | |
| var through = require('through'); | |
| exports.createHashStream = function(algorithm, input_encoding, output_encoding) { | |
| input_encoding = input_encoding || 'utf8'; | |
| output_encoding = output_encoding || 'hex'; | |
| var hashsum = crypto.createHash(algorithm || 'sha1'); | |
| return through(function write(data) { | |
| hashsum.update(data, input_encoding); |
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
| I must apologize beforehand, as my English might give you ebola-like symptoms in the coming paragraphs. | |
| Hi, I'm Daniel and I've been working with node among other things. | |
| I started fiddling with node pretty much as soon as it was made public, back then I was doing research in dependable systems and going crazy over async I/O (boost asio, libevent, libev, linux/freebsd async io implementation ...). | |
| Ok intro done, here is what I meant with that tweet (https://twitter.com/tralamazza/status/261175563392270339) | |
| It was not just this post http://www.mikealrogers.com/posts/coffee-perspective.html that made me tweet that. I was at the LXJS 2012 conference, a great venue and organization btw. The closing talk, given by Mikeal, was a bit disturbing. At some point during the talk, I stepped back to look at the crowd, a surreal experience. | |
| I get that people love a good show, and more importantly that most people need and seek a leader. Mikeal's speech sounded like a call to arms, one that a king in the battlefield woul |
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 url = require('url'); | |
| var PROTOCOLS = { | |
| 'http:': { agent: require('http'), port: 80 }, | |
| 'https:': { agent: require('https'), port: 443 } | |
| }; | |
| /* | |
| * @param {String} method HTTP method ('GET', 'POST' ...) | |
| * @param {String} uri URI (defaults protocol to HTTP) |
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
| sudo yum install php-pear | |
| pear config-set auto_discover 1 | |
| sudo pear install pear.phpunit.de/PHPUnit | |
| sudo pear install --alldeps phpunit/DbUnit | |
| sudo yum install php-domxml-php4-php5 | |
| sudo pear install --alldeps phpunit/PHPUnit_Selenium |
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
| npm install -g forever | |
| git clone git://github.com/square/cube.git | |
| cd cube | |
| forever start bin/collector.js | |
| forever start bin/evaluator.js |
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
| // foo.js | |
| module.exports = function(exp) { | |
| return typeof _ !== 'undefined' && exp === _; | |
| }; | |
| // start repl (node) | |
| > 1 | |
| 1 | |
| > require('./foo')(1) |