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
dialog (Concept) { | |
match { | |
// Look for this type | |
NumWords | |
} | |
// Use the following template text with this type | |
template("Number of Words") | |
} |
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
dialog (Result) { | |
match { | |
PasswordResult(this) { | |
from-output: generate(numWords) | |
} | |
} | |
template ("I generated a memorable, secure password for you using common english words:") | |
} |
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
<layout mode="Details"> | |
<match> | |
PasswordResult (r) | |
</match> | |
<content> | |
<layout-macro id="common:card"> | |
<title>Your New Password</title> | |
<titleSize>large</titleSize> | |
<bodyText>{{r.Password}}</bodyText> | |
</layout-macro> |
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 http = require( 'http' ); | |
var url = 'http://api.openweathermap.org/data/2.5/weather?zip=<YOURZIP>,us&units=imperial&APPID=<YOURAPPID>'; | |
http.get( url, function( response ) { | |
var data = ''; | |
response.on( 'data', function( x ) { data += x; } ); |
OlderNewer