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
// Setup and Teardown | |
// ================== | |
// | |
// Jasmine [Setup and Teardown] examples. | |
// | |
// [Setup and Teardown]: http://jasmine.github.io/2.0/introduction.html#section-Setup_and_Teardown | |
// Specific to Firefox only. | |
function watchHandler(prop, oldVal, newVal) { | |
console.log(prop + ' changed from ' + oldVal + ' to ' + newVal); |
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
// Amazon SNS HTTP Endpoint | |
// ======================== | |
// | |
// A simple Amazon SNS HTTP endpoint server that subscribe to a topic and show | |
// request and response logs related to Amazon SNS activities. | |
// | |
// > (c) 2014 Chao Huang <chao@realguess.net> | |
var http = require('http'); | |
var https = require('https'); // HTTPS is needed for Amazon SNS subscription. |
NewerOlder