Skip to content

Instantly share code, notes, and snippets.

@Twanne
Twanne / party_lights.yaml
Last active June 8, 2025 05:07
Home Assistant Blueprint: Party Lights
blueprint:
name: Party Lights
author: AntonH
description: |
**Version 3.1**
Lights go to party mode (color loops or fade-in-and-out)
⚠️ **NOTE:** ⚠️
*This automation is triggered by the status of a switch or an input_boolean entity.*
@lohhans
lohhans / README-PTBR.md
Last active June 8, 2025 04:56 — forked from PurpleBooth/README-Template.md
Um modelo para fazer um bom README.md

Título do projeto

Um parágrafo da descrição do projeto vai aqui

🚀 Começando

Essas instruções permitirão que você obtenha uma cópia do projeto em operação na sua máquina local para fins de desenvolvimento e teste.

Consulte Implantação para saber como implantar o projeto.

@ikennaokpala
ikennaokpala / README.md
Last active June 8, 2025 04:53 — forked from magnetikonline/README.md
Setting Nginx FastCGI response buffer sizes.

Nginx FastCGI response buffer sizes

By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk. This process is also explained at the Nginx ngx_http_fastcgi_module page document page.

Since disk is slow and memory is fast the aim is to get as many FastCGI responses passing through memory only. On the flip side we don't want to set an excessively large buffer as they are created and sized on a per request basis (i.e. it's not shared memory).

The related Nginx options are:

@jamesy0ung
jamesy0ung / Microsoft Static Activation Keys
Created September 26, 2020 22:37
Microsoft Static Activation Keys for many Microsoft products
Access 2003 Developer Extensions: KHCYK-2DXWD-6D4BV-9D9K6-TT9RY
Access 2003: HVCBT-WQ823-BHMJC-RQJ3P-9T9VT
Advanced Threat Analytics (ATA): F3JM7-7QNWQ-KKFVP-PDDRT-4M6P7
Automatic Graph Layout: HWQWP-RXKVP-PJ4BB-9KD87-K67H2
Commerce Server 2002: QJY77-8G8BD-3FYFQ-FDFH3-4RDCP
CRM 2011 Server Edition: 36D7J-FR6QG-JXPF6-H449P-2P6RR
CRM 2011 Workgroup Server Edition: 73B26-GWVRK-GDX7X-MDQBX-DH28R
CRM 3.0 Professional Edition: D2Q47-3K4QX-FPVDT-P4QT6-3C8H8
CRM 3.0 Small Business Edition: TD7BB-D2H87-27KJH-VMH3P-QTQYW
CRM 4.0 Enterprise Edition: WQWYD-FHH7F-XQPCK-2B8KG-D6VT3
@ongkiii
ongkiii / IPA-Sources.md
Last active June 8, 2025 04:25
REPOS/TELEGRAM CHANNELS LIST BY u/angkitbharadwaj
@trojanfoe
trojanfoe / build-shadercross.py
Last active June 8, 2025 04:19
Build SDL_shadercross
#!/usr/bin/env python3
#
# Builds the SDL_shadercross tool and installs it locally.
#
# Prerequisites:
# Python 3
# Git
# C++ compiler
# CMake
# Ninja
@JustSteveKing
JustSteveKing / pint.json
Last active June 8, 2025 04:06
Laravel Pint configuration
{
"preset": "per",
"rules": {
"align_multiline_comment": true,
"array_indentation": true,
"array_syntax": true,
"blank_line_after_namespace": true,
"blank_line_after_opening_tag": true,
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
@Klerith
Klerith / form-utils.ts
Created January 27, 2025 18:39
Utilidades para formularios reactivos
import {
AbstractControl,
FormArray,
FormGroup,
ValidationErrors,
} from '@angular/forms';
async function sleep() {
return new Promise((resolve) => {
setTimeout(() => {