echo "UUID=12345" > ~/env
sudo nano /lib/systemd/system/nodered.service
- Add
EnvironmentFile=/home/pi/env
sudo systemctl daemon-reload
sudo systemctl restart nodered
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
# This Dockerfile installs required dependencies and builds | |
# the gst-plugin-ndi gstreamer plugin. | |
# Uncomment lines 9 through 23 if you want to install all | |
# available gstreamer plugins and CLI tools. | |
FROM rust | |
RUN apt-get update && apt-get install -y \ | |
# libgstreamer-plugins-base1.0-dev \ | |
# libgstreamer-plugins-bad1.0-dev \ |
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
Mappings: | |
Red Pad: | |
- NoteNumber: 38 | |
Velocity: 10 | |
- NoteNumber: 40 | |
Velocity: 10 | |
Yellow Pad: | |
- NoteNumber: 48 | |
Velocity: 10 | |
Blue Pad: |
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
# WARNING! | |
# This is a development version of THE Appwrite docker-compose.yml file. | |
# Avoid using this file in your production environment. | |
# We're exposing here sensetive ports and mounting code volumes for rapid development and debugging of the server stack. | |
# For a production ready compose file please use: https://appwrite.io/docker-compose.yml | |
version: '2' | |
services: | |
traefik: |
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
/* | |
Blink | |
Turns on an LED on for one second, then off for one second, repeatedly. | |
This example code is in the public domain. | |
*/ | |
// Pin 13 has an LED connected on most Arduino boards. | |
// Pin 11 has the LED on Teensy 2.0 | |
// Pin 6 has the LED on Teensy++ 2.0 |
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
product | price | quantity | |
---|---|---|---|
widget1 | 19.95 | 10 | |
widget2 | 24.00 | 20 | |
widget1 | 12.00 | 40 |
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
#!/bin/bash | |
# Use as follows : | |
# ./setup_carrierwave.sh local | |
# ./setup_carrierwave.sh remote project_name [production/staging] | |
set -e | |
# Parameters | |
MODE=$1 | |
PROJECT_NAME=$2 |
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
#!/bin/bash | |
# | |
# Creates a signed and zipaligned APK from your Ionic project | |
# | |
# Place your keystore in the root of your project and name it <company>.keystore | |
# Use this script as following : | |
# $ ./release.sh [company] [version] | |
# | |
# Don't forget to gitignore your key and your compiled apks. | |
# |
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
node_modules/ | |
*.log |
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
.DS_Store | |
node_modules/ | |
*.log |
NewerOlder