Skip to content

Instantly share code, notes, and snippets.

View fwartner's full-sized avatar
😻
Doing cool stuff

Florian Wartner fwartner

😻
Doing cool stuff
View GitHub Profile
@fwartner
fwartner / docker-compose.yaml
Created August 31, 2022 14:56
Papermerge custom ports
version: '3.7'
# Any top-level key starting with x- in a Docker Compose file will be
# ignored
x-backend: &backend # yaml anchor definition
image: ${APP_IMAGE}:${APP_TAG}
volumes:
- media_root:/app/media
environment:
# PAPERMERGE__<section>__<variable>
- PAPERMERGE__MAIN__SECRET_KEY=${SECRET_KEY}
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
docker pull louislam/uptime-kuma:1
docker stop uptime-kuma
docker rm uptime-kuma
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
void onConnectionEstablished() {
client.subscribe("zigbee2mqtt/Box Button", [](const String& payload) {
blink();
})
}
#include "EspMQTTClient.h"
#define PIN_RED 23 // GIOP23
#define PIN_GREEN 22 // GIOP22
#define PIN_BLUE 21 // GIOP21
EspMQTTClient client(
"MY_WIFI_SSID",
"MY_WIFI_PASSWORD",
"MY_BROKER_IP / HOSTNAME",
blueprint:
name: Climate Alert
description: Notification
domain: automation
input:
climate:
name: Climate Entity
selector:
entity:
domain: climate
{
"swagger": "2.0",
"info": {
"title": "Untitled Paw Document",
"version": "v0.0.0"
},
"host": "cloudsieb.timetrackenterprise.com",
"schemes": [
"https"
],
@fwartner
fwartner / hosts
Created December 13, 2022 22:39 — forked from Aidan647/hosts
personal block list for pi-hole
0.0.0.0 zen.yandex.ru
0.0.0.0 www.yandex.ru
0.0.0.0 yandex.ru
0.0.0.0 yandex.org
0.0.0.0 yandex.net
0.0.0.0 yandex.net.ru
0.0.0.0 yandex.com.ru
0.0.0.0 yandex.ua
0.0.0.0 yandex.com.ua
0.0.0.0 yandex.by
type: horizontal-stack
cards:
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.arbeitszeit
icon: mdi:briefcase
icon_height: 40px
esphome:
name: esphome-web-d64945
esp8266:
board: nodemcu
logger:
api:
encryption: