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 | |
. readdit.env | |
USER_LIST="users.list" | |
FOLDER_SCHEME="{REDDITOR}" | |
FILE_SCHEME="{DATE}+{SUBREDDIT}+{POSTID}" | |
NORD_SLEEP=90 |
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
--- | |
version: '3.7' | |
services: | |
wordpress: | |
image: wordpress:6 | |
ports: | |
- 8846:80/tcp | |
env_file: | |
- /volume/docker/pzg-wordpress/env |
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
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 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 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 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 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 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 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" |
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
EXTERNAL_HOSTNAME=relay.example.com | |
HTTP_BIND=127.0.0.1:5000 | |
RUNNER_CONCURRENCY=5 | |
ENCRPYTION_KEY=longrandomstring | |
TOKEN_SALT=differentlongrandomstring | |
DB_TYPE=postgres | |
DB_ADDRESS=postgres |
NewerOlder