This file contains hidden or 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
blueprint: | |
name: PupHaus Motion Sensor | |
description: Turn on lights/scenes/scripts when motion is detected and turn them off after a delay when motion stops | |
domain: automation | |
input: | |
motion_sensor: | |
name: Motion Sensor | |
description: Binary sensor that detects motion | |
selector: | |
entity: |
This file contains hidden or 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 | |
. readdit.env | |
USER_LIST="users.list" | |
FOLDER_SCHEME="{REDDITOR}" | |
FILE_SCHEME="{DATE}+{SUBREDDIT}+{POSTID}" | |
NORD_SLEEP=90 |
This file contains hidden or 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
--- | |
version: '3.7' | |
services: | |
wordpress: | |
image: wordpress:6 | |
ports: | |
- 8846:80/tcp | |
env_file: | |
- /volume/docker/pzg-wordpress/env |
This file contains hidden or 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
fan: | |
- platform: template | |
fans: | |
box_fan_1: | |
friendly_name: "box_fan_1" | |
unique_id: "box_fan_1_4pm" | |
value_template: > | |
{% if is_state('switch.box_fan_1_high', 'on') %} | |
on | |
{% elif is_state('switch.box_fan_1_medium', 'on') %} |
This file contains hidden or 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 -e | |
# source config | |
. ~/.syncconf | |
REPO_ID=$1 | |
if [ -z "$REPO_ID" ]; then | |
echo "Repo ID is empty." | |
exit 1 | |
fi |
This file contains hidden or 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 | |
FILES="users.yaml users2.yaml users3.yaml" | |
OUTPUT_FOLDER=./files/ | |
. venv/bin/activate | |
# The log file where the output will be stored | |
LOG_FILE=./logs/users_$(date +%s).log |
This file contains hidden or 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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "datasource", | |
"uid": "grafana" | |
}, | |
"enable": true, |
This file contains hidden or 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 | |
echo | |
echo "*******************" | |
echo "* Pull New Images *" | |
echo "*******************" | |
echo | |
docker-compose pull | |
echo |
This file contains hidden or 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
upstream pettingzoo-co_leader { | |
server localhost:28008; | |
} | |
upstream pettingzoo-co_worker_client { | |
hash $upstream_http_authentication; | |
server localhost:28081; | |
server localhost:28082; | |
} |
This file contains hidden or 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
--- | |
version: '3.7' | |
x-logging-common: &logging-common | |
logging: | |
driver: "loki" | |
options: | |
mode: "non-blocking" | |
max-buffer-size: "64m" | |
loki-url: "http://xxx.xxx.xxx.xxx:3100/loki/api/v1/push" |
NewerOlder