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
/** | |
* 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
{ | |
"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
[...] | |
/** | |
* 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
10 PRINT "Hello World!" |
NewerOlder