Skip to content

Instantly share code, notes, and snippets.

@aman179102
aman179102 / ARCHITECTURE.md
Created December 1, 2026 18:04
Distributed Sagas & Idempotent API Execution: Compensation-Based Transaction Orchestrator

Distributed Sagas & Idempotency: Orchestration Engine Architecture

Problem Statement

Traditional two-phase commit (2PC) protocols do not scale across loosely coupled microservices due to distributed lock holding, latency amplification, and single points of failure. The Saga pattern provides transaction boundaries with eventual consistency via forward operations and compensating actions. Pairing this with strict idempotency keys ensures duplicate client network retries never produce duplicate state side effects.

Architecture Topology

+-----------------------------------------------------------------------------------+
|               DISTRIBUTED SAGA TRANSACTION ORCHESTRATION                          |
@Ryukein19
Ryukein19 / flop-timeout-offer4.cjs
Created December 1, 2026 18:04
FLOP offer attempt #4 timeout refund (computeChannel.timeout, one-shot, pre-checks + --yes gate)
// ONE-SHOT TIMEOUT REFUND — FLOP offer attempt #4 (READ the header before running).
//
// Channel 0x7dcf41f55fffcbf35473aa06f5cdfa823f6a4e5885081061e1122ca27ad9b997
// (offer-accepted session to frbl.ai miner 5E7kqJ6w..., opened block 538,628,
// escrow 0.05 FLOP). The CLI reported SESSION_FAILED but the open SUCCEEDED
// on-chain and the miner ACKED — the channel is Open. The CLI then exited
// without driving the turn, so no reply was produced and nothing settled
// (lockedComputeConsumed 0, transcriptRef null). The channel's window ends at
// block openedAt + maxDuration = 538,623 + 1,200 = 539,823.
//
@NickoHB
NickoHB / CompleteDiscordQuest.md
Created December 1, 2026 18:04 — forked from aamiaa/CompleteDiscordQuest.md
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you WILL get flagged by doing so.

Complete Recent Discord Quest

@defcron
defcron / check.py
Created December 1, 2026 18:04
C$1,000 records-management handoff QA pilot and runnable FOI fixture
import argparse
import json
import unicodedata
from collections import Counter
from urllib.parse import urlsplit
from pypdf import PdfReader
from pypdf.generic import ArrayObject, DictionaryObject, TextStringObject
@saphid
saphid / before-after-transcript.md
Created December 1, 2026 18:04
fix(web): ignore IME confirmation keys in the shortcut recorder verification

fix(web): ignore IME confirmation keys in the shortcut recorder — verification

Test: apps/web/src/components/settings/KeybindingsSettings.browser.test.tsx → "leaves IME composition keys in the $name field to the IME" (Chromium browser test, renders Settings > Keybindings inside a Dialog).

For both the existing-row recorder (Sidebar: Toggle) and the Add keybinding recorder, it focuses the recorder and dispatches cancelable bubbling keydowns: {key:'Enter', isComposing:true}, {key:'Enter', keyCode:229} (after compositionend, as Safari sends), {key:'Escape', isComposing:true}, {key:'Escape', keyCode:229}. It asserts each is not default-prevented, the recorder still shows "Press shortcut" and keeps focus, Settings stays open, then a plain Enter records enter.

Before — origin/main 51f2c979c6c5 (unmodified KeybindingsSettings.tsx)

@jefferry90-cmd
jefferry90-cmd / sakila-es-data.sql
Created December 1, 2026 18:03 — forked from josejuansanchez/sakila-es-data.sql
Datos de la base de datos Sakila creada por Mike Hillyers, con los nombres de las tablas y columnas en español.
This file has been truncated, but you can view the full file.
-- Sakila Sample Database Schema
-- Version 1.0
-- Copyright (c) 2006, 2015, Oracle and/or its affiliates.
-- All rights reserved.
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
@choco-bot
choco-bot / FilesSnapshot.xml
Created December 1, 2026 18:03
editorconfig.vs v0.2.6 - Failed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\editorconfig.vs\editorconfig.png" checksum="F7D6BF585CEDEDCEF980BC4775B7EC7B" />
<file path="C:\ProgramData\chocolatey\lib\editorconfig.vs\editorconfig.vs.nupkg" checksum="208AA14BCA311BD995616E45DBDB0711" />
<file path="C:\ProgramData\chocolatey\lib\editorconfig.vs\editorconfig.vs.nuspec" checksum="57BE690D6447B84643B18DF180D5FCAC" />
<file path="C:\ProgramData\chocolatey\lib\editorconfig.vs\Thumbs.db" checksum="24F76C5E5D8FE592FB633F2436048344" />
<file path="C:\ProgramData\chocolatey\lib\editorconfig.vs\tools\chocolateyInstall.ps1" checksum="BADBCC089AF0AA105D541BA32E31BA78" />
</files>
</fileSnapshot>
@alfredoblazquez-maker
alfredoblazquez-maker / advanced-materials-doi.csl
Created December 1, 2026 18:02
advanced-materials-doi.csl
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>Advanced Materials (with DOI)</title>
<id>http://www.zotero.org/styles/advanced-materials-with-doi</id>
<link href="http://www.zotero.org/styles/advanced-materials-with-doi" rel="self"/>
<link href="http://www.zotero.org/styles/advanced-materials" rel="template"/>
<link href="https://onlinelibrary.wiley.com/page/journal/15214095/homepage/author-guidelines" rel="documentation"/>
<author>
<name>Jimmy Lawrence</name>
@jan-zika
jan-zika / osm_data_centers.csv
Created December 1, 2026 18:02
CAP4767 Final Project: PJM zone-month panel and lookup tables (from ai_dc_grid_vulnerability_pjm)
osm_id osm_type name operator lat lon addr_city addr_state addr_street power website
751881301 node CoreSite DC1 CoreSite 38.9028879 -77.0291491 K Street Northwest https://www.coresite.com/data-center/dc1-washington-d-c
5225685660 node Lumos Networks Unknown 37.415688 -79.1427063
6793837329 node Morgan Wireless Unknown 39.6309851 -78.2253196 Bath (Berkeley Springs) WV North Washington Street https://www.morganwireless.net
7264976228 node Learning GIS! Unknown 40.42179 -86.9141546
7264976991 node Agricultural and Biological Engineering Unknown 40.4218543 -86.9165454
7324132050 node Windstream Communications Unknown 35.881397 -78.851552 Durham NC South Miami Boulevard
7324132051 node Level 3 Communications Unknown 35.881364 -78.8515726 Durham NC South Miami Boulevard
7985753364 node 8100 Boone Boulevard Digital Realty 38.9137236 -77.2258825 Boone Boulevard
8641856300 node Chick-fil-A Hiring Center Dennis Sampier 42.6279424 -82.9883939
local WindUI = loadstring(game:HttpGet("https://raw.githubusercontent.com/Footagesus/WindUI/main/dist/main.lua"))()
local Window = WindUI:CreateWindow({
Title = "VETER HUB PREMIUM",
Author = "GOBLOSOS (GOAT_VETER)",
Folder = "VeterHub",
Icon = "shield",
Theme = "Dark",
Size = UDim2.fromOffset(550, 400),
Transparent = true,