####Accessing an active container docker exec -t -i [container-id] /bin/bash
####Running an image docker run -v ~/Code/BBMS/:/var/www:rw -p 80:80 -d [image name] /sbin/my_init --enable-insecure-key
####Images
####Accessing an active container docker exec -t -i [container-id] /bin/bash
####Running an image docker run -v ~/Code/BBMS/:/var/www:rw -p 80:80 -d [image name] /sbin/my_init --enable-insecure-key
####Images
There are a few things we ask members to remember. This helps keep the space and our equipment easy for all members to use, and promotes harmony among members.
{"vestd.dev, vestd.com":{"_enabled":true,"_rules":{".text-muted, .page-title p, .text-light-greyish-turquoise, .text-lighter-grey, .navbar-default .dropdown-menu li a, .card-item .card-item-body .card-item-body-meta":{"color":"#333"},"body":{"color":"#333"},".well":{"background-color":"#fafafa","box-shadow":"none"}}}} |
File: /etc/rc.local
Execute command such as
cd /home/pi/app/;
git pull;
node /home/pi/app/app.js > /dev/null &
#include "FastLED.h" | |
#include <CapacitiveSensor.h> | |
// How many leds in your strip? | |
#define NUM_LEDS 130 | |
// What pin are the LED's connected to? | |
#define DATA_PIN 2 | |
// Define the array of leds |
[program:display] | |
command=python /home/pi/youtube.py | |
autostart=true | |
autorestart=true | |
stderr_logfile=/var/log/youtube.err.log | |
stdout_logfile=/var/log/youtube.out.log | |
user=root |
#include "Particle.h" | |
#include "neopixel.h" | |
SYSTEM_MODE(AUTOMATIC); | |
// IMPORTANT: Set pixel COUNT, PIN and TYPE | |
#define PIXEL_PIN D2 | |
#define PIXEL_COUNT 120 |
#!/usr/bin/env python | |
import json | |
import sys | |
try: | |
dotenv = sys.argv[1] | |
except IndexError as e: | |
dotenv = '.env' | |
with open(dotenv, 'r') as f: |