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 hue = require("node-hue-api"), | |
HueApi = hue.HueApi, | |
lightState = hue.lightState; | |
var nforce = require('nforce'); | |
var http = require('http'), | |
faye = require('faye'); | |
var client; | |
var AckCounter = 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
var http = require('http'); | |
var nforce = require('nforce'); | |
var http = require('http'), | |
faye = require('faye'); | |
var client; | |
var AckCounter = 0; | |
console.log("Welcome to the Drone interface"); |
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 http = require("http"); | |
var Cylon = require('cylon'); | |
var copter1 = Cylon.robot({ | |
connection: {name: 'ardrone', adaptor: 'ardrone', port: '192.168.1.1'}, | |
device: {name: 'drone', driver: 'ardrone'}, | |
reidStart: function(my) { | |
console.log("reidStart"); | |
my.drone.takeoff(); |
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 http = require('http'); | |
var request = require('request'); | |
var nforce = require('nforce'); | |
var http = require('http'), | |
faye = require('faye'); | |
var client; | |
//salesforce settings | |
var sfuser = "[email protected]"; |
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
/* | |
by Reid Carlberg | |
Last update: November 20, 2014 | |
Questions? Ask me on Twitter. https://Twitter.com/ReidCarlberg | |
Basic use case: monitor range finder. When something is close, snap a picture, post to Salesforce Chatter. | |
Sign up for a free developer edition to try this code | |
http://developer.salesforce.com/signup | |
You'll need to setup a Connected App in your developer edition for OAuth2 stuff. Detailed instructions: |
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
http://bit.do/lightningdays | |
http://developerforce.github.io/lightning-connect-tutorial | |
http://developerforce.github.io/lightning-process-builder-tutorial | |
http://developerforce.github.io/lightning-components-tutorial | |
http://developerforce.github.io/lightning-app-builder-tutorial |
OlderNewer