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
version: '2' | |
services: | |
nodered: | |
image: nodered/node-red-docker:0.17.5 | |
restart: always | |
environment: | |
- TZ=America/Montreal | |
logging: | |
driver: syslog | |
options: |
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
version: '3' | |
networks: | |
mynetwork: | |
ipam: | |
config: | |
- subnet: 172.20.0.0/24 | |
services: | |
nodered1: | |
image: nodered/node-red-docker | |
ports: |
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
version: "3.3" | |
services: | |
traefik: | |
image: "traefik:v2.2" | |
container_name: "traefik" | |
command: | |
- "--api=true" | |
- "--api.dashboard=true" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd > | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.nodered.plist</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/node</string> | |
<string>/usr/local/bin/node-red</string> |
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
/* OctoWS2811 BasicTest.ino - Basic RGB LED Test | |
Required Connections | |
-------------------- | |
pin 2: LED Strip #1 OctoWS2811 drives 8 LED Strips. | |
pin 14: LED strip #2 All 8 are the same length. | |
pin 7: LED strip #3 | |
pin 8: LED strip #4 A 100 ohm resistor should used | |
pin 6: LED strip #5 between each Teensy pin and the |
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
[ | |
{ | |
"id": "f1ffeb7e.f6451", | |
"type": "http in", | |
"z": "c29865fe.249648", | |
"name": "", | |
"url": "/upload", | |
"method": "get", | |
"upload": false, | |
"swaggerDoc": "", |
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
const dayToString = { | |
0: 'Sunday', | |
1: 'Monday', | |
2: 'Tuesday', | |
3: 'Wednesday', | |
4: 'Thursday', | |
5: 'Friday', | |
6: 'Saturday' | |
} |
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
#include <Adafruit_NeoPixel.h> | |
#include <Bounce2.h> | |
#define LED_PIN 17 | |
#define BUTTON_PIN 3 | |
#define POT_PIN 14 | |
#define NUM_LEDS 83 | |
#define BRIGHTNESS 100 |
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
FROM ubuntu:16.04 | |
RUN \ | |
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \ | |
apt-get update && \ | |
apt-get -y upgrade && \ | |
apt-get install -y build-essential curl && \ | |
apt-get install -y software-properties-common && \ | |
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \ | |
apt-get install -y nodejs |
NewerOlder