Lance Fisher lancefisher

View Country Array One Liner
1
[{"code":"AF","name":"Afghanistan"},{"code":"AL","name":"Albania"},{"code":"DZ","name":"Algeria"},{"code":"AD","name":"Andorra"},{"code":"AO","name":"Angola"},{"code":"AI","name":"Anguilla"},{"code":"AG","name":"Antigua and Barbuda"},{"code":"AR","name":"Argentina"},{"code":"AM","name":"Armenia"},{"code":"AW","name":"Aruba"},{"code":"AU","name":"Australia"},{"code":"AT","name":"Austria"},{"code":"AZ","name":"Azerbaijan"},{"code":"BS","name":"Bahamas"},{"code":"BH","name":"Bahrain"},{"code":"BD","name":"Bangladesh"},{"code":"BB","name":"Barbados"},{"code":"BY","name":"Belarus"},{"code":"BE","name":"Belgium"},{"code":"BZ","name":"Belize"},{"code":"BJ","name":"Benin"},{"code":"BM","name":"Bermuda"},{"code":"BT","name":"Bhutan"},{"code":"BO","name":"Bolivia"},{"code":"BA","name":"Bosnia Herzegovina"},{"code":"BW","name":"Botswana"},{"code":"BV","name":"Bouvet Island"},{"code":"BR","name":"Brazil"},{"code":"IO","name":"British Indian Ocean Territory"},{"code":"VG","name":"British Virgin Islands"},{"code":"BN","nam
View states_hash.json
1 2 3 4 5 6 7 8 9 10
{
"AL": "Alabama",
"AK": "Alaska",
"AS": "American Samoa",
"AZ": "Arizona",
"AR": "Arkansas",
"CA": "California",
"CO": "Colorado",
"CT": "Connecticut",
"DE": "Delaware",
View ArduinixShield.cs
1 2 3 4 5 6 7 8 9 10
using System.Threading;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware.Netduino;
 
namespace NetduinoArduinix
{
public class ArduinixShield
{
/// <summary>
/// There are two SN74141 chips on the Arduinix. These Netduino Output ports are connected
View default.cshtml
1 2 3 4 5 6 7 8 9 10
@using Twilio;
@{
string accountSid = "XXXXXX";
string authToken = "XXXXXX";
string appSid = "XXXXXX";
 
var capability = new TwilioCapability(accountSid, authToken);
capability.AllowClientOutgoing(appSid);
capability.AllowClientIncoming("jenny");
string token = capability.GenerateToken();
View answer-nixie-tubes.cshtml
1 2 3 4 5 6 7 8 9 10
@using System.Text.RegularExpressions;
@{
Response.ContentType = "text/xml";
// My Twilio phone number
string callerId = "+XXXXXXXXXX";
// put your default Twilio Client name here, for when a phone number isn't given
string number = "jenny";
View server.js
1 2 3 4 5 6 7 8 9 10
var http = require('http');
var qs = require('querystring');
 
http.createServer(function (req, res) {
 
if (req.method === 'POST') {
var body = '';
req.on('data', function(data) {
body += data;
});
Something went wrong with that request. Please try again.