Skip to content

Instantly share code, notes, and snippets.

View gentoomaniac's full-sized avatar

Marco Siebecke gentoomaniac

View GitHub Profile
@dougalcampbell
dougalcampbell / NeoPixelTest.ino
Created October 31, 2013 03:29
Example of driving an Adafruit NeoPixel Ring with the Digispark Arduino-compatible board
#include <Adafruit_NeoPixel.h>
#define PIN 1
#define STRIPSIZE 16
// Parameter 1 = number of pixels in strip
// Parameter 2 = pin number (most are valid)
// Parameter 3 = pixel type flags, add together as needed:
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)
// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)
@rlagmlah
rlagmlah / influxd.conf
Created January 17, 2020 11:46
Graphite template settings for InfluxDB for FreeNAS.
[[graphite]]
enabled = true
database = "graphite"
bind-address = ":2003"
protocol = "tcp"
templates = [
# CPU usages
"*.*.*.cpu-idle host.host.type.measurement",
"*.*.*.cpu-interrupt host.host.type.measurement",
"*.*.*.cpu-nice host.host.type.measurement",