Skip to content

Instantly share code, notes, and snippets.

View nktnet1's full-sized avatar

Khiet Tam Nguyen nktnet1

View GitHub Profile
@nktnet1
nktnet1 / hue_dimmer_switch_rwl022.yaml
Created October 26, 2026 02:26
Philips Hue Dimmer Switch
# Blueprint metadata
# Made based on: https://gist.github.com/jiangyh91/221caf430ccd66225c73123b2108915a
blueprint:
name: ZHA - Philips Hue Dimmer Switch - RWL022
description: >
Control your lights with a Philips Hue Dimmer Switch - RWL022 (ZHA).
This blueprint supports the target selector, letting you choose areas, devices,
or individual entities, even in combination.
@nktnet1
nktnet1 / index.html
Last active March 26, 2026 03:25
electron second instance additionalData null on empty array windows bug: https://github.com/electron/electron/issues/40615
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'">
<link href="./styles.css" rel="stylesheet">
<title>Hello World!</title>
</head>
<body>