Skip to content

Instantly share code, notes, and snippets.

View eugenpirogoff's full-sized avatar
🖖
making

Eugen Pirogoff eugenpirogoff

🖖
making
View GitHub Profile
@eugenpirogoff
eugenpirogoff / post-checkout
Last active November 15, 2019 14:42
git hook post-checkout
#!/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
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/>
@eugenpirogoff
eugenpirogoff / configuration_powerfox.yaml
Created October 11, 2022 06:09 — forked from user-x-adm/configuration_powerfox.yaml
HA-configuration-yaml-powerfox
# 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:
@eugenpirogoff
eugenpirogoff / configuration.yaml
Created October 11, 2022 06:10 — forked from leowinterde/configuration.yaml
Home Assistant - Poweropti / powerfox powermeter integration
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

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.