Skip to content

Instantly share code, notes, and snippets.

@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created December 2, 2026 22:54
ncrunch-gridnodeserver v5.23.1 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-3242837659-555866679-4028034677-1000</user>
<keys>
<key installerType="Msi" displayName="NCrunch Grid Node Server" displayVersion="5.23.1">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{41E6E68F-57BF-4256-AA9A-F6F149A7DB23}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{41E6E68F-57BF-4256-AA9A-F6F149A7DB23}]]></UninstallString>
@eriks-briedis
eriks-briedis / gist:a70587fd61a8583c25afa5bc94d2d70d
Created December 2, 2026 22:53
Nx workspace maintenance plan
TECH DEBT CONTROL FOR THE NX MONOREPO: PROPOSAL
Problem
AI-assisted development is growing core features, file sizes and
spec files faster than we can keep them maintainable.
Original idea
On each commit to master, a Copilot job finds new tech debt and
opens issues.
@fuchstraumer
fuchstraumer / HEALPix.slang
Created December 2, 2026 22:53
HEALPix sim grid used in my plate tectonics sim
implementing PlanetLab;
// Nested HEALPix (Gorski et al. 2005, ApJ 622:759):
// 12 equal-area curvilinear diamond base faces (0..3 north cap, 4..7 equatorial belt, 8..11 south cap),
// each subdivided into sideLength x sideLength pixels (sideLength = 2^order) in 2D Morton (Z-order) layout.
// 32-bit index safe up to order = 13 (805,306,368 pixels).
internal static const float HealpixTwoPi = 6.28318530718f;
internal static const float HealpixHalfPi = 1.57079632679f;
internal static const float HealpixInvHalfPi = 0.6366197723675814f;
// Ring index multiplier for each base face's southern vertex (Gorski et al. 2005, "jrll"):
@Samuelfmedeiros
Samuelfmedeiros / vigia-demo.html
Created December 2, 2026 22:52
Demo Vigia de Preco - fonte controlada
<!doctype html><html lang="pt-BR"><head><meta charset="utf-8"><title>Racao PetShow Premium 15kg — Loja Demo</title></head>
<body>
<h1>Racao PetShow Premium 15kg</h1>
<p class="preco">R$ 199,90</p>
<p class="estoque">Disponivel em estoque</p>
<p>Produto demo para prova do Vigia de Preco.</p>
</body></html>
@saphid
saphid / before-after-transcript.md
Created December 2, 2026 22:51
fix(pi): report file-change kind on edit and write runtime approval requests verification

Pi approval kinds: before and after

The production T3 Pi adapter launched Pi 0.80.3 in offline RPC mode with its shipped permission bridge, an isolated workspace, and the approval-required policy. A deterministic in-process Pi model fixture supplied built-in edit, write, and bash tool calls; Pi itself validated the calls and emitted the confirmation frames. No model service or account was used. The probe matched the pending runtime request and approval item by request ID, printed the two kinds, and declined each approval.

Before: d771f9f20142ed00a4ecee5451e9745939e4aafd

Allow edit? runtime_request.updated.kind=command turn_item.updated.requestKind=file-change
Allow write? runtime_request.updated.kind=command turn_item.updated.requestKind=file-change
Allow bash? runtime_request.updated.kind=command turn_item.updated.requestKind=command
@PapiOso521
PapiOso521 / peptio-precios.peptio
Created December 2, 2026 22:51
Peptio — precios de péptidos Pepper Preppers. Datos de listas publicas de proveedores.
{
"formato": "peptio",
"version": 1,
"generado": "2026-12-02T22:09:21.354Z",
"app": "Peptio",
"autor": "fabikeyi",
"grupo": "Pepper Preppers",
"tablas": {
"proveedores": [
{
@xallace
xallace / README.md
Created December 2, 2026 22:51
PC-268: Input-based boundary law for two-qubit relative entropy of entanglement — proof and verification

PC-268: the local entanglement cost of crossing a regular two-qubit separability boundary

Result. Just outside a smooth part of the separable set, the relative entropy of entanglement is quadratic in the magnitude of the negative partial-transpose eigenvalue. Its coefficient is determined by the input density matrix; no closest separable state is needed. Along a straight path tangent to the boundary this gives, when the curvature is nonzero, a quartic rather than a quadratic law in the path parameter. This is a partial analytical result for PC-268, not the exact formula for arbitrary two-qubit states, a claim of bibliographic priority, or an official checker verdict.

1. A formula in terms of the input alone

All density matrices below have trace one. Let $\Gamma$ denote partial transpose on the second qubit in the computational basis. For two qubits the separable states are exactly the positive-partial-transpose (PPT) states. Write $

@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created December 2, 2026 22:51
ncrunch-console v5.23.1 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-3242837659-555866679-4028034677-1000</user>
<keys>
<key installerType="Msi" displayName="NCrunch Console Tool" displayVersion="5.23.1">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{088ECF54-50A1-4F2A-9264-B0AE52A0298D}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{088ECF54-50A1-4F2A-9264-B0AE52A0298D}]]></UninstallString>
@Jotalea
Jotalea / arch-eac.sh
Created December 2, 2026 22:51
Easy Anti-Cheat installer for Arch-based distros
#!/usr/bin/env bash
#
# arch-eac.sh - prepare a plain Arch Linux install (systemd-boot, ESP at /boot)
# for Easy Anti-Cheat Linux v2 (Fortnite) using CachyOS's signed EAC kernel.
#
# The procedure follows CachyOS's own eac-setup / eac-status tools
# (https://wiki.cachyos.org/configuration/easy_anti_cheat/), adapted so that it
# does not need cachyos-settings and keeps the CachyOS repo BELOW Arch's.
#
# Usage:
@forkyau
forkyau / hourly_rainfall_data-2026-12-03|06-30.csv
Created December 2, 2026 22:51
GIST created by python code
id station stationid value unit obstime date
0 流浮山 RF001 0 mm 2026-12-03T06:30:00+08:00 2026-12-03
1 湿地公园 RF002 0 mm 2026-12-03T06:30:00+08:00 2026-12-03
2 水边围 N12 0 mm 2026-12-03T06:30:00+08:00 2026-12-03
3 石岗 RF003 0 mm 2026-12-03T06:30:00+08:00 2026-12-03
4 大美督 RF004 0 mm 2026-12-03T06:30:00+08:00 2026-12-03
5 大埔墟 RF005 0 mm 2026-12-03T06:30:00+08:00 2026-12-03
6 北潭涌 RF006 0 mm 2026-12-03T06:30:00+08:00 2026-12-03
7 滘西洲 RF007 0 mm 2026-12-03T06:30:00+08:00 2026-12-03
8 西贡 N15 M mm 2026-12-03T06:30:00+08:00 2026-12-03