NetworkButtonJSON is a forest of network enabled leds that switch on and off on simultaneosly. Join the forest, build a networked LED.
You should:
- mount an Arduino Ethernet Shield.
- build an Arduino-based prototype with the following schema:
# This is file ~/.gitconfig | |
[merge] | |
tool = extMerge | |
[mergetool "extMerge"] | |
cmd = ~/bin/extMerge \"$BASE\" \"$LOCAL\" \"$REMOTE\" -o \"$MERGED\" |
(function($){ | |
function dragEnter(e) { | |
$(e.target).addClass("dragOver"); | |
e.stopPropagation(); | |
e.preventDefault(); | |
return false; | |
}; | |
function dragOver(e) { | |
e.originalEvent.dataTransfer.dropEffect = "copy"; |
module.exports = function (grunt) { | |
'use strict'; | |
// grunt-contrib-watchのlivereloadオプションでlivereload | |
grunt.initConfig({ | |
watch: { | |
html: { | |
files: '**/*.html', | |
tasks: [], |
var http = require('http'), | |
_ = require('underscore'), | |
httpProxy = require('http-proxy'); | |
var proxyOptions = { | |
router: { | |
"api.testAppX.com" : 'localhost:2041', | |
"dev.api.testAppX.com" : 'localhost:2042', | |
"www.testAppY.com" : 'localhost:10520', | |
"test.oldApps.com" : 'localhost:10520', | |
'bc.ryanwu.co' : 'localhost:8888' |
git filter-branch -f --env-filter " | |
GIT_AUTHOR_NAME='Mailo Světel' | |
GIT_AUTHOR_EMAIL='development@rooland.cz' | |
GIT_COMMITTER_NAME='Mailo Světel' | |
GIT_COMMITTER_EMAIL='development@rooland.cz' | |
" HEAD |
var app = angular.module('validationExample', []); | |
app.controller('signupController', ['$scope', function($scope) { | |
$scope.submitted = false; | |
$scope.signupForm = function() { | |
if ($scope.signup_form.$valid) { | |
} else { | |
$scope.signup_form.submitted = true; | |
} |
{_} = require 'underscore' | |
child_process = require 'child_process' | |
async = require 'async' | |
healthCheckInterval = 60 * 1000 | |
bounceInterval = 60 * 1000 | |
bounceWait = bounceInterval + 30 * 1000 | |
delayTimeout = (ms, func) -> setTimeout func, ms | |
class MonitoredChild |
Before starting please have a mongo replica set initiated.
I have mongo running at localhost:27170
and elasticsearch at localhost:9200
The test dataset I used is available on the mongodb website.
I am using MongoDB 2.6 and Elasticsearch 2.2.0 on a Windows machine.
Here I have tested three cases:
mc-test-index
in this casevar fs = require('fs'); | |
var lame = require('lame'); | |
var Speaker = require('speaker'); | |
fs.createReadStream(process.argv[2]) | |
.pipe(new lame.Decoder()) | |
.on('format', function (format) { | |
this.pipe(new Speaker(format)); | |
}); |