Install rbenv
rbenv => https://github.com/sstephenson/rbenv
set you ruby version
. . .
====== TCP Server ===== | |
var net = require('net'); | |
var HOST = '127.0.0.1'; | |
var PORT = 6969; | |
// Create a server instance, and chain the listen function to it | |
// The function passed to net.createServer() becomes the event handler for the 'connection' event | |
// The sock object the callback function receives UNIQUE for each connection |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Config Github Settings | |
github_username = "fideloper" | |
github_repo = "Vaprobash" | |
github_branch = "1.0.1" | |
github_url = "https://raw.githubusercontent.com/#{github_username}/#{github_repo}/#{github_branch}" | |
# Server Configuration |
Install rbenv
rbenv => https://github.com/sstephenson/rbenv
set you ruby version
. . .
List commands supported by Rake:
// Requires: http://cloud.github.com/downloads/harthur/brain/brain-0.6.0.js | |
// Contrived example using string "0" as output. | |
var net = new brain.NeuralNetwork(); | |
net.train([{input: [0, 0], output: {"F":1}}, | |
{input: [0, 1], output: {"1":1}}, | |
{input: [1, 0], output: {"1":1}}, | |
{input: [1, 1], output: {"0":1}}]); |
/* | |
DESCRIPTION | |
----------- | |
Use NodeJS to read RFID ids through the USB serial stream. Code derived from this forum: | |
http://groups.google.com/group/nodejs/browse_thread/thread/e2b071b6a70a6eb1/086ec7fcb5036699 | |
CODE REPOSITORY | |
--------------- | |
https://gist.github.com/806605 |