Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609Dx
apt-key adv -k 58118E89F3A912897C070ADBF76221572C52609D
mkdir -p /etc/apt/sources.list.d
echo deb \[arch=armhf\] https://apt.dockerproject.org/repo raspbian-jessie main > /etc/apt/sources.list.d/docker.list
sleep 3; apt-get update; apt-get install -y -q docker-engine
@aaaler
aaaler / rpi_aceproxyvlc.sh
Last active January 12, 2018 15:38
install aceproxyvlc
#!/bin/sh
curl -sSL https://raw.githubusercontent.com/aaaler/acestreamproxyvlc-pi/master/acestream.service > /etc/systemd/system/acestream.service
curl -sSL https://raw.githubusercontent.com/aaaler/acestreamproxyvlc-pi/master/aceproxy.service > /etc/systemd/system/aceproxy.service
curl -sSL https://raw.githubusercontent.com/aaaler/acestreamproxyvlc-pi/master/vlc-nox.service > /etc/systemd/system/vlc-nox.service
mkdir /etc/aceproxy
curl -sSl https://raw.githubusercontent.com/aaaler/acestreamproxyvlc-pi/master/etc/torrenttv.py > /etc/aceproxy/torrenttv.py #torrent-tv acestream playlist mentioned here, http://torrent-tv.ru/c_playlist.php
curl -sSl https://raw.githubusercontent.com/aaaler/acestreamproxyvlc-pi/master/etc/p2pproxy.py > /etc/aceproxy/p2pproxy.py #torrent-tv login & passwd here
systemctl daemon-reload
docker pull aaaler/aceproxy-pi
docker pull aaaler/acestream-pi
@aaaler
aaaler / ExileServer_object_construction_network_upgradeConstructionRequest.sqf
Last active October 7, 2017 16:57
arma 3 exilemod fortification upgrade kit fix. Do not forget to override this file in `CfgExileCustomCode`
/**
* ExileServer_object_construction_network_upgradeConstructionRequest
*
* original version do not remove fortification kit from player inventory
*
* Exile Mod
* www.exilemod.com
* © 2015 Exile Mod Team
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
@aaaler
aaaler / README.md
Created January 9, 2018 16:24
arma 3 server under wine in docker on linux

TBD

@aaaler
aaaler / radiator_valve_cal.yaml
Last active October 18, 2025 21:22
HA thermostat calibration
blueprint:
name: Temperature Calibration
description: Temperature calibration for Zigbee valve TS0601, according to external temperature sensor
domain: automation
input:
calibration:
description: The entity_id of the thermostat calibration entity (number type).
selector:
entity:
domain: number
@aaaler
aaaler / frigate_telegram_notification.yaml
Created April 19, 2025 16:46 — forked from NdR91/frigate_telegram_notification.yaml
Frigate - Telegram Notification
blueprint:
name: Frigate - Telegram Notification
description: Create automations to receive Snapshots and Clips from Frigate
domain: automation
input:
camera:
name: Frigate Camera
description: The name of the camera as defined in your frigate configuration (/conf.yml).
target_chat:
name: Target
@aaaler
aaaler / frigate_telegram_notification.yaml
Created April 19, 2025 16:46 — forked from NdR91/frigate_telegram_notification.yaml
Frigate - Telegram Notification
blueprint:
name: Frigate - Telegram Notification
description: Create automations to receive Snapshots and Clips from Frigate
domain: automation
input:
camera:
name: Frigate Camera
description: The name of the camera as defined in your frigate configuration (/conf.yml).
target_chat:
name: Target
@aaaler
aaaler / clean_dir.sh
Created June 20, 2025 13:33
Cleanup directory removing old files and maintaining size limit
#!/bin/bash
# ==============================================================================
#
# Script to clean a directory of its oldest files until the total size of
# remaining files is below a specified limit.
#
# ==============================================================================
# Exit immediately if a command exits with a non-zero status.