I hereby claim:
- I am cdchris12 on github.
- I am cdchris12 (https://keybase.io/cdchris12) on keybase.
- I have a public key ASC-9FKS3LJJOMOHHOoWrZ0hTK3zvhzVFjGM56ToOPwJhwo
To claim this, I am signing this object:
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: |
table = (1,2,3,4,5,6,7,8,9,10) | |
user_input = 1 | |
while 0 < user_input < 11: | |
user_input = int(input('Enter a number between 1 and 10: ')) | |
if not 0 < user_input < 11: | |
# Number out of bounds, exit | |
exit(1) | |
# End if |
#!/usr/env/bin python3 | |
# I don't remember how to do input since it's been so long | |
# so let's just assume you figure that out and call the input "input_number" | |
def check_bounds(number): | |
if number >= 20 and number <= 99: | |
return True | |
else: | |
return False |
<?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 | |
* |
I hereby claim:
To claim this, I am signing this object:
#!/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 |
#!/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 |