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
exports.handler = function (event, context) { | |
try { | |
console.log("event.session.application.applicationId=" + event.session.application.applicationId); | |
if (event.session.application.applicationId !== "amzn1.echo-sdk-ams.app.b67c3ab5-40ec-4345-856e-21c281cfded7") { | |
context.fail("Invalid Application ID"); | |
} | |
if (event.request.type === "IntentRequest") { | |
onIntent(event.request, |
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.exports = MyModule; | |
function MyModule (a, b) { | |
if (!(this instanceof MyModule)) return new MyModule(a, b); | |
} |
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
/*! normalize-all-you-really-need-tho.css v1.0.0 | MIT License */ | |
html { | |
font-family: sans-serif; /* 1 */ | |
-webkit-text-size-adjust: 100%; /* 2 */ | |
-ms-text-size-adjust: 100%; /* 2 */ | |
} | |
body { | |
margin: 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
/*! normalize-mobile.css v1.0.0 | MIT License */ | |
/* ========================================================================== | |
HTML5 display definitions | |
========================================================================== */ | |
/* | |
* Prevents modern browsers from displaying `audio` without controls. | |
* Remove excess height in iOS 5 devices. | |
*/ |
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
@cdn: "rons-house"; | |
.add-bg(@url) { | |
background-image: @url; | |
} | |
.foo { | |
.add-bg(~"url(@{cdn}/bar.png)"); | |
} |
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
// Simple Use: | |
// ---------- | |
// github('/user/repos', callback); | |
// github('/repos/:user/:repo/issues', { user: user, repo: repo }, callback); | |
var request = require('request'); | |
var querystring = require('querystring'); | |
var github = function (path, options, callback) { | |
var username = 'username'; |
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 spawn = require('child_process').spawn | |
var cp = spawn('git', ['clone', "git://github.com/jquery/jquery.git"]) | |
cp.stdout.setEncoding('utf8') | |
cp.stderr.setEncoding('utf8') | |
cp.stdout.on('data', function (data) { | |
console.log(arguments) | |
}) |
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
<!-- CSS --> | |
<link rel="stylesheet" href="stylesheets/base.css"> | |
<link rel="stylesheet" href="stylesheets/skeleton.css"> | |
<link rel="stylesheet" href="stylesheets/layout.css"> | |
<link rel="stylesheet" href="stylesheets/hush.css"> | |
<!-- JS --> | |
<script src="javascript/hush.js"></script> |
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
<!-- Defines a coffin drawer --> | |
<div class="coffin"> | |
<div class="bar">coffin</div> | |
<ul class="nav"> | |
<li><a data-coffin="click" href="#about">About</a></li> | |
<li><a data-coffin="click" href="#contact">Contact</a></li> | |
</ul> | |
</div> | |
<!-- Defines a coffin stage --> |
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
<!-- CSS --> | |
<link rel="stylesheet" href="stylesheets/base.css"> | |
<link rel="stylesheet" href="stylesheets/skeleton.css"> | |
<link rel="stylesheet" href="stylesheets/layout.css"> | |
<link rel="stylesheet" href="stylesheets/coffin.css"> | |
<!-- JS --> | |
<script src="javascript/coffin.js"></script> |
NewerOlder