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
| The best explaination so far: http://blog.macromates.com/2007/leopard-issues/#comment-2887 |
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
| !!! 5 | |
| //[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif] | |
| //[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif] | |
| //[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif] | |
| //[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif] | |
| head | |
| meta(charset="utf-8") | |
| meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1") | |
| title some Title | |
| meta(name="description", content="") |
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'), | |
| util = require('util'); | |
| var options = { | |
| host: 'api.twitter.com', | |
| port: 80, | |
| path: '/1/statuses/public_timeline.json' | |
| }; | |
| var chunks = [], | |
| total = 0; |
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
| Track A | |
| Bytes and Blobs – David Flanagan @__DavidFlanagan | |
| Slides: http://davidflanagan.com/Talks/jsconf11/BytesAndBlobs.html | |
| Conference Wifi Redux - Malte Ubi @cramforce | |
| Sashimi: https://github.com/cramforce/Sashimi | |
| Slides: http://social-traffic.streamie.org/preso/static/#slide1 | |
| Run Your JS everywhere with Jellyfish – Adam Christian @admc |
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
| #!/usr/bin/env node | |
| var _ = require('./lodash.js')._, | |
| _min = require('./lodash.min.js')._, | |
| t = '{{ demo.join(",") }}', | |
| data = { demo: ['a', 'b'] }; | |
| _.templateSettings = _min.templateSettings = { | |
| interpolate : /\{\{(.+?)\}\}/g | |
| }; |
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
| { | |
| "startedDateTime": "2012-07-31T20:11:22.055Z", | |
| "time": 927, | |
| "request": { | |
| "method": "GET", | |
| "url": "http://avatars.io/auto/nelsonmandela?size=large", | |
| "httpVersion": "HTTP/1.1", | |
| "headers": [ | |
| { | |
| "name": "Accept-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
| <?php | |
| class Demo { | |
| function __construct($conn) { | |
| $this->someProperty = 'foobar'; | |
| $this->channel = new AMQPChannel($conn); | |
| } | |
| } | |
| $conn = new AMQPConnection(); |
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
| #!/usr/bin/env php | |
| <?php | |
| msgpack_unserialize( | |
| msgpack_serialize( | |
| unserialize( | |
| file_get_contents( | |
| 'http://s3.amazonaws.com/bkw/serialized.ser' | |
| ) | |
| ) |
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
| <?php | |
| $conn = new AMQPConnection(); | |
| $conn->connect(); | |
| $channel = new AMQPChannel($conn); | |
| $exchange = new AMQPExchange($channel); | |
| $exchange->setName('someExchange'); | |
| $exchange->setType(AMQP_EX_TYPE_TOPIC); | |
| $exchange->setFlags(AMQP_DURABLE | AMQP_PASSIVE); |
OlderNewer