This has now been moved to a proper GitHub repository: https://github.com/njh/gen-webid-cert
Please submit issues and enhancements there.
This has now been moved to a proper GitHub repository: https://github.com/njh/gen-webid-cert
Please submit issues and enhancements there.
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'eventmachine' | |
require 'em-mqtt' | |
require 'sinatra/base' | |
require 'thin' | |
class WebApp < Sinatra::Base |
/* | |
Arduino UNO reads rising edge trigger pulses on pin 2 and displays counter on | |
Sparkfun SerLCD LCD-10097 | |
Photo of setup: http://ompldr.org/vZGNlbA/photo.JPG | |
Pariksheet <[email protected]> Mar 2012 | |
*/ | |
// Load the TCP Library | |
net = require('net'); | |
// Keep track of the chat clients | |
var clients = []; | |
// Start a TCP Server | |
net.createServer(function (socket) { | |
// Identify this client |