Skip to content

Instantly share code, notes, and snippets.

/* =====================================================================
Outlook on the web: Gmail-like theme
===================================================================== */
/* ===== 1. Settings: edit here ===== */
:root {
/* slate-blue chrome (title bar, tab strip, left rail, page backdrop) */
--ol-chrome: #56678f;
--ol-chrome-dark: #47577b; /* New mail button hover */
--ol-chrome-text: #fff;
@thalesfsp
thalesfsp / microgpt.py
Created December 1, 2026 20:42 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@ayazalam001
ayazalam001 / consolidated_sales_report_2026-12-01.html
Created December 1, 2026 20:42
Prime Markets KSA - Consolidated Live Sales Report
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Consolidated Live Sales Report - Prime Markets KSA</title>
<style>
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #0f172a; color: #e2e8f0; margin: 0; padding: 30px; }
.container { max-width: 1200px; margin: auto; background: #1e293b; padding: 30px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
h1 { color: #38bdf8; margin-top: 0; font-size: 26px; }
.subtitle { color: #94a3b8; font-size: 14px; margin-bottom: 25px; }
@rand0mbits
rand0mbits / aws-re-invent-2026-ceo-keynote-summary
Created December 1, 2026 20:42
AWS re:Invent 2026 CEO Keynote Summary
# AWS re:Invent 2026 CEO Keynote Summary
**Speaker:** Matt Garman (with closing guest Sam Altman, CEO of OpenAI)
**Core Theme:** Shifting cloud infrastructure from human-operated systems to treating **AI agents as the primary "super users"** of the cloud—paired with a heavy push into deterministic governance, identity, and cost controls to make autonomous agents safe for enterprise production.
---
## 1. The Closing Drop: OpenAI & AWS Security Alliance
Sam Altman joined Matt Garman at the end of the keynote to announce an expansion of the AWS–OpenAI partnership focused on enterprise cybersecurity and production deployment:
* **GPT-6 Cyber on Amazon Bedrock:** OpenAI’s specialized cybersecurity model (`GPT-6 Cyber`, with `GPT-6.2 Cyber` slated to follow) is now available on Bedrock for defensive red-teaming and penetration testing. AWS is offering **$25 million in total credits** ($50,000 per eligible essential-services organization) to subsidize adoption.
@SureshKamediya
SureshKamediya / 0002_lotteryresult.py
Created December 1, 2026 20:42
Lottery draw (HMAC_DRBG seeded by a public number) - source files for audit
import django.core.serializers.json
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
FORWARD = """
ALTER TABLE lottery_lotteryresult
ADD CONSTRAINT lotteryresult_scheme_same_company
FOREIGN KEY (scheme_id, company_id) REFERENCES schemes_scheme (id, company_id)
DEFERRABLE INITIALLY DEFERRED;
@Chris1220-cmd
Chris1220-cmd / HULLATLAS-AUTHORSHIP.md
Created December 1, 2026 20:41
HullAtlas authorship record (Christos Athanasopoulos)

HullAtlas: authorship record

Author: Christos Athanasopoulos (Greece). HullAtlas: https://hullatlas.com Copyright (c) 2024-2026 Christos Athanasopoulos. All rights reserved.

This public note records cryptographic fingerprints of the private source code of HullAtlas (Handbook, PDF to DXF, Draft Operator). The code itself is not published. Anyone later shown the private repositories can recompute these values and check that they match.

Draft Operator (private repo Chris1220-cmd/draft-operator)

  • Repository created on GitHub: 2026-08-18T10:06:52Z (GitHub server record)
  • First push recorded by GitHub: 2026-08-18T10:07:00Z
@kody-w
kody-w / prompt-lab-ep119-dawn-meditation.md
Created December 1, 2026 20:41
Prompt Lab EP 119: a one-minute sunrise meditation over still water, three AIs (run it yourself)

Prompt Lab EP 119: a one-minute sunrise meditation over still water, three AIs

Run this yourself, start to finish, on your own computer. Or hand this page's link to your own AI and say "do every step on this page".

Our prompt, written from the idea in this post by localFirstTools: https://kody-w.github.io/localFirstTools/dawn-meditation.html

1. The prompt (copy word for word)

@MaBecker
MaBecker / wifi-test-ap.js
Created December 1, 2026 20:41
AP side of the esp32-wifi-fixes test pair
/* wifi-test-ap.js - AP side of the esp32-wifi-fixes test pair.
*
* Board: the ESP32 that acts as server with AP.
* Start this FIRST, then run wifi-test-station.js on the second board.
* When the station test has finished, type finish() here to stop the AP and print the summary.
*
* Don't type in the console while the steps are running: every step has a timeout, so a
* callback/event that only arrives after console activity (EVC_WIFI wake-up broken) shows up
* as a FAIL.
*
@zackleman
zackleman / superdoc-header-repro.py
Created December 1, 2026 20:40
Synthetic SuperDoc continuous-section titlePage reproduction; no customer content
"""Build sanitized continuous/nextPage title-page DOCX repros. No customer data."""
from pathlib import Path
from zipfile import ZipFile, ZIP_DEFLATED
root = Path(__file__).parent / "fixtures"
root.mkdir(exist_ok=True)
W = 'xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"'
R = 'xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"'
PKG_REL = 'xmlns="http://schemas.openxmlformats.org/package/2006/relationships"'
DOC_REL = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument'
@stiyyagura0901
stiyyagura0901 / 1-default-limits.log
Created December 1, 2026 20:39
Renovate debug logs: renovatebot/renovate#48258 (CircleCI functions) against stiyyagura0901/renovate-circleci-functions-repro at e2bca5d6f
{"name":"renovate","hostname":"<redacted-host>","pid":14378,"level":20,"logContext":"326d4a5c-4ec6-4118-9a40-edebccf7bbe0","msg":"Detected NO_PROXY value in env","time":"2026-12-01T20:38:37.014Z","v":0}
{"name":"renovate","hostname":"<redacted-host>","pid":14378,"level":30,"logContext":"326d4a5c-4ec6-4118-9a40-edebccf7bbe0","renovateVersion":"0.0.0-semantic-release","msg":"Renovate started","time":"2026-12-01T20:38:38.052Z","v":0}
{"name":"renovate","hostname":"<redacted-host>","pid":14378,"level":20,"logContext":"326d4a5c-4ec6-4118-9a40-edebccf7bbe0","msg":"Using RE2 regex engine","time":"2026-12-01T20:38:38.053Z","v":0}
{"name":"renovate","hostname":"<redacted-host>","pid":14378,"level":20,"logContext":"326d4a5c-4ec6-4118-9a40-edebccf7bbe0","msg":"Parsing configs","time":"2026-12-01T20:38:38.053Z","v":0}
{"name":"renovate","hostname":"<redacted-host>","pid":14378,"level":20,"logContext":"326d4a5c-4ec6-4118-9a40-edebccf7bbe0","msg":"No config file found on disk - skipping","time":"2026-12-01T20:38:38.054Z","