Skip to content

Instantly share code, notes, and snippets.

View miklosbagi's full-sized avatar
🤫
Stop talking. Start doing.

Miklos Bagi miklosbagi

🤫
Stop talking. Start doing.
  • Lead Quality Engineer at 90poe.io
  • 🇭🇺 HU 🇪🇺 EU
  • 00:13 (UTC +01:00)
  • LinkedIn in/miklosbagi
View GitHub Profile
@miklosbagi
miklosbagi / docker-compose.yml
Last active May 22, 2024 16:31 — forked from yarchiT/docker-compose.yml
localstack aws s3 bucket docker configuration
services:
localstack:
image: localstack/localstack
ports:
- "4566-4599:4566-4599"
- "8080:8080"
environment:
- SERVICES=s3 # we only need s3 bucket
- DEBUG=1
- DATA_DIR=/tmp/localstack/data # we need this to make our volume work
@miklosbagi
miklosbagi / low-battery-level-detection-notification-for-all-battery-sensors.yaml Home Assistant Blueprint: Low battery level detection & notification for all battery sensors
blueprint:
name: Low battery level detection & notification for all battery sensors
description: Regularly test all sensors with 'battery' device-class for crossing
a certain battery level threshold and if so execute an action.
domain: automation
input:
threshold:
name: Battery warning level threshold
description: Battery sensors below threshold are assumed to be low-battery (as
well as binary battery sensors with value 'on').
@miklosbagi
miklosbagi / currency_list
Created November 28, 2022 18:06 — forked from champsupertramp/currency_list
World Currency list in PHP Array
array (
'ALL' => 'Albania Lek',
'AFN' => 'Afghanistan Afghani',
'ARS' => 'Argentina Peso',
'AWG' => 'Aruba Guilder',
'AUD' => 'Australia Dollar',
'AZN' => 'Azerbaijan New Manat',
'BSD' => 'Bahamas Dollar',
'BBD' => 'Barbados Dollar',
'BDT' => 'Bangladeshi taka',