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
blueprint: | |
name: Synchronize brightness states | |
description: Synchronize the on/off state of 2 entities | |
domain: automation | |
input: | |
entity_1: | |
name: First entity | |
selector: | |
entity: {} | |
entity_2: |
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
<?php | |
/** | |
* GravityView doesn't trigger the `gform_after_submission` action when editing entries. This does that, | |
* but ONLY FOR FORM #20. | |
* | |
* @param array $form | |
* @param int $entry_id ID of the entry being updated | |
* @param GravityView_Edit_Entry_Render $object | |
* |
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/bin/python | |
""" | |
Send an email with what was added to Plex in the past week using PlexPy. | |
Email includes title (TV: Show Name: Episode Name; Movie: Movie Title), time added, image, and summary. | |
""" | |
import requests | |
import sys | |
import time | |
import os |
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/bin/env python | |
# Go is a 2 player board game with simple rules. Two players alternate turns | |
# placing stones on a grid. If a stone is surrounded on 4 sides by stones of | |
# the opponent, it is captured. If a group of stones are surrounded, they are | |
# captured. | |
# See http://en.wikipedia.org/wiki/Rules_of_Go#Capture for a visual explanation. | |
# Below is an implementation of a Go board. Please write some code in the | |
# move() method to check for captures and output something when a capture |