Skip to content

Instantly share code, notes, and snippets.

@Ltek
Ltek / repeating-alerts-ltek.yaml
Last active June 13, 2025 20:33
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 2025.05.02.3
Author : LTek
@HoussemNasri
HoussemNasri / BalsamiqForever.py
Last active June 13, 2025 20:32
Extend your trial period for Balsamiq Wireframes on Windows and macOS Forever!
import json
import os
import time
import webbrowser
import sys
import re
def handleWindows(extra_seconds):
print("OS : Windows")
@hideandseekstheorder
hideandseekstheorder / gist:f15607e3221da82bcbdd22e8b1a14c8d
Created November 21, 2018 10:21
Windows 7 All Online/Offline [Retail-MAK] Activation Keys
Windows 7 All Online/Offline [Retail-MAK] Activation Keys
=================================================================================
. Run "Command Prompt" as Administrator
. slmgr.vbs -ipk Product Key
. slui4
=================================================================================
Windows 7 Ultimate Retail Phone Activation Keys
RHTBY-VWY6D-QJRJ9-JGQ3X-Q2289
V77DJ-CT8WB-Y3GXT-X3FBP-6F987
JC7BV-94FD2-D86PH-XRMHR-BXKDG
@simonschaubel
simonschaubel / contact-sensor-left-open-notification.yaml
Last active June 13, 2025 20:29 — forked from Raukze/contact-sensor-left-open-notification.yaml
Home Assistant Blueprint: Contact Sensor Left Open Notification
blueprint:
name: "🪟 Open Window Alert"
description: |
Notifies you when a window is left open.
🚀 Version 2025.05.13
This is blueprint is a fork and extentions of [Raukze Gist](https://gist.github.com/Raukze/27fe0c6bf6d91b8ae2ab5e11880509ba). Many thans to Malte.
Further details see this [Blog post](https://community.home-assistant.io/t/contact-sensor-door-or-window-left-open-notification/652571)
@justinstern
justinstern / functions.php
Last active June 13, 2025 20:25
This snippet will disable WooCommerce core emails based on the product category
<?php
// Add the below to the bottom of your theme's functions.php:
add_filter( 'woocommerce_email_enabled_customer_processing_order', 'disable_emails_for_fundraising', 10, 2 );
add_filter( 'woocommerce_email_enabled_customer_completed_order', 'disable_emails_for_fundraising', 10, 2 );
function disable_emails_for_fundraising( $enabled, $order ) {
if ( isset( $order ) && count( $order->get_items() ) > 0 ) {
@reegnz
reegnz / README.md
Last active June 13, 2025 20:24
The Terraform group_by you've been missing

The Terraform group_by you've been missing

I'm playing around a lot nowadays with Terraform 0.13 and I found a really interesting feature and that's the ... symbol (also called an ellipsis) to be used with for expressions.

The operator can be used for group_by operations.

Example

We have a list of entries. The list contains employee/manager/project triplets.

OpenType font name table notes

Provided are the name table record ID and instructions on how to fill it out. Arial is used as an example to show how the names records can be filled. You can see the example records here:

https://learn.microsoft.com/en-us/typography/opentype/spec/namesmp

There are also more exmaples added to the bottom of this file.

Why this document?