https://github.com/SavageCore/xone-steam-deck-installer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: Aqara Wireless Switch (single, double, hold, release) | |
| description: 'Control anything using Aqara Wireless Switch. | |
| Customizable actions for each press. | |
| This version of the blueprint is for buttons supporting single, double, hold and | |
| release actions. ' | |
| domain: automation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: Philips Hue Dimmer switch v2 (Zigbee2MQTT) | |
| description: | |
| "Tested with Philips Hue Smart Wireless Dimmer Switch V2 (929002398602). | |
| \n\n | |
| To have different actions on short press and on hold (long press), use 'button release' (`*_press_release`) and 'button hold once' (`*_hold_once`) commands, | |
| as 'press' (`*_press`) will always trigger before 'button hold' (`*_hold`). | |
| \n\n | |
| When you hold a button, 'button hold' (`*_hold`) command is repeated roughly once per second. This may not work as desired with actions like toggling light/switch. | |
| If you want an action to run only once when the button hold action is registered, use 'button hold once' (`*_hold_once`). It's better than using 'button hold release' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <item> | |
| <tunable>net.inet.icmp.drop_redirect</tunable> | |
| <value>1</value> | |
| <descr/> | |
| </item> | |
| <item> | |
| <tunable>net.isr.bindthreads</tunable> | |
| <value>1</value> | |
| <descr/> | |
| </item> |
OPNsense sometimes "loses" the WAN facing connection when that is "reinitialised" (modem reboot/WAN restart).
Monitoring the WAN facing connection and taking corrective action is the solution proposed by this script.
opnsense_ping_check.sh will ping IP addresses to determine if the WAN
connection is still working, and try to restore the WAN if needed by
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function hexdump (data: Uint8Array, bytesPerLine = 16): string { | |
| const result: string[] = [] | |
| for (let i = 0; i < data.length; i += bytesPerLine) { | |
| const chunk = data.slice(i, i + bytesPerLine) | |
| const address = i.toString(16) | |
| .padStart(8, '0') | |
| const hex = Array.from(chunk, byte => byte.toString(16) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="zh-CN"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>批量XTH文件生成器</title> | |
| <style> | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Claude Code ink2/render_v2 ANSI Ghost Characters Fix Script (Windows Version) | |
| .DESCRIPTION | |
| Fixes GitHub issue: anthropics/claude-code#19820 (duplicate of #17519) | |
| THE BUG: | |
| When statusLine contains ANSI escapes + Nerd Font icons under ink2/render_v2, | |
| "ghost characters" appear - symbols leak into the message area and persist. |