Skip to content

Instantly share code, notes, and snippets.

SHELLY

Đây là mặt trước của công tắc đèn, cho thấy đây là công tắc tạm thời.

MOMENTARY SWITCH (CÔNG TẮC TẮT LẠI)

Phải sử dụng "công tắc tạm thời" để chúng ta có thể "lật" nó thông qua bộ điều khiển Shelly qua mạng hoặc trên tường, "công tắc" sẽ không bao giờ ở "vị trí sai". Nhấn công tắc sẽ chỉ chuyển đổi trạng thái đèn hiện tại.

shelly-momentary-switch

@erwin
erwin / Commission-Transport-UPMD.md
Last active June 18, 2025 06:37
UPMD management of SBS ending because we don't have volunteers
From:    Commission Transport UPMD   
To:      Ryan Erwin   
Cc:      UPMD Transport   
Subject: Re: DERNIER RAPPEL - INSCRIPTION TRANSPORT SCOLAIRE 2025-2026 /THƯ NHẮC LẦN CUỐI - ĐĂNG KÝ XE ĐƯA ĐÓN HỌC SINH 2025-2026 / LAST REMINDER - SCHOOL TRANSPORT REGISTRATION 2025-2026  
Date:    Tuesday, June 17, 2025 19:09  

Dear Ryan,

Thanks to [email protected] for having forwarded your message to us and sorry for the late reply ! Please find our answers to your questions in blue below:

@erwin
erwin / turn-off-device.sh
Last active November 21, 2024 13:20
Shell Script to Disconnect / Reconnect USB device
#!/bin/bash
# In my case, I would like to turn off my HUGE TRACKBALL sometimes, because it
# gets disconnected from the USB bus... Not very often, but a few times per month
# I launch this script with a tool like `rofi` or `dmenu`.
#
# You can easily adjust this script to work for any USB device by changing the
# these variables for the hex code of vendor and product.
#
#