brew install imapsync
Run (without ssl)
imapsync --host1 imap.from.server --user1 foo --password1 secret1 --host2 imap.dest.server --user2 bar --password2 secret2
Run (with ssl)
#!/bin/bash | |
CYAN="$(tput bold; tput setaf 6)" | |
RESET="$(tput sgr0)" | |
clear | |
if command -v python3 > /dev/null 2>&1; then | |
if [ $(python3 -c "print('ye')") = "ye" ]; then | |
clear |
#!/usr/bin/env python3 | |
# v0.4 Created by Tugzrida(https://gist.github.com/Tugzrida) | |
# Hook script for obtaining certificates through Certbot via Cloudflare DNS-01 challenge. | |
# Offers more flexibility for Cloudflare authentication than the certbot-dns-cloudflare plugin. | |
# Note that this script is not actively maintained or guaranteed to work consistently. | |
# Use in prod at your own risk and with adequate monitoring! | |
# Begin by listing the Cloudflare zones(domains) you with to obtain certificates for in the `zones` dict below, | |
# along with Cloudflare API tokens authorised to edit DNS on those zones. Also see the example dict for the CNAME setup option. |
#!/usr/bin/env bash | |
############################################################## | |
# Title : Hetzner Firewall Cloudflare IP Updater # | |
# Description : Allows you to update your Hetzner Cloud # | |
# Firewall to allow all incoming requests # | |
# from Cloudflare. # | |
# # | |
# Author : Sascha Greuel <[email protected]> # | |
# Date : 2021-03-30 09:30 # |
# | |
# Author: Mike Rushton | |
# | |
# IMPORTANT | |
# | |
# Please set jail.local's permission to 640 because it contains your CF API key. | |
# | |
# This action depends on curl (and optionally jq). | |
# Referenced from http://www.normyee.net/blog/2012/02/02/adding-cloudflare-support-to-fail2ban by NORM YEE | |
# |
This is a set of scripts / automations / other snippets for your Home Assistant configuration that enable you to postpone notifications and then have them automatically pushed to your phone when e.g. arriving home.
Some possible use cases for this set of snippets include:
blueprint: | |
name: Batteries Warning | |
description: Regularly test all sensors with 'battery' device-class for crossing | |
a certain battery level threshold or unseen sensor and if so execute an action. | |
domain: automation | |
input: | |
threshold: | |
name: Battery warning level threshold | |
description: Battery sensors below threshold are assumed to be low-battery (as | |
well as binary battery sensors with value 'on'). |
blueprint: | |
name: Frigate Notifications by SgtB have moved | |
description: | | |
## ANNOUNCEMENT | |
I have moved from this gist to a github repositry. | |
Please checkout https://github.com/SgtBatten/HA_blueprints for the latest versions | |
domain: automation |
""" | |
This script will read your Overseer data and create/apply user tags to all of your sonarr/radarr instances, then create a filter in each connected -arr application for the users you specify. | |
It is forward compatible with the future User Tagging feature of overseer, and formats the tag in the same 'id - lowercase username' pattern Overseer will | |
It only uses built in python libraries, so you should be able to download and run without much hassle. | |
NOTE: YOU ARE REQUIRED TO USE IP:PORT CONNECTIONS FOR YOUR SONARR/RADARR INSTANCES INSIDE OF OVERSEERR | |
This will NOT utilize docker-compose style hostnames at the moment, and I don't use them personally, so I don't see myself adding them | |
Steps to use: |