Skip to content

Instantly share code, notes, and snippets.

View michapixel's full-sized avatar

Michael Stuhr michapixel

View GitHub Profile
@michapixel
michapixel / esp8266-espruino-neopixel.js
Created March 1, 2017 20:52 — forked from creationix/esp8266-espruino-neopixel.js
Example of controlling rgbw neopixels from an esp8266 using espruino firmware.
var esp = require("ESP8266");
var pin = new Pin(5);
pinMode(pin, "output");
var pixels = [
//G,R,B,W
0,0,0,0, // LED 0
0,0,0,0, // LED 1
0,0,0,0, // LED 2
@michapixel
michapixel / gist:7239192
Created October 30, 2013 19:59
initial npm install of https://github.com/ragulka/sails-starter-app fails with a lot of errors. logfile:
This file has been truncated, but you can view the full file.
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using npm@1.3.11
3 info using node@v0.10.20
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 verbose readDependencies using package.json deps
6 verbose install where, deps [ 'B:\\Node_Workspace\\sails-starter-app',
6 verbose install [ 'sails',
{
"type":"object",
"$schema": "http://json-schema.org/draft-03/schema",
"title": "Kalender Input",
"name": "input-schema",
"description": "Schema für den Input-Feed der Landeszentrale für politische Bildung SH",
"id": "Kalender_Input",
"required":true,
"properties":{
"feed": {