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
| - alias: Tuscon home parking - front gate close | |
| trigger: | |
| platform: state | |
| entity_id: proximity.tucon_parking | |
| attribute: dir_of_travel | |
| to: "stationary" | |
| for: | |
| minutes: 5 | |
| seconds: 42 | |
| condition: |
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
| version: "3" | |
| services: | |
| whoami: | |
| image: containous/whoami | |
| networks: | |
| - default | |
| - traefik-public | |
| deploy: | |
| replicas: 1 | |
| labels: |
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
| FROM ruby:2.3.1 | |
| RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list && apt-get update -qq && apt-get install -y \ | |
| build-essential \ | |
| libpq-dev nodejs \ | |
| libsodium-dev \ | |
| lsof \ | |
| vim \ | |
| graphicsmagick \ | |
| postgresql-client \ | |
| locales \ |
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
| => [["203", "1", "721"], | |
| ["301", "1", "720"], | |
| ["368", "1", "720"], | |
| ["385", "1", "720"], | |
| ["508", "1", "720"], | |
| ["697", "1", "720"], | |
| ["812", "1", "720"], | |
| ["883", "1", "720"], | |
| ["893", "1", "720"], | |
| ["907", "1", "720"], |
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
| [["203", "1", "721"], | |
| ["697", "1", "720"], | |
| ["883", "1", "720"], | |
| ["893", "1", "720"], | |
| ["908", "1", "720"], | |
| ["911", "1", "722"], | |
| ["944", "1", "720"], | |
| ["1245", "1", "720"], | |
| ["1253", "1", "720"], | |
| ["1301", "1", "721"], |
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
| #!/usr/bin/env bash | |
| apt-get update | |
| apt-get install -y apt-transport-https ca-certificates curl vim sudo | |
| curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg | |
| echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list | |
| apt-get update | |
| apt-get install -y kubelet kubeadm kubectl | |
| curl -fsSL https://get.docker.com/ -o get-docker.sh | |
| sh get-docker.sh |
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
| version: "3" | |
| services: | |
| wordpress: | |
| image: wordpress | |
| ports: | |
| - "80" | |
| networks: | |
| - traefik-public | |
| - backend | |
| deploy: |
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
| events_forwarder: | |
| module: events_forwarder | |
| class: EventsForwarder | |
| entities: | |
| # - binary_sensor.aqara_door_1_contact | |
| # - binary_sensor.debug_contact | |
| # - sensor.aqara_multi_outdoor_temperature | |
| - sensor.day_night_custom | |
| - sensor.zwift_online_1013655 | |
| - binary_sensor.aqara_water_rain_water_leak |
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
| require 'net/http' | |
| require "pp" | |
| # CamImage.new.call(temp: -12, lux: 12222) | |
| # returns path | |
| class CamImage | |
| def initialize | |
| 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
| #!/usr/bin/env bash | |
| for f in "$@"; do | |
| [[ "$f" != *.flac ]] && continue | |
| album="$(metaflac --show-tag=album "$f" | sed 's/[^=]*=//')" | |
| artist="$(metaflac --show-tag=artist "$f" | sed 's/[^=]*=//')" | |
| date="$(metaflac --show-tag=date "$f" | sed 's/[^=]*=//')" | |
| title="$(metaflac --show-tag=title "$f" | sed 's/[^=]*=//')" | |
| year="$(metaflac --show-tag=date "$f" | sed 's/[^=]*=//')" | |
| genre="$(metaflac --show-tag=genre "$f" | sed 's/[^=]*=//')" |