Skip to content

Instantly share code, notes, and snippets.

import "jsr:@supabase/functions-js/edge-runtime.d.ts";
import { withSupabase } from "jsr:@supabase/server@^1";
const TOTAL_ACADEMY_ENTRIES = 135;
const MAX_LEVEL = 100;
const MAX_COURSE_XP = 11250;
const LEVEL_CURVE = 0.70;
/*
========================================
@mypy-play
mypy-play / main.py
Created October 2, 2026 13:36
Shared via mypy Playground
foo: int = "bar" # type: ignore[assignment, ty:invalid-assignment]
bar: int = "foo" # type: ignore[assignment] # ty: ignore[invalid-assignment]
#!/usr/bin/env bash
set -euo pipefail
# ---------------------------------------------------------------------------
# Harness Delegate + Docker Runner install script (RHEL / AlmaLinux)
# Run on the delegate host as root (or with sudo).
# ---------------------------------------------------------------------------
# Required env vars (export before running, or pass on the command line):
# HARNESS_ACCOUNT_ID your Harness account ID
@felipebernardes
felipebernardes / gist:777d497997db2c481245bf90fe789f00
Created October 2, 2026 13:35
prompt for creating a skill to save disk space by removing unused worktrees
Create a skill called `cleanup-worktrees` that frees disk space by removing git worktrees and local branches for work that's already finished.
**What "finished" means.** A worktree is finished if any of these is true:
- Its ticket in the issue tracker is done, canceled, or a duplicate. This wins no matter what state the PR is in.
- Its PR was merged or closed.
- Its PR is still open but hasn't been touched in 30+ days.
- It has no PR and no commits or file changes in 30+ days.
**What to keep:**
- A worktree with no PR that has been active in the last 30 days. That's work in progress.
@Ams627
Ams627 / clip.txt
Created October 2, 2026 13:35
Public gist from clipboard
int a = 1;
short b = 1;
object oa = a;
object ob = b;
oa.Should().Be(ob);
oa.Should().BeOfType(ob.GetType());
--[=[
Module: MrDon Automation Hub V2
Tính năng: Auto Attack, Auto Time Trial, Teleportation, Fast Click, Auto Collect
Người viết: MrDon
]=]
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created October 2, 2026 13:35
Rimworld output log published using HugsLib
Log uploaded on Friday, October 2, 2026, 8:34:47 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2)
[Og] Automatic Power Switch(Og.AutomaticPowerSwitch): autoflicker(1.0.0)
CorpseToChemFuel(dgacr.corpsetochemfuel): (no assemblies)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Noah Strings V3 Fixed</title>
<style>
body{font-family:-apple-system,system-ui;padding:16px;max-width:440px;margin:auto;background:#f6f6f6}
.tabs{display:flex;gap:8px;margin:12px 0}
.tab{flex:1;padding:10px;text-align:center;background:white;border-radius:10px;border:2px solid #ddd;font-weight:700;cursor:pointer;font-size:13px;white-space:nowrap;overflow:hidden}
.tab.active{border-color:black;background:black;color:white}
@doramirdor
doramirdor / README.md
Created October 2, 2026 13:34
Nadir Scout 12B — pinned JevBench GCP reproduction of Cygnet

Nadir Scout 12B — JevBench public reproduction

Nadir Scout is Nadir's decision-model research family. This 12B submission is an independent GCP reproduction of Cygnet, with its frozen Gemma weights and unmodified prompt, option readout and calibration. Nadir contributes the GCP execution and measurements in this artifact. It adds no model weights or inference-method innovation. The measured API model name remains cygnet in the original records; Nadir Scout 12B is the submission display name.

Measured results

Public tier Correct Accuracy
Easy 48/48 100.00%
Standard 70/72 97.22%
### Keybase proof
I hereby claim:
* I am ksrathbone on github.
* I am krystalsrathbone (https://keybase.io/krystalsrathbone) on keybase.
* I have a public key ASCdU_H739B9MGEWC_h1URkzHUOSAW0-Ahn9kIt-Bf-PdAo
To claim this, I am signing this object: