Skip to content

Instantly share code, notes, and snippets.

@Noschvie
Noschvie / Test-max31865.ino
Last active January 14, 2022 06:27
Arduino Example: Adafruit P1000 RTD Sensor / MAX31865
/***************************************************
This is a library for the Adafruit PT100/P1000 RTD Sensor w/MAX31865
Designed specifically to work with the Adafruit RTD Sensor
----> https://www.adafruit.com/products/3328
This sensor uses SPI to communicate, 4 pins are required to
interface
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
@Noschvie
Noschvie / docker-compose.yml
Last active October 11, 2022 08:50
Node-Red and Traefik : Configuration and Setup
version: '3.3'
services:
###############################################
#### Traefik Proxy Setup #####
###############################################
traefik:
image: traefik:latest
container_name: traefik
restart: always
@Noschvie
Noschvie / docker-compose.yml
Last active May 4, 2020 15:05 — forked from Mau5Machine/docker-compose.yml
Traefik Configuration and Setup
version: "3.3"
services:
################################################
#### Traefik Proxy Setup #####
###############################################
traefik:
image: traefik:v2.0
restart: always
@Noschvie
Noschvie / create_docker_compose_basic_auth_string_for_traefik.sh
Last active May 3, 2020 13:00 — forked from movd/create_docker_compose_basic_auth_string_for_traefik.sh
Generator to create basic authentication string for traefik (docker-compose.yml and .env)
#!/bin/bash
command -v docker >/dev/null 2>&1 || { echo >&2 "I require Docker but it's not installed. Aborting."; exit 1; }
echo "Basic auth for traefik >= v1.7"
read -p "User: " USER
read -p "Password: " PW
# Pull httpd:alpine image (small and includes httpasswd)
docker pull httpd:alpine >/dev/null 2>&1