Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am chris-v on github.
* I am cviel (https://keybase.io/cviel) on keybase.
* I have a public key ASBSx-IFB7uHbNxtOsgGpQdIDqZMPHR5COp39FEHSISWlwo
To claim this, I am signing this object:
@Chris-V
Chris-V / deluge_extractor.py
Created September 17, 2017 17:16
Extract archives from a Deluge download and then call Rad/Sonarr to import the files.
#!/usr/bin/env python3
"""
Extract archives from a Deluge download and then call Rad/Sonarr to import the files.
Extra files (as configured in radarr or sonarr) are also copied to the
extraction directory.
This script has been tested with:
- Linux (tested with Arch)
@Chris-V
Chris-V / failed_login_attempt.yaml
Created November 11, 2016 05:08
Home Assistant notification for failed login attempts
- alias: failed_login_attempt
hide_entity: true
trigger:
- platform: event
event_type: "call_service"
event_data:
domain: "persistent_notification"
service: "create"
condition:
- condition: template