This file contains hidden or 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
| function respondToEmails() { | |
| //var filter = 'from:(some.email@address.com) AND -label:"Auto-Replied"'; | |
| var filter = 'label:"Job Proposals" AND -label:"Auto-Replied"'; | |
| var completeLabel = GmailApp.getUserLabelByName("Auto-Replied"); | |
| var threads = GmailApp.search(filter); | |
| var replyFrom = "Recruiter Bot <your.email+recruiterbot@gmail.com>"; | |
| val realEmail = "your.real@email.com" | |
| var formLink = "https://link.to/your/form" | |
| var response = ( |
This file contains hidden or 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
| Mix.install([{:plug_cowboy, "~> 2.0"}]) | |
| defmodule Server do | |
| use Plug.Router | |
| plug(:match) | |
| plug(:dispatch) | |
| match _ do | |
| send_resp(conn, 200, "Hello World!") | |
| end |
This file contains hidden or 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: Motion-activated Switch and/or Light | |
| description: Turn on a switch and/or light when motion is detected. | |
| domain: automation | |
| source_url: https://gist.githubusercontent.com/sheharyarn/ee440fdf7258db79c39e1ebb020d473b/raw/motion_light_or_switch.yaml | |
| author: Sheharyar Naseer + Home Assistant | |
| input: | |
| motion_entity: | |
| name: Motion Sensor | |
| selector: |
OlderNewer