Skip to content

Instantly share code, notes, and snippets.

@sbyx
sbyx / low-battery-level-detection-notification-for-all-battery-sensors.yaml
Last active June 22, 2026 22:37
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').
- go to http://invisible-island.net/xterm/ and download source file (e.g. http://invisible-island.net/datafiles/release/xterm.tar.gz)
- according to http://web.archive.org/web/20130125000058/http://www.frexx.de/xterm-256-notes/ configure with ./configure --enable-256-color
- summarized:
- ./configure --enable-256-color
- sudo make
- check colors with http://web.archive.org/web/20130125000058/http://www.frexx.de/xterm-256-notes/data/256colors2.pl, see http://web.archive.org/web/20130125000058/http://www.frexx.de/xterm-256-notes/

Types

  • feat Commits, that adds or remove a new feature
  • fix Commits, that fixes a bug
  • refactor Commits, that rewrite/restructure your code, however does not change any API behaviour
  • perf Commits are special refactor commits, that improve performance
  • style Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)
  • test Commits, that add missing tests or correcting existing tests
  • docs Commits, that affect documentation only
  • build Commits, that affect build components like build tool, ci pipeline, dependencies, project version, ...
  • ops Commits, that affect operational components like infrastructure, deployment, backup, recovery, ...
@GhassenChawati1
GhassenChawati1 / Setup.md
Created June 18, 2026 14:15
My Fedora GNOME Setup

🐧 Fedora GNOME Setup

Extensions:

  • Desktop Cube
  • Dash to Dock
  • Compiz Windows Effect
  • Compiz Alike Magic Lamp Effect

Apps:

  • Extension Manager
@frontrowmdgist
frontrowmdgist / celsius-herbs-qual.html
Created June 22, 2026 22:13
Celsius Herbs - All Widget Types (qual, sticker, quant)
<section class="fr-testimonials">
<script async type="text/javascript">
const qualPath = window.location.pathname;
let qualScriptSrc = '';
let qualIframeSrc = '';
if (qualPath.includes('/products/sinus-medicine-allergy-rhinitis')) {
qualScriptSrc = "https://app.thefrontrowhealth.com/api/widgets/script?presentation_type=qual&product_id=5104";
qualIframeSrc = "https://app.thefrontrowhealth.com/api/widgets?presentation_type=qual&product_id=5104";
@macfergusson
macfergusson / SQL_Resources.md
Last active June 22, 2026 22:10
SQL Community Discord Resources
@k16shikano
k16shikano / SKILL.md
Last active June 22, 2026 22:36
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。整形(一文一行、引用ブロック、脚注、コラム記法)、段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

整形

@miurhz
miurhz / BMW_USB_Software_Update.md
Last active June 22, 2026 22:05
USB firmware update files for BMW CIC (Multimedia) and Combox (Bluetooth/Telephone), no longer available on official servers. Includes download links (from official site) and instructions for updating via USB.

BMW CIC & Combox USB Firmware Updates

Officially titled: BMW Software Update for External Devices – Multimedia and Telephone

ℹ️ About This Guide:

  • I am not pro at any of this. I started to search for information how to update vehicle's multimedia because of my own Bluetooth issue.
  • As BMW no longer provided software updates on their main site at that time, the task was to find is it still possible to get them.
  • After long searches I managed to solve my issue successfully and decided to put everything I found in one place.
@reginadiana
reginadiana / README-TEMPLATE.md
Last active June 22, 2026 22:01
Template sugestivo para documentação de projetos

Titulo ou Arte do Projeto

@chfast
chfast / _README.md
Last active June 22, 2026 21:55
Ethereum mainnet SD-SAMETX events, blocks 20M-25M (post-Cancun, EIP-6780). 472,641 events of same-tx CREATE+SELFDESTRUCT.

Ethereum SD-SAMETX events, blocks 20M – 25M

A dataset of every SELFDESTRUCT executed on a same-tx-created contract on Ethereum mainnet, blocks 20,000,000 – 24,999,999 (post-Cancun, after EIP-6780 took effect at block 19,426,587).

The "SD-SAMETX" name refers to events where the contract being destroyed was created in the same transaction (newContract == true in EIP-6780 terminology). This is the only path post-Cancun where SELFDESTRUCT actually destroys the account; on existing contracts the opcode is a no-op.