Skip to content

Instantly share code, notes, and snippets.

View edorgeville's full-sized avatar
:octocat:
🧲

Erwan d'Orgeville edorgeville

:octocat:
🧲
View GitHub Profile
@edorgeville
edorgeville / Dockerfile
Last active June 13, 2024 13:37
gst-plugin-ndi in Docker
# 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 \
@edorgeville
edorgeville / TD-1.yaml
Created January 20, 2022 19:52
Clone Hero - Roland TD-1 module mapping
Mappings:
Red Pad:
- NoteNumber: 38
Velocity: 10
- NoteNumber: 40
Velocity: 10
Yellow Pad:
- NoteNumber: 48
Velocity: 10
Blue Pad:
@edorgeville
edorgeville / docker-compose.yml
Created March 29, 2021 20:21
balena + appwrite
# 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:
@edorgeville
edorgeville / Blink.ino
Last active November 19, 2018 13:40
Blink.ino and .elf - IOT2000 export
@edorgeville
edorgeville / setting-and-accessing-environment-variables-in-node-red.md
Last active August 21, 2024 22:40
Setting and accessing environment variables in node-red

Setting and accessing environment variables in node-red

Setting

  • echo "UUID=12345" > ~/env
  • sudo nano /lib/systemd/system/nodered.service
  • Add EnvironmentFile=/home/pi/env
  • sudo systemctl daemon-reload
  • sudo systemctl restart nodered

Accessing

@edorgeville
edorgeville / MyData.csv
Last active August 29, 2015 14:28 — forked from refactornator/MyData.csv
Upload a CSV file in the body of a HTTP POST request.
product price quantity
widget1 19.95 10
widget2 24.00 20
widget1 12.00 40
@edorgeville
edorgeville / setup_carrierwave.sh
Last active August 29, 2015 14:23
Rails : Carrierwave + S3 + Heroku with ENV variables
#!/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
@edorgeville
edorgeville / release.sh
Last active May 1, 2019 20:14
Creates a signed and zipaligned APK from your Ionic project
#!/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.
#
@edorgeville
edorgeville / .gitignore
Created April 23, 2015 03:39
Comment avoir un serveur rapido presto pour servir du contenu static avec Heroku
node_modules/
*.log
@edorgeville
edorgeville / .gitignore
Last active August 29, 2015 14:11
Hello Node.js
.DS_Store
node_modules/
*.log