[ Launch Inlet ]
This file contains 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
{ | |
"configuration": { }, | |
"applications": [ | |
{ | |
"app_name": "GoogleMusic", | |
"url": "https://play.google.com/music/cast/player", | |
"use_channel": true, | |
"allow_empty_post_data": true, | |
"allow_restart": true | |
}, |
This file contains 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
libraries.add([{ | |
text:"EmberJS 1.0.x", | |
scripts:[ | |
{text: "JQuery 1.10.2", url: "http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"}, | |
{text: "Handlebars 1.0.0", url: "//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js"}, | |
{text: "Ember 1.0.0", url: "http://builds.emberjs.com/tags/v1.0.0/ember.js"}, | |
{text: "Ember Data beta", url: "http://builds.emberjs.com/beta/ember-data.js"} | |
] | |
}]) |
This file contains 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
Package.describe({ | |
summary: "Dummy Package" | |
}); | |
Package.on_use(function(api) { | |
api.use(["coffeescript", "templating", "less", "underscore"], "client"); | |
api.export("controller"); | |
api.add_files(["controller.html", "controller.less", "controller.coffee", "controllerUtils.coffee"], "client"); | |
}); |
This file contains 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
function (tweet, user){ | |
var isJourno = false ; | |
var isUrlOnlyMatch = false ; | |
var isViaFeedly = false ; | |
var journoRE = /\beditor\b|\bjournalist\b|\bwriter\b|\bcolumnist\b|\bblogger\b/ ; | |
var feedlyRE = /\bfeedly\b/ ; | |
var viafeedlyRE = /\bvia @feedly\b/ ; | |
var isFrenchOrEnglish = (tweet.lang === "en" || tweet.lang === "fr") ; | |
var isProminent = user.followers_count > 10000 ; | |
This file contains 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
{ | |
"source": { | |
"created_at": "Sun Dec 14 07:00:20 +0000 2014", | |
"id": 544024071747682300, | |
"id_str": "544024071747682304", | |
"text": "RT @jjenkov: Netflix burned by Express.js - interesting performance case study http://t.co/mIWDvurAzQ #nodejs #expressjs", | |
"source": "<a href=\"http://www.blaccspot.com\" rel=\"nofollow\">JavaScript Digest</a>", | |
"truncated": false, | |
"in_reply_to_status_id": null, | |
"in_reply_to_status_id_str": null, |
This file contains 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
{ "details" : [ { "signature" : "POST /2.3.0/driver/coords/:id", "errors" : 0, "total" : 785, "latency" : "Avg 41ms, Max 9920ms", "codes" : { "200" : 785 } }, { "signature" : "GET /2.3.0/bayeux/driver/:id", "errors" : 2, "total" : 445, "latency" : "Avg 19020ms, Max 20060ms", "codes" : { "200" : 443, "disconnect" : 2 } }, { "signature" : "POST /2.3.0/bayeux/driver/:id", "errors" : 0, "total" : 329, "latency" : "Avg 44ms, Max 1360ms", "codes" : { "200" : 329 } }, { "signature" : "GET /2.3.0/rider/config", "errors" : 0, "total" : 3, "latency" : "Avg 10ms, Max 20ms", "codes" : { "200" : 3 } }, { "signature" : "GET 2.3.0/patch.js", "errors" : 4, "total" : 4, "latency" : "Avg 0ms, Max 0ms", "codes" : { "404" : 4 } }, { "signature" : "GET /2.3.0/lookup/citiesByName", "errors" : 0, "total" : 2, "latency" : "Avg 115ms, Max 140ms", "codes" : { "200" : 2 } }, { "signature" : "PUT /2.3.0/driver/config/:id", "errors" : 0, "total" : 15, "latency" : "Avg 41ms, Max 80ms", "co |
This file contains 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 Stream, params, request; | |
request = require('request'); | |
Stream = require('stream'); | |
params = { | |
url: 'http://www.this-page-intentionally-left-blank.org' | |
}; |
This file contains 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
if Meteor.isClient | |
serverTicks = new Meteor.Collection "serverTicks" | |
Template.hello.status = -> | |
return Session.get("status") | |
Template.hello.serverTicks = -> | |
tick = serverTicks.findOne {} | |
return tick?.count |
No Previous Gist