This file contains hidden or 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 | |
| echo "Now Updating all Docker Containers" | |
| export TZ=UTC # force all timestamps to be in UTC (+00:00 / Z) | |
| printf -v start_date_epoch '%(%s)T' | |
| printf -v start_date_iso8601 '%(%Y-%m-%dT%H:%M:%S+00:00)T' "$start_date_epoch" | |
| # List of all folders that contain a docker compose | |
| declare -a StringArray=("auth-stack" "bitwarden" "languagetool" "media-stack" "monitoring" "" "mosquitto" "portainer" "dnsmasq" "socks5" "nginx-proxy-manager" "filebrowser") | |
| # Iterate the string array using for loop |
This file contains hidden or 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
| """Config flow to configure the Meteo-Swiss integration.""" | |
| import logging | |
| import re | |
| from typing import Any | |
| import voluptuous as vol | |
| from hamsclientfork import StationType, meteoSwissClient | |
| from homeassistant import config_entries | |
| from homeassistant.helpers import issue_registry as ir | |
| from homeassistant.helpers.issue_registry import IssueSeverity |
This file contains hidden or 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 | |
| BASE_DIR="$HOME/git/cad" | |
| # Check if a repository name was provided | |
| if [ $# -ne 1 ]; then | |
| echo "Usage: $0 <repository-name>" | |
| exit 1 | |
| fi |
This file contains hidden or 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 | |
| set -euo pipefail | |
| IMG="flash.img" | |
| DEVICE="/dev/sdb" | |
| SERIAL_STRING_OFFSET=0x05B00000 | |
| # Your new ASCII serial number | |
| NEW_TEXT_SERIAL="YT4409007156...." |
OlderNewer