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
10 PRINT "Hello World!" |
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
[...] | |
/** | |
* Google Weave example by @bobvanluijt | |
* This example shows the private function 'OnBobCommand' which is proccesed when the deamon receives a request | |
*/ | |
private: | |
void OnBobsCommand(const std::weak_ptr<weave::Command>& command) { | |
/** | |
* Chunk: processing the received command | |
*/ |
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
{ | |
"deviceId": "abcd1234-abcd-1234-abcd-abcdef123456", | |
"name": "_someSample.bobCommand", | |
"component": "someSample" | |
} |
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
/** | |
* Falcor | |
*/ | |
{ $type: "ref", value: ["todosById", 44] } | |
/* or */ | |
var $ref = falcor.Model.ref; | |
$ref('todosById[44]') | |
/** | |
* Google API |
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
const EtherDream = require('./etherdream.js').EtherDream, | |
numpoints = 35000; | |
console.log('Looking for EtherDream hosts...') | |
EtherDream.findFirst(function(all) { | |
if (all.length == 0) { | |
console.log('Didn\'t find any EtherDream on the network.'); | |
return; | |
} |
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
/** | |
* Set the video sizes | |
*/ | |
var videoWith = 1280, | |
videoHeight = 720; | |
/** | |
* The magic | |
*/ | |
var videoRatio = videoHeight / videoWith, |
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
{ | |
"Adapter": { | |
"properties": { | |
"activateUrl": { | |
"description": "URL to adapter web flow to activate the adapter. Deprecated, use the activationUrl returned in the response of the Adapters.activate API.", | |
"type": "string" | |
}, | |
"activated": { | |
"description": "Whether this adapter has been activated for the current user.", | |
"type": "boolean" |
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
{ | |
"AclEntry": { | |
"properties": { | |
"cloudAccessRevoked": { | |
"description": "Indicates whether the AclEntry has been revoked from the cloud and the user has no cloud access, but they still might have local auth tokens that are valid and can access the device and execute commands locally. See localAccessInfo for local auth details.", | |
"type": "boolean" | |
}, | |
"creatorEmail": { | |
"description": "User who created this entry. At the moment it is populated only when pending == true.", | |
"type": "string" |
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
{ | |
"Command": { | |
"externalTypeName": "clouddevices.Command", | |
"properties": { | |
"blobParameters": { | |
"$ref": "#/definitions/JsonObject", | |
"description": "Blob parameters list." | |
}, | |
"blobResults": { | |
"$ref": "#/definitions/JsonObject", |
OlderNewer