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
# To use this template, see the example CLI command below or use the AWS CloudFormation console at https://console.aws.amazon.com/cloudformation/home. | |
# aws cloudformation create-stack --stack-name homeassistant-skill --template-body file://lambda.yaml | |
# --parameters ParameterKey=BaseUrl,ParameterValue=[XXX] ParameterKey=SkillId,ParameterValue=[XXX] --capabilities CAPABILITY_IAM | |
AWSTemplateFormatVersion: '2010-09-09' | |
Metadata: | |
Copyright: Justin McCormick <me@justinmccormick.com> | |
License: Apache-2.0 | |
Description: | | |
This template creates a Lambda function that acts as a proxy between Alexa and Home Assistant. | |
The Lambda was sourced from https://gist.github.com/matt2005/744b5ef548cc13d88d0569eea65f5e5b. |
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
it "filters out projects based on search terms" do | |
get :index, { q: {category_cont: "clothing"}} | |
assigns(:projects).should_not include(project) | |
end |
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 | |
if(!empty($social_dialog)): //Step 4: Ok, was anything generated during that pages/element loop? | |
echo $social_dialog; //print out the html string generated if so... | |
endif; | |
?> |