Skip to content

Instantly share code, notes, and snippets.

View parmus's full-sized avatar

Martin Parm parmus

  • Viaplay Group
  • Stockholm
  • 12:53 (UTC +01:00)
View GitHub Profile
@vladyspavlov
vladyspavlov / telegram.yaml
Created November 2, 2023 21:37
ESPHome Telegram bot send message example
substitutions:
TELEGRAM_BOT_TOKEN: !secret telegram_bot_token
api_key: !secret api_key
ota_password: !secret ota_password
chat_id: xxxxxxxxx
esphome:
name: wemos
friendly_name: wemos
@pbhogan
pbhogan / AspectRatioPanel.cs
Last active September 16, 2025 08:24
Unity UI-Toolkit Aspect Ratio Preserving Panel
/*
This is free and unencumbered software released into the public
domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors