Skip to content

Instantly share code, notes, and snippets.

@nutzboi
nutzboi / LU.HC
Created September 3, 2026 04:44
LU Decomposition in HolyC.
U8 n;
"Enter no. of equations: ";
n = GetI64;
I8 i, j, k;
F64 a[n][n+1];
for(i = 0; i < n; i++){
"Equation %d:\n", i+1;
for(j = 0; j < n; j++){
@JulieSapir
JulieSapir / main.py
Created September 3, 2026 04:44
海搜接口
import re,requests;print([{'title':re.sub(r'<[^>]+>','',i['share_name']),'url':f"https://pan.quark.cn/s/{i['share_code']}{('?pwd='+i['share_pwd']) if i['share_pwd'] else ''}"}for i in requests.post("https://haisou.cc/api/v2/shares/search",json={"query":input("搜索关键词:"),"filters":{"scope":"title","platforms":["quark"]},"pagination":{"page":1,"page_size":20}}).json()['data']['items']])
@xq002011-cpu
xq002011-cpu / 743-arena-create--dark--1440.png
Created September 3, 2026 04:43
guild PR evidence: #743 Arena create surface, #747 rail rhythm
743-arena-create--dark--1440.png
@choco-bot
choco-bot / Install.txt
Created September 3, 2026 04:43
instantwordpress v5.3.6 - Failed - Package Tests Results
2026-09-03 03:58:45,675 1260 [DEBUG] - XmlConfiguration is now operational
2026-09-03 03:58:55,842 1260 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2026-09-03 03:58:55,954 1260 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2026-09-03 03:58:56,013 1260 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2026-09-03 03:58:56,042 1260 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2026-09-03 03:58:56,074 1260 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2026-09-03 03:58:56,123 1260 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2026-09-03 03:58:56,186 1260 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2026-09-03 03:58:56,230 1260 [DEBUG] - Adding new typ
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created September 3, 2026 04:43
kortix v0.13.10 - 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-1415953902-2202002811-3653904700-1000</user>
<keys>
<key installerType="Custom" displayName="Kortix 0.13.10" displayVersion="0.13.10">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b4f2b6bf-3aea-51e6-a359-8b3e8c92fb3d</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA["C:\Users\vagrant\AppData\Local\Programs\Kortix\Uninstall Kortix.exe" /currentuser /S]]></UninstallString>
@dimanzver
dimanzver / config.toml
Created September 3, 2026 04:43
Secure codex config
model = "gpt-5.5"
model_reasoning_effort = "medium"
sandbox_mode = "workspace-write"
default_permissions = "project-edit"
[tui]
status_line = ["model-with-reasoning", "current-dir", "run-state", "approval-mode", "context-used", "five-hour-limit", "weekly-limit", "used-tokens", "total-input-tokens", "total-output-tokens", "thread-title"]
status_line_use_colors = true
multiline_enter = true
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created September 3, 2026 04:42
tunein-radio v1.24.0 - 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-2327781269-4263938408-484369895-1000</user>
<keys>
<key installerType="Custom" displayName="TuneIn 1.24.0" displayVersion="1.24.0">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{491e9b4c-9857-50a5-9caf-cb9616fbaf49}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA["C:\Users\vagrant\AppData\Local\Programs\TuneIn\Uninstall TuneIn.exe" /currentuser /S]]></UninstallString>
@jdnova0802
jdnova0802 / velaru_anchor.json
Created September 3, 2026 04:42
Velaru audit anchor — 513 entries — SCITT RFC9943 — 2026-09-03T04:42:06.972147
{
"velaru_anchor": true,
"scitt_aligned": true,
"scitt_rfc": "RFC9943",
"profile": "velaru-employment-companion-ai-v1",
"anchored_at": "2026-09-03T04:42:06.971641",
"chain_length": 513,
"latest_entry_hash": "f5e3fd0733f0b1ae3ae05888e5e2ca5278891dde40bef7aa347ebe80316004a6",
"recent_entry_hashes": [
"adc03d8c89a59e6946d5cce5cc761e880fb76f68ee2e005ea8cb15614292cc48",
@vishaalram02
vishaalram02 / REPORT.md
Created September 3, 2026 04:41
Modal Sandboxes: UDP hole-punching (STUN/ICE/WebRTC) fails at CLOUD_PROVIDER_UNSPECIFIED sites (seattle/CHI/new-york) - repro + report

UDP hole-punching is broken on Sandboxes at CLOUD_PROVIDER_UNSPECIFIED sites

WebRTC from a Sandbox to an outside peer almost never connects (1 success in ~16 attempts in production, 1 in 4 with aiortc) when the Sandbox lands in MODAL_REGION=seattle (Cirrascale, egress 64.70.114.0/24), CHI (Latitude.sh, 152.236.x.x) or new-york (149.51.48.x) — all CLOUD_PROVIDER_UNSPECIFIED. Same code works every time on OCI and Azure. Turns out it has nothing to do with WebRTC — it's how UDP is handled at those sites.

Repro

min_repro.py (attached, only needs pip install modal):

  1. Start a Sandbox, bind a UDP socket in it, learn its public ip:port with one STUN request to stun.l.google.com.
  2. From an outside machine, send a few UDP packets to that ip:port before the Sandbox has sent anything to the outside machine.
@vinod2807
vinod2807 / konica206uri-copies-debug.md
Created September 3, 2026 04:40
Konica 206 copies bug — full CUPS/PAPPL debug logs (libcupsfilters 2.2.1 regression)

Konica 206 copies bug — full debug logs

Companion to upstream issue: OpenPrinting/libcupsfilters#231

Background

Printer konica206uri (Konica Minolta 206, GDI) served via legacy-printer-app (PAPPL retrofit) on ipp://localhost:8000/ipp/print/konica206uri, consumed through a CUPS driverless queue. Printing 2 copies from gThumb (or lp -n 2) yielded only 1 copy on Arch, while the same machine's Fedora 44 install printed 2 copies fine.