Skip to content

Instantly share code, notes, and snippets.

@receter
receter / modalTree.ts
Created January 15, 2026 09:01
Modal tree functions
// modalTree.ts
// Minimal modal tree utilities (immutable)
import { produce } from "immer";
export type ModalTreeData = {
id: string;
isOpen: boolean;
};
@soft2help
soft2help / localidades.csv
Last active January 15, 2026 09:02
Todas las localidades de España- comunida, Provincia, Localidad, Latitud, Longitud, Altitud, Total Habitantes, Hombres, Mujeres
We can't make this file beautiful and searchable because it's too large.
Andalucía;Almería;Abla;37.14114;-2.780104;871.1684;1504;783;721
Andalucía;Almería;Abrucena;37.13305;-2.797098;976.9387;1341;682;659
Andalucía;Almería;Adra;36.74807;-3.022522;10.97898;24373;12338;12035
Andalucía;Almería;Albánchez;37.2871;-2.181163;481.3123;815;422;393
Andalucía;Almería;Alboloduy;37.03319;-2.62175;388.4346;674;334;340
Andalucía;Almería;Albox;37.38979;-2.147483;426.4268;11178;5731;5447
Andalucía;Almería;Alcolea;36.97449;-2.961038;744.6956;908;486;422
Andalucía;Almería;Alcóntar;37.33585;-2.596944;955.1331;603;315;288
Andalucía;Almería;Alcudia de Monteagud;37.23598;-2.266174;1018.354;141;74;67
Andalucía;Almería;Alhabia;36.9893;-2.587667;288.056;724;363;361
@cwhinfrey
cwhinfrey / bridge_hacks.md
Last active January 15, 2026 09:02
Bridge Hack List
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
T3ZWQ-P2738-3FJWS-YE7HT-6NA3K
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
65Z2L-P36BY-YWJYC-TMJZL-YDZ2S
SFZHH-2Y246-Z483L-EU92B-LNYUA
GSZVS-5W4WA-T9F2E-L3XUX-68473
FTZ8A-R3CP8-AVHYW-KKRMQ-SYDLS
Q3ZWN-QWLZG-32G22-SCJXZ-9B5S4
DAZPH-G39D3-R4QY7-9PVAY-VQ6BU
KLZ5G-X37YY-65ZYN-EUSV7-WPPBS
@krisleech
krisleech / renew-gpgkey.md
Last active January 15, 2026 08:56
Renew Expired GPG key

Renew GPG key

Given that your key has expired.

$ gpg --list-keys
$ gpg --edit-key KEYID

Use the expire command to set a new expire date:

Claude Agent SDK Technical Specification

Version: 1.0.0 Protocol Version: 2024-11-05 Last Updated: 2026-01-10

Table of Contents

  1. Overview
  2. Architecture
@w568w
w568w / antigravity.sh
Last active January 15, 2026 08:46
Antigravity workaround
#!/bin/bash
readonly UNIT_NAME="antigravity-$(date +%s)"
readonly APP_BIN="/usr/bin/antigravity --verbose"
readonly TRIGGER="Lifecycle#onWillShutdown - end 'antigravityAnalytics'"
echo "[*] Start as: $UNIT_NAME"
systemd-run --user \
--scope \
@natesubra
natesubra / no_mp.bat
Created May 21, 2020 16:10
Disable Windows Defender - Powershell
# disable
powershell -command 'Set-MpPreference -DisableRealtimeMonitoring $true -DisableScriptScanning $true -DisableBehaviorMonitoring $true -DisableIOAVProtection $true -DisableIntrusionPreventionSystem $true'
# Or exclude
powershell -command 'Add-MpPreference -ExclusionPath "c:\temp" -ExclusionProcess "c:\temp\yourstuffs.exe"'
@ethicnology
ethicnology / pg_backup.sh
Created September 4, 2024 01:31
Backup selected (or all) schema from your postgres database
#!/bin/bash
# Configuration
DB_HOST=""
DB_PORT=""
DB_NAME=""
DB_USER=""
DB_PASS=""
DIR=""
DATE=$(date +"%Y%m%d_%H%M%S")
@tak-dcxi
tak-dcxi / typography.md
Last active January 15, 2026 08:44
タイポグラフィCSS

タイポグラフィ

汎用的な文章の折り返し指定

  • 下のような指定を:rootに指定しておく。
:where(:root) {
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  /* word-break: initial; 単語の分割はデフォルトに依存(初期値のため指定しなくて良い) */