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
Trst |
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
hygrostat_fan_bathroom: | |
homeassistant: | |
customize: | |
climate.fan_bathroom: | |
friendly_name: "Санузел - Вытяжка - Термостат" | |
icon: mdi:thermostat-auto | |
humidifier.fan_bathroom: | |
friendly_name: "Санузел - Вытяжка - Гигростат" | |
icon: mdi:thermostat-auto | |
switch.fan_bathroom: |
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 | |
ACPI_BALANCE="\_SB_.PC00.LPCB.EC0_.VPC0.DYTC 0x000FB001" | |
ACPI_POWER="\_SB_.PC00.LPCB.EC0_.VPC0.DYTC 0x0012B001" | |
ACPI_ECO="\_SB_.PC00.LPCB.EC0_.VPC0.DYTC 0x0013B001" | |
ACPI_MODE="\_SB_.PC00.LPCB.EC0_.SPMO" | |
MODE=$(sudo sh -c "echo '$ACPI_MODE' > /proc/acpi/call; tr -d '\0' < /proc/acpi/call") | |
MODE=${MODE:2} | |
TARGET=$(((MODE+1)%3)) |
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 | |
####################### | |
# Setup: | |
# 1. Setup a VPN in the Synology web interface | |
# 2. Log in via SSH | |
# 3. Take a look at /usr/syno/etc/synovpnclient/openvpn/ovpnclient.conf | |
# 3. Find your VPN entry and fill in the variables below. | |
# ID = the CLIENT ID, shown between square brackets, e.g. "[o123456789]" | |
# CONFNAME = value of "conf_name" | |
# |
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
# Exclude all | |
/* | |
# but essential directories and files | |
!/.gitignore | |
!/README.md | |
####################################### | |
####################################### |
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
#!/usr/bin/env sh | |
rm -f /var/lib/dbus/machine-id | |
rm -f /etc/machine-id | |
# |
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 | |
apt install --no-install-recommends systemd-cron ifupdown | |
# Step: Cleanup 1 | |
apt purge -y popularity-contest \ | |
laptop-detect os-prober \ | |
snapd flatpak libflatpak0 \ | |
lxd lxd-client lxcfs lxc-common \ | |
language-selector-common ^language-pack-.* \ |
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
#!/usr/bin/env bash | |
# HOW TO USE | |
# based on https://gist.github.com/MLescaudron/e8248d32d3a5b8caaf622c1a829cf067 | |
# ./updateSecret.sh secretName newFile | |
# It's that simple ! | |
if [ "$#" -ne 2 ]; | |
then | |
echo "#####" |
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 | |
export ACCOUNT_ROOT='ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEAh0nhE6s0TpO7peXsDEl/kRJ8afzOfp8NAcDD32jTXf8RuRDb90P6T1wfpo4w1zonr5UPdlTxCezO5IwlA4KZOF5DOoYgOSsBM8uJZ2iD0YPM7isc/7oVX1MyipMlDnenoMsLUNvogO9hGgiJKs42AQyl+7TMTeAPQJinxjd2b9IJEVOb7YpxkJKBKQwwCEU0LrfyW8d8YeGmDZtbPj5UFFwtAAhM9zbwCyB/pbpvapL8Xtnhr0EOLif0luLRVTIFY5Y+DSeMldDl95IKWtUY7g/1e9pwLGo9wXC0KBJQJ4qdkbg9k5tNU0w6YSrs0Wi5q4MW7Us8Xe0o3JK3mYzqDv8Dejun4HThJlBCNS1AU84+UpJargQrjAg1sGxyiYs0fg7Jz7I1LqG9GDPFG1LTEbSzt6fdmF/JvNw4nY3+krjpYL72LLNARLEHeRI+pItnZl/2R8BPyue5XbOITW08tcf6tVY8qARXCfGN1whfjLRqzn3MvXqFLRQwVKb9I4qp4EhqfpGaxeFE3mehCl72fNSgyb8WFwrBi3yHPsh64WN1Tfyqk1+NHWCkpJk8eo2SHhSPqw7prpRp+ILb/g5S6iLYlSnHvsCTtKQ4q5jci2fFNSQX0PZmEWjEVe7YALqfJ4Z7dzaziX2YKpih7SJ2fUaIu25h679FeX5hx/A6KqE= Emergency account' | |
####### | |
export ACCOUNT_MAINTENANCE='ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEAgP64MdanvFbH3oc2oPLWfJmHYFkJKyvmh7GKxMa9PHHfPVC4ybePTJ0YXNpb0VO+RiBMFGPIs20R6TGT81hgnzxL0M7w2D1+LRcBGj2cU36QAq499VjXvRw6F/4/da7x4O6ZioQ+ZNpwWKfrzXH1EQqtwjydjnFqqwwiNywiFOBkIfsl |
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 | |
export ACCOUNT_ROOT='ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEAjAjYgaBI4qFgy1E8K0Fyl218S+KtDv251JQX8bWXHJT8JXepA2f/dvTCUQPiPYYD7iQzgNTqRXXxdrqqCTLxzEgVL0DPCsSqzZ5bd3yx7J+wxmMo22Q5/V9UIJ3iJgEn99l/xb1DoQyMm/7A6w6bf9WhqXOozrRqyA5ltLlLZUU3Y9//Li1YVdVBdAbJNqg/8qO19KpTQjMdWEMHbjsh/ty9D1I1UM/cwcMbBzOL3CWYqpEXN3otNjMWW3sLMqbaLLczNG/Z2kAd/q6WxPjfbN8VZAp936MrklWKCtHjaEEiXpij0Ev61gU9R7ecxr1lS+dx4dANPqvo8uHuUqF3CZIFHrT4sD2eniYghz7SaZUbvXDcLAtH7NBV3Z9Hct0fcEOyZSQJKmsnyjXxEkQeyyAJmOfArTf4P2GR6AWcBjoBzy7DSHqEGaX7K31xTTbjWqrO5LyTUbEHU++/ZqiE4/btSFJ8DV1sFTUOCktippVbf1gUxbEGXnmmAqLbbXd7lQLcCKkmCUVHo/F4FHupQCa+EXjVjflUm4EsX+XP09D8UHtPn41v5mxUbBUta3TtyuZObV/z1gOofqT3f40sqZlN+g6JXPTMppSWvjPo5K377ytZmZpoeSItmhVL1sb5REVZYIa5H4hEbVIHi394+gpmtRBLlhLUkQpo0LzajyU= 76:df:90:29:44:92:bf:89:21:39:5a:f2:61:e0:ce:dd Emergency account <admin@codeinside.ru>' | |
####### | |
export ACCOUNT_MAINTENANCE='ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEAq9T4yl4cUS6PWvKXkIafBQPmj6DmOPQTFEEHZUfuAYaCzTQq90caO3B4iBSQr0ps2aiE8KJ77h/6H/yb+7c1fCzpsOXBnTPWAXOLtAbZfr |
NewerOlder