Simply include the file within your configuration.yaml file like this:
# ...
template: !include templates.yaml
# ...You will need prices input number from this gist and the RTE Tempo extension.
| #!/usr/bin/env bash | |
| set -e | |
| FONTSDIR="/fonts/dir/change/me" | |
| attachment_exists() { | |
| local mkv_file="$1" | |
| local attachment_name="$2" | |
| mkvmerge -i "$mkv_file" | grep -q -E "^Attachment ID [0-9]+: .+ file name '$attachment_name'$" |
| #!/usr/bin/env bash | |
| set -e | |
| GOP=0 | |
| iframes=0 | |
| totiframes=0 | |
| pframes=0 | |
| totpframes=0 | |
| bframes=0 |
| # ffmpeg v8 with cuda 13.1 on Ubuntu 24.04 on WSL2 with optional support of CUDA for RTX 5000 series (SM_120) | |
| # https://docs.nvidia.com/video-technologies/video-codec-sdk/13.0/ffmpeg-with-nvidia-gpu/index.html#compiling-for-linux | |
| # https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu | |
| # https://developer.nvidia.com/cuda-downloads (if you want CUDA) | |
| wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-keyring_1.1-1_all.deb | |
| sudo dpkg -i cuda-keyring_1.1-1_all.deb | |
| sudo apt-get update | |
| sudo apt-get -y install cuda-toolkit-13-1 |
Simply include the file within your configuration.yaml file like this:
# ...
input_number: !include input_numbers.yaml
# ...Restart your Home Assistant to update the values (reloading YAML will not be enough).
If your bandwitch allows it, this will enable stutter free streaming of 4K remuxes over CIFS/VPN/WAN.
sudo wget 'https://gist.github.com/hekmon/78b30ae8cb76b076d01bddaf79b2c693/raw/d063a1bee463745ce2b8ded41475b5d9c179c7b4/sysctl.conf' -O '/etc/sysctl.d/90-CIFS_over_WAN.conf'
sudo sysctl -p| #!/bin/bash -e | |
| # https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html#cliv2-linux-install | |
| # https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-completion.html | |
| echo "* Switching to tmp folder..." | |
| cd "$(mktemp -d)" | |
| echo | |
| echo "* Downloading the AWS cli..." | |
| wget -q "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -O awscliv2.zip |
| #!/bin/bash -e | |
| ROOT=$1 | |
| HOME=$2 | |
| if [ ! -b "$ROOT" ] | |
| then | |
| echo "First parameter (/) is not a block device" >&2 | |
| exit 1 | |
| fi |
| package foobar | |
| import ( | |
| "context" | |
| "errors" | |
| ) | |
| // Controller is a base pattern controller | |
| type Controller struct { | |
| ctx context.Context |