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
[default] | |
output = json | |
region = us-east-1 | |
aws_access_key_id = __YOUR_KEY_ID__ | |
aws_secret_access_key = __YOUR_SECRET_KEY__ |
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
# AWS Python library | |
import boto | |
# Hidden password input | |
import getpass | |
# Unique file name | |
import tempfile | |
# OS-level chmod access |
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
// Libraries | |
#include <Bridge.h> | |
#include <Console.h> | |
#include <YunClient.h> | |
// Connectivity parameters | |
#define ENDPOINT "kaazing.kevinhoyt.com" | |
#define LOGIN " " | |
#define PASSCODE " " | |
#define PORT 61613 |
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
// Libraries | |
var climate = require( 'climate-si7020' ); | |
var parse = require( 'parse' ).Parse; | |
var tessel = require( 'tessel' ); | |
var wifi = require( 'wifi-cc3000' ); | |
// Constants | |
var PARSE_APP = '_YOUR_APP_KEY_'; | |
var PARSE_KEY = '_YOUR_JAVASCRIPT_KEY_'; |
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
<html> | |
<head> | |
<title>Proxy Test</title> | |
<script> | |
// Echo | |
var echo = { | |
action: "ECHO", | |
whatever: { |
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
// Libraries | |
#include <math.h> | |
// Literals | |
#define THERMISTOR A0 | |
// Constants | |
// Thermistor computation | |
const float ANALOG_STEPS = 4095.0; | |
const float B_THERM = 3977.0; |
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
<html> | |
<head> | |
<title>Spinning Color</title> | |
<!-- Styles --> | |
<style type="text/css"> | |
@-webkit-keyframes spin { | |
from { | |
transform: rotate( 0deg ); |
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
<html> | |
<head> | |
<title>AMQP Boilerplate</title> | |
<script src="http://localhost:8001/demo/amqp/javascript/WebSocket.js" type="text/javascript"></script> | |
<script src="http://localhost:8001/demo/amqp/javascript/AmqpClient.js" type="text/javascript"></script> | |
<script> | |
// Constants |
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
// Originally | |
// http://phrogz.net/js/classes/OOPinJS.html | |
function Proxy() | |
{ | |
// Private variables and methods | |
// Only priveleged | |
var MY_PRIVATE = "PRIVATE"; | |
var moar_private = null; |
OlderNewer