Skip to content

Instantly share code, notes, and snippets.

@Ltek
Ltek / repeating-alerts-ltek.yaml
Last active February 26, 2026 01:28
Home Assistant Blueprint : Repeating Alert Notifications by LTek
blueprint:
name: ⚠️ Repeating Alert Notifications by LTek
description: |
**Repeating Alert Notifications ideal for doors, windows, locks, etc**
🚀 Version 2026.02.19.18c
- IMPORTANT NOTE... DO NOT reuse prior automations, you will need to remake them; it will be worth it!
@subfuzion
subfuzion / curl.md
Last active February 21, 2026 17:28
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@cowboy
cowboy / quine-examples.js
Last active December 29, 2025 21:14
A few JavaScript quines
// Today, I noticed that someone favorited this tweet of mine from 2012:
// https://twitter.com/cowboy/status/232587756486938624
// !function $(){console.log('!'+$+'()')}() #quine
// So I fooled around for a little bit:
// Shortest JavaScript quine?
(function _(){return'('+_+')()'})()
// Have fun with this one!
@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active January 30, 2026 04:58
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//