Skip to content

Instantly share code, notes, and snippets.

@kshetline
kshetline / github.css
Last active July 24, 2026 19:18
Github styling for Jetbrains/Intellij Markdown Preview -- A Very Close Match
/*
This CSS allows the Jetbrains/Intellij Markdown Preview to closely match the appearance of Markdown
documentation as viewed on GitHub.
Both the light GitHub theme and the dark theme are included here, although only the light theme works by
default. The dark theme is deactivated with an as-yet-unsupported "@media (prefers-color-scheme: dark)"
media query. Simply delete and/or comment out the light theme colors below, and then remove the enclosing
media query from the dark theme colors, in order to use those colors instead.
Color matching GitHub's syntax coloring inside code fences remains a problem. The Jetbrains preview
@SvenGDK
SvenGDK / eboot5.md
Created July 23, 2026 12:17
An eboot's launch sequence on PS5

PS5 4.03 SELF launch

A. The eboot.bin launch sequence

A.1 Path from execve into the kernel image-activator

FreeBSD-style imgact chain, native path only:

  1. Two thin thunks register the same handler twice into the imgact table:
  • FUN_ffffffff805b5620 calls _exec_self_imgact(imgp, 2) — SELF-capable mode.
@H0j3n
H0j3n / CVE-2026-54121.md
Last active July 24, 2026 19:12

Certighost (CVE-2026-54121)

Authors: @h0j3n, @aniqfakhrul
Date: July 24, 2026


Certighost is an Active Directory Certificate Services (AD CS) vulnerability that allowed a low-privileged domain user to impersonate a Domain Controller and achieve domain compromise in the tested AD CS configuration. The issue was addressed in the July 2026 security updates.

The vulnerable path is an AD CS enrollment fallback known as a chase during directory-object resolution. By supplying request attributes such as cdc, an attacker could cause the Certification Authority (CA) to ask an attacker-controlled host for identity data belonging to a Domain Controller. The CA then used that data while issuing a certificate.

Replicate Codex Micro Layer 1 on Layer 2
This guide is written so it can be given directly to an agent. Its goal is to make Layer 2 behave exactly like the protected Codex Layer 1. Afterward, Layer 2 remains editable in Work Louder Input, so individual keys can be replaced normally.
This is an unsupported, version-sensitive technique. Back up the configuration and follow the validation steps before writing anything to the device.
## Expected result
Layer 2 retains its own name, color, and lighting settings, but gains Layer 1's:
@thomasklemenc
thomasklemenc / main.c
Created July 24, 2026 19:01
C dual-path D3D11 demo: use WARP until hardware GPU is ready
#ifndef DEMO_HARDWARE_ONLY
#define DEMO_HARDWARE_ONLY 0
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <dwmapi.h>
#include <d3d11.h>
#include <dxgi1_2.h>
#include <stdio.h>
@kuntau
kuntau / yify.md
Last active July 24, 2026 19:06
YIFY's Quality Encoding

For those that want to keep the YTS going (No, IDGAF about people that don't care for YTS quality) get HandbrakeCLI https://handbrake.fr/downloads... and use the following settings:

user@user:~$HandBrakeCLI -i /file/input.mp4 -o /file/out.mp4 -E fdk_faac -B 96k -6 stereo -R 44.1 -e x264 -q 27 -x cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all

Reason to use CLI over GTK has to do with lack of support for advanced settings for Handbrake GTK

** Don't Re-encode already shitty encodes...get good source!**

"""
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
@quank123wip
quank123wip / _pipeline.md
Created June 8, 2026 07:07
Agent Internals Research: Pi Agent/OpenCode/Codex/Claude Code 内部机制深度分析 (10858行/27文档)

Agent 通用流水线 — 共同脉络全景

基于 Pi Agent / OpenCode / Codex / Claude Code 四份源码侦察报告的横向分析。 四个 Agent 虽然语言不同(TypeScript ×3, Rust ×1),但架构核心高度趋同。


共同流水线

@erdemoflaz
erdemoflaz / iletisim.html
Last active July 24, 2026 19:02
EĞİTİMDE YAPILAN HTML VE CSS KODLARI
<html>
<head>
<title>Kişisel Blog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Righteous" rel="stylesheet">
</head>