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/bash | |
/sbin/ipfw -q -f flush #flush all other rulez | |
/sbin/ipfw add 10 allow all from me to me | |
/sbin/ipfw add 20 allow all from 80.69.32.0/20 to me | |
/sbin/ipfw add 21 allow all from me to 80.69.32.0/20 | |
/sbin/ipfw add 22 allow all from 10.22.0.0/22 to me | |
/sbin/ipfw add 23 allow all from me to 10.22.0.0/22 | |
/sbin/ipfw add 24 allow all from 37.24.211.168/29 to me |
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 | |
# Hint: Wayland uses ydotool instead | |
# FYI: Multiline a special thing, because keyboard do not send the newline style that Linux wants | |
# To workaround that tr and sed are in place | |
# I bind that command to shift-alt-N because that's neither occupied by a Windows nor a KDE default hotkey. | |
xdotool sleep 0.100 type --clearmodifiers -- "$(xsel -bo | tr \\n \\r | sed s/\\r*\$//)" |
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
blueprint: | |
name: Remote - Müller Lint Tint - Z2M MQTT v1 | |
description: Control lights with a Müller-Lint Tint Switch. | |
domain: automation | |
input: | |
remote: | |
name: Remote mqtt topic | |
description: This must be the TOPIC from zigbee2mqtt. For example z2m/remote_1 | |
selector: | |
text: |
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
blueprint: | |
name: Muller Licht Remote (Zigbee2MQTT) | |
domain: automation | |
input: | |
remote: | |
name: Remote mqtt topic | |
description: This must be the TOPIC from zigbee2mqtt. For example z2m/remote_1 | |
selector: | |
text: | |
target_light_1: |
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 | |
JNLP=${1:-'./jviewer.jnlp'} | |
javaws -nosecurity -noupdate -verbose -property deployment.security.level=ALLOW_UNSIGNED -property deployment.security.itw.ignorecertissues=true -jnlp ${JNLP} |
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
Parts List Balkonsolar bzw. Garagendachsolar | |
1.) Panels | |
2x Panel 455W DAH | |
2.) Sicherung + Halter | |
2xhttps://www.ebay.de/itm/334727013860 | |
3.) Einspiesekabel Schuko | |
https://www.ebay.de/itm/275435763226 |
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 | |
# This can only be done if the device is accessible via ssh on port 22222. | |
# (so, usually only Nebra can do that or you have to open the controllino and inject your ssh pubkey to /boot/config.json) | |
# Obviouly portr 22222 must be reachable from internet, because the management VPN is also stuck | |
# default looks like | |
# "os": { | |
# "sshKeys": [ | |
# "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKeee0Y4o4QhVudeJ4I8Ol4idvYXlEkzxNrU1DWDkeZ", | |
# ] | |
# }, |
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
Bauteile EGO Gutmann EHC300 | |
3x IR3101 ( gefunden auf https://de.aliexpress.com/item/32820913611.html \o/\o/\o/) | |
1x VIPER17L VIPER17LN VIPER17 Switching Converter IC ( ebay ) | |
Elko 35v 470mf OK | |
Elko 63v 2.2mf 3x | |
Elko 25v 220mf OK | |
Elko 400v 10uf OK | |
Varistor CV275K14 KEKO 275V AC 350V DC MOV VARISTOR | |
IEC 60384-14.2 3,3 nF WYO 3n3 M (Ceramic AC Capacitors, Class X1, 440VAC / Class Y2, 250VAC) |
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
cat /proc/mtd | |
# dev: size erasesize name | |
# mtd0: 00040000 00020000 "u-boot" | |
# mtd1: 00020000 00020000 "u-boot-env" | |
# mtd2: 01f60000 00020000 "firmware" | |
# mtd3: 00200000 00020000 "kernel" | |
# mtd4: 01d60000 00020000 "rootfs" | |
# mtd5: 01a40000 00020000 "rootfs_data" | |
# mtd6: 00020000 00020000 "user_property" | |
# mtd7: 00020000 00020000 "art" |
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 | |
# Virtualmin Package not working on older debian ? | |
# They packed the .deb with "xz" fragments inside, older debian debs don't understand deb + xz | |
# Repack them als gzip | |
# Example webmin-virtual-server_7.2.gpl-1_all.deb for debian wheezy | |
ar x webmin-virtual-server_7.2.gpl-1_all.deb | |
xz -d control.tar.xz | |
xz -d data.tar.xz | |
gzip control.tar |
NewerOlder