Skip to content

Instantly share code, notes, and snippets.

@KarthiPnsmy
KarthiPnsmy / app.js
Created October 18, 2013 17:18
listing
var win = Ti.UI.createWindow({
backgroundColor : "#ccc"
});
var jsonData = {
"restaurants" : [{
"id" : 1,
"title" : "Patel Brother",
"image_url" : "appicon.png",
"address" : "8800 Sawmil road, Texas",
#include <Bridge.h>
#include <YunClient.h>
#include "tentacle-build.h"
#include <SoftwareSerial.h>
#define server "tentacle.octoblu.com"
#define port 80
{
"node": "130694f0-2f91-11e5-871a-65da57e1c56b",
"name": "Debug",
"msgType": "input",
"msg": {
"devices": "*",
"topic": "device-status",
"payload": {
"online": false
},
@KarthiPnsmy
KarthiPnsmy / rfid_reader_octoblu.ino
Created August 25, 2015 07:43
RFID Reader + Octoblu
#include <Bridge.h>
#include <YunClient.h>
#include <SoftwareSerial.h>
//static const char uuid[] = "ef462118-69f4-4ed9-ba12-20ce4f8ee8f9";
//static const char token[] = "6631d217cfc81157752dfc151820bb04debaab20";
static const char uuid[] = "b04c9213-79db-44a4-a3bf-3838e9df3274";
static const char token[] = "4cc7e83ec5003e657e6234a5b1cb78ad5bb91035";