This hides things and renames things.
This assigns things to areas based on their name
# Basic device configuration | |
esphome: | |
name: esp32s2_keypad | |
friendly_name: "ESP32-S2 Keypad" | |
platform: ESP32 | |
board: lolin_s2_mini | |
# Add TasmotaDeviceGroupsForESPHome external component | |
external_components: | |
- source: github://cossid/tasmotadevicegroupsforesphome@main |
package main | |
import ( | |
"crypto/tls" | |
"log" | |
"net" | |
"net/http" | |
"net/http/httputil" | |
"net/url" | |
) |
#!/usr/bin/env python | |
import json | |
import requests | |
import urllib3 | |
urllib3.disable_warnings() | |
cookie = open("cookie.txt").readline().strip() | |
csrf_token = [x.split("=") for x in cookie.split(";") if "csrf" in x][0][1] |
blueprint: | |
name: Motion-activated light scene with surrounding light level check and optional ambient scene | |
description: Turn on a light scene when motion is detected. Three different scenes can be defined depending on time of day. Furthermore a source for checking sourrounding light can be defined to enable light only if it is dark enough. | |
domain: automation | |
source_url: https://gist.github.com/dirkk1980/3e5c23acb05fb639bafdc5036b91aae6 | |
input: | |
motion_entity: | |
name: Motion Sensor | |
selector: | |
entity: |
FROM debian:buster-slim | |
# Install Chrome | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends software-properties-common \ | |
&& apt-add-repository contrib \ | |
&& apt-get update \ | |
&& apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ |
{ | |
"jobPosting": { | |
"description": "DESCRIPTION\n\nThe Amazon Payments Team manages all Amazon branded payment offerings, globally. These offerings are growing rapidly and we are continuously adding new market-leading features and launching new products. Our payments products (Amazon Co-Branded Credit Cards, Gift Cards, Points, Shop with Points and Installments ) provide the most innovative payment experience on and off Amazon. We manage a financial services ad serving platform (billions of impressions per year) through Amazon’s purchase path where we offer Amazon branded and non-branded payment products and services. Our team of high caliber software developers, statisticians, analysts and product managers use rigorous quantitative approaches to ensure that we target the right product to the right customer at the right moment, managing tradeoffs between click through rate, approval rates and lifetime value. We leverage the wealth of Amazon’s information to build a wide range of probabilistic models, set |
import json | |
from http.client import HTTPResponse | |
from http.server import BaseHTTPRequestHandler | |
from io import BytesIO | |
class HTTPRequest(BaseHTTPRequestHandler): | |
def __init__(self, request): | |
BaseHTTPRequestHandler.__init__(self, request, "127.0.0.1", None) |
package main | |
import ( | |
"encoding/json" | |
"github.com/eclipse/paho.mqtt.golang" | |
"github.com/hpcloud/tail" | |
"github.com/hpcloud/tail/watch" | |
"log" | |
"os" | |
"regexp" |