Skip to content

Instantly share code, notes, and snippets.

View monkbroc's full-sized avatar

Julien Vanier monkbroc

View GitHub Profile
@monkbroc
monkbroc / pixel-wave.ino
Created November 23, 2016 21:30 — forked from anonymous/pixel-wave.ino
Pixel Wave
/* Pixel wave
* Copyright 2016 Julien Vanier, MIT license
*
* Connect 3 photoresistors to analog inputs and drive a Dotstar/Neopixel strip from the 3 analog signals!
*/
#include "application.h"
#include "dotstar/dotstar.h"
SYSTEM_THREAD(ENABLED);
@monkbroc
monkbroc / _service.md
Created August 26, 2016 20:21 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)