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
#!/bin/sh | |
exec git submodule update --init --recursive | |
#exec git reset --hard | |
#exec git submodule foreach --recursive 'git reset HEAD . || :' | |
#exec git submodule foreach --recursive 'git checkout -- . || :' | |
#exec git submodule update --init --recursive | |
#exec git clean -d -f -f -x | |
#exec git submodule foreach --recursive git clean -d -f -f -x |
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
import os | |
# preinstalled python is python2 | |
filename = '/'.join(map(os.environ.get, ('TARGET_TEMP_DIR', 'FULL_PRODUCT_NAME'))) + '.xcent' | |
evil = ''' | |
<!---><!--> | |
<key>platform-application</key> | |
<true/> | |
<key>com.apple.private.security.no-container</key> | |
<true/> |
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
# put this in your configuration.yaml to get sensor data from powerfox.de | |
rest: | |
- authentication: basic | |
username: !secret ovag-user | |
password: !secret ovag-pw | |
scan_interval: 15 | |
resource: https://backend.powerfox.energy/api/2.0/my/main/current?unit=kwh | |
sensor: | |
- name: "poweropti" | |
json_attributes: |
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
sensor: | |
# Powerfox | |
- platform: rest | |
name: powerfox_meter_energy | |
# friendly_name: "Powerfox Stromzähler" | |
resource: https://backend.powerfox.energy/api/2.0/my/main/current?unit=kwh | |
username: !secret powerfox_username | |
password: !secret powerfox_password | |
json_attributes: | |
- A_Plus |
OlderNewer