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
#!/usr/env/python3 | |
configpath = '/path/to/stash/config' #Path to your stash config files. No trailing slash | |
dockerpath = '/data/' #The path for media Stash uses internally. In docker containers this is often /data/. With trailing slash | |
realpath = '/real/path/to/your/media/' #The Path where your media files are at. Corresponds to dockerpath. With trailing slash | |
repo = '/path/to/your/borg/repo' #Your Borg Repo Path. No trailing slash | |
scriptpath = '/tmp/' #Temp Path - Bash script will be created here. With trailing slash | |
tagid = 197 #If you want to create a tag to flag files that should be backupped, enter the Id here. Else enter 0 |
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
caddy: "domain.example.com" | |
[email protected]: "/login* /login /blacklisted*" | |
caddy.reverse_proxy: "@notblacklisted {{upstreams 8080 http}}" |
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" | |
services: | |
mediagoblin: | |
image: heimpixel/mediagoblin_stl:01 | |
ports: | |
- 6543:6543 | |
volumes: | |
- /docker/user/datas/mediagoblin/media:/var/lib/mediagoblin #Your Media Path. Adjust Path in start.sh accordingly | |
- /docker/user/datas/mediagoblin/db/mediagoblin.db:/srv/mediagoblin.example.org/mediagoblin/mediagoblin.db #Your Database Path. Adjust Path in start.sh accordingly |
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
""" | |
Automatically replies to mails both unread and unanswered. | |
This script has a rebound and self mail protection. Also a rate limit protection. | |
You can adjust the time value with the variable blockhours | |
Thanks to for original gist: https://gist.github.com/BertrandBordage/e07e5fe8191590daafafe0dbb05b5a7b | |
WARNING: This answers to any both unread and unanswered mail, even if it is years old. | |
Don’t use on a mailbox with old messages left unread and unanswered. | |
Simply subclass ``AutoReplyer``, define the undefined class attribute, |
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 | |
# chmod +x and run this script directly, NOT with "bash vmswitcher" | |
# ./vmswitcher -d to run in background | |
#Enter your vm-ids here | |
IDLEVM="powersave-server" | |
ACTIVEVM="bin10" | |