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: Room Scene Selector | |
description: | |
Automate scene selection and light management in a room using button | |
presses, motion sensors, and optional hold actions. | |
domain: automation | |
input: | |
turn_off_action: | |
name: Turn Off Action | |
description: Select action type to execute turn off |
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
DEBUG: Evaluating config script "/opt/ejabberd-21.12/rebar.config.script" | |
DEBUG: Consult config file "/opt/ejabberd-21.12/rebar.config" | |
DEBUG: Rebar location: "/opt/ejabberd-21.12/rebar" | |
DEBUG: Evaluating config script "/opt/ejabberd-21.12/src/ejabberd.app.src.script" | |
DEBUG: is_app_available, looking for App base64url with Path "/opt/ejabberd-21.12/deps/base64url" | |
DEBUG: Consult config file "/opt/ejabberd-21.12/deps/base64url/src/base64url.app.src" | |
INFO: Looking for base64url-.* ; found base64url-1.0.1 at /opt/ejabberd-21.12/deps/base64url | |
DEBUG: is_app_available, looking for App cache_tab with Path "/opt/ejabberd-21.12/deps/cache_tab" | |
DEBUG: Consult config file "/opt/ejabberd-21.12/deps/cache_tab/src/cache_tab.app.src" |
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 | |
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand, | |
Symfony\Component\Console\Input\InputArgument, | |
Symfony\Component\Console\Input\InputInterface, | |
Symfony\Component\Console\Input\StringInput, | |
Symfony\Component\Console\Output\OutputInterface; | |
class BeanstalkdManagerCommand extends ContainerAwareCommand | |
{ |
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
require 'rubygems' | |
require 'json' | |
LOADBALANCER = 'your-elb-load-balancer-name' | |
lb_instances = %x( aws elb describe-instance-health --load-balancer-name #{LOADBALANCER} ) | |
lb_instances = JSON.parse(lb_instances) | |
instances = lb_instances["InstanceStates"] | |
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 | |
function __redirect($url) | |
{ | |
header( 'Content-type: text/html; charset=utf-8' ); | |
header("Location: " . $url, true, 307 ); | |
echo "<html></html>"; | |
flush(); | |
ob_flush(); | |
exit; | |
} |