Simple elegant thermometer card for Home Assistant. Tweak as-needed!
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
# import config. | |
# You can change the default config with `make cnf="config_special.env" build` | |
cnf ?= config.env | |
include $(cnf) | |
export $(shell sed 's/=.*//' $(cnf)) | |
# import deploy config | |
# You can change the default deploy config with `make cnf="deploy_special.env" release` | |
dpl ?= deploy.env | |
include $(dpl) |
When using “bound” objects in an .aurora
file it is an absolute that you do not have spaces in the “mustaches”.
Examples:
- Bad:
{{ profile.my_var }}
- Good:
{{profile.my_var}}
When scheduling a task on aurora with Production=True
, the 0.7-incubating scheduler will set a default constraint preventing more than one instance of the task on the same rack.
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
'''Zookeeper-based Scheduler''' | |
## Standard Library | |
import cPickle # Store dictionary in ZooKeeper | |
import datetime # Time delta | |
import socket # Hostname | |
## Third Party | |
import celery # Current app | |
import celery.beat # Scheduler | |
import celery.utils.log # Get logger | |
import kazoo.client # ZooKeeper Client Library |
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 | |
require_once 'Zend/Service/Abstract.php'; | |
/** | |
* | |
* | |
* @author [email protected] | |
* | |
* <code> | |
* <?php | |
* $metadata = new Zircote_Service_Ec2_Metadata; |