- node.js
- Installation paths: use one of these techniques to install node and npm without having to sudo.
- Node.js HOWTO: Install Node+NPM as user (not root) under Unix OSes
- Felix's Node.js Guide
- Creating a REST API using Node.js, Express, and MongoDB
- Node Cellar Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB
- JavaScript Event Loop
- Node.js for PHP programmers
This file contains 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 util = require('util'); | |
var bleno = require('bleno'); | |
var five = require("johnny-five"); | |
var BlenoPrimaryService = bleno.PrimaryService; | |
var BlenoCharacteristic = bleno.Characteristic; | |
var BlenoDescriptor = bleno.Descriptor; | |
var board = new five.Board({ |
This file contains 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
/* | |
* Copyright (C) 2014 Chris Banes | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains 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
# | |
# Makefile for the USB serial device drivers. | |
# | |
# Object file lists. | |
obj-$(CONFIG_USB_SERIAL) += usbserial.o | |
usbserial-y := usb-serial.o generic.o bus.o |
This file contains 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
// This Arduino example demonstrates bidirectional operation of a | |
// 28BYJ-48, which is readily available on eBay for $4.25 inc shipping, | |
// using a ULN2003 interface board to drive the stepper. The 28BYJ-48 | |
// motor is a 4-phase, 8-beat motor, geared down by a factor of 64. One | |
// bipolar winding is on motor pins 1,3 and the other on motor pins 2,4. | |
// Refer to the manufacturer's documentation of Changzhou Fulling | |
// Motor Co., Ltd., among others. The step angle is 5.625/64 and the | |
// operating Frequency is 100pps. Current draw is 92mA. | |
// Vin w USB power is 4.5v too slow for testing use 5v pin. | |
//#include <Narcoleptic.h> |
This file contains 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
# zmqimage.py -- classes to send, receive and display cv2 images via zmq | |
# based on serialization in pyzmq docs and pyzmq/examples/serialization | |
''' | |
PURPOSE: | |
These classes allow a headless (no display) computer running OpenCV code | |
to display OpenCV images on another computer with a display. | |
For example, a headless Raspberry Pi with no display can run OpenCV code | |
and can display OpenCV images on a Mac with a display. | |
USAGE: |
OlderNewer