I hereby claim:
- I am tim-peters on github.
- I am tipe (https://keybase.io/tipe) on keybase.
- I have a public key whose fingerprint is 5BE9 C46D EE41 3015 DE57 8233 98AB F7A5 161C FAEF
To claim this, I am signing this object:
| blueprint: | |
| name: "While Condition - Expert Mode" | |
| description: > | |
| Setzt beliebige Entitäten in einen definierten Status, SOLANGE eine | |
| Master-Bedingung erfüllt ist. Beim Verlassen der Bedingung wird der | |
| ursprüngliche oder ein definierter Fallback-Status wiederhergestellt. | |
| Unterstützt: Lichter (inkl. Helligkeit/Farbe), Schalter, Cover, | |
| Climate, Media Player, Input-Helfer und mehr. | |
| source_url: https://gist.githubusercontent.com/tim-peters/8315fa060387e818b83f00ae6bdf9cda/raw/while_expert.yaml |
| blueprint: | |
| name: "While Condition – Entity State Sync" | |
| description: > | |
| Synchronisiert den Status mehrerer Entitäten bidirektional oder unidirektional. | |
| Unterstützt Master-Modus, Invertierung und Debouncing. | |
| source_url: https://gist.githubusercontent.com/tim-peters/9f5188d67184ef330bb01d63fc5fe0fa/raw/while.yaml | |
| domain: automation | |
| input: | |
| entities: |
| #!/bin/bash | |
| HOSTNAME=[url] | |
| DYNDNSUSER=[email] | |
| DYNDNSPW=[SpDyn token] | |
| DYNDNSURL=https://update.spdyn.de/nic/update | |
| CURRENT_IP6=$(ip address show dev wlan0 | grep ff:fe | grep -v fe80: | awk '{print $2}' | sed 's/^\([0-9a-f:]*\).*/\1/g') | |
| DNS_IP6=$(host -t AAAA ${HOSTNAME} | tr " " "\n" | grep ff:fe) |
| # Depends on | |
| # * Python | |
| # * Pillow (https://pypi.python.org/pypi/Pillow/3.4.2#downloads) | |
| # | |
| # Execute with | |
| # http://superuser.com/questions/276154/automating-the-scanning-of-graphics-files-for-corruption | |
| # | |
| # Source | |
| # http://superuser.com/questions/276154/automating-the-scanning-of-graphics-files-for-corruption | |
| # -------------------- |
I hereby claim:
To claim this, I am signing this object:
| /* | |
| * Processing 2.0 File | |
| * Author: Tim J. Peters <tim-peters> | |
| * Released under CC BY 3.0 | |
| */ | |
| int dotSize = 100; // scale | |
| int gridSize = 10; // size of the map (grid) | |
| int[] waysToKnot; |
| /* | |
| * Processing 2.0 File | |
| * Author: Tim J. Peters <tim-peters> | |
| * Released under CC BY 3.0 | |
| */ | |
| int dotSize = 100; // scale | |
| int gridSize = 10; // size of the map (grid) | |
| int[] waysToKnot; |
| int width = 12; // Set amount of rectangles in a row | |
| int height = 12; // Set amount of rectangles column | |
| int outer_size = 70; // Set size of the (outer) rectangles | |
| int inner_size = 100; // Set size of the rectangles/circles inside (must be smaller than outer_size!!!) | |
| int marginX = 30; // Set margin between (outer) rectangles in a row (if you like) | |
| int marginY = 30; // Set margin between (outer) rectangles in a column (if you like) | |
| float animation_offset = -.48; // Set offset between rectangles anmiation | |
| //////////////////////////////////// |