Skip to content

Instantly share code, notes, and snippets.

@mikhailov-work
mikhailov-work / turbo_colormap.glsl
Last active November 17, 2026 19:13
Turbo Colormap Polynomial Approximation in GLSL
// Copyright 2019 Google LLC.
// SPDX-License-Identifier: Apache-2.0
// Polynomial approximation in GLSL for the Turbo colormap
// Original LUT: https://gist.github.com/mikhailov-work/ee72ba4191942acecc03fe6da94fc73f
// Authors:
// Colormap Design: Anton Mikhailov (mikhailov@google.com)
// GLSL Approximation: Ruofei Du (ruofei@google.com)
@cw2k
cw2k / NoAdminPasswordForWinRE.Reg
Created November 11, 2021 04:44
RecEnv.exe CRecoveryToolAction::NeedsAuthentication
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RecoveryEnvironment]
"WinREAuthenticationRequirement"=dword:00000002
@sunmeat
sunmeat / task.md
Last active November 17, 2026 19:06
ДЗ 3: експерименти з навчанням моделі

🤖 Домашнє завдання: навчи свою першу модель ШІ

Мета: зрозуміти, як штучний інтелект навчається розпізнавати об’єкти на основі прикладів, та самостійно провести експеримент із класифікацією зображень.


01. 👤 Реєстрація та налаштування профілю

  • Зареєструйся на платформі Alex Lessons, якщо ще цього не зробив(-ла).
  • Перейди до особистого кабінету та вкажи своє ім’я і прізвище так, щоб викладач міг тебе впізнати.
@laundmo
laundmo / direct_scanout.md
Last active November 17, 2026 19:00
Wayland (KDE Plasma/KWin) direct scanout info/guide

Direct Scanout

What is it?

Direct scanout is a feature where the window manager configures the display controller to read the swapchain image buffer of a fullscreen window directly, without compositing. This reduces click-to-photon latency and may improve performance.

This will focus on KDE Plasma Wayland/KWin Wayland, but direct scanout is available on other compositors as well (like gnome, niri, cosmic, etc.). X11 might behave differently.

Requirements

Direct scanout will be enabled automatically for a window once it becomes compatible and theres nothing blocking direct scanout.

@ronyfadel
ronyfadel / apple-names-in-macos-sdk.md
Last active November 17, 2026 19:00
Apple engineer names in macOS system binaries and SDK headers

Apple engineer names in macOS system binaries and SDK headers

Scanned: the macOS arm64e combined system library file (dyld shared cache) and the macOS SDK in Xcode 27.2.

No real engineer home folders or desktop paths turned up. Every /Users/... string is either a system folder or a placeholder. Build paths are anonymized (/AppleInternal/Library/BuildRoots/4~<random id>/Library/Caches/com.apple.xbs/...). Names do appear in the places listed below.

Names in the system library file

Name Where

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@kepano
kepano / dropcaps.css
Created May 30, 2024 20:40
Obsidian drop caps
/* Obsidian CSS snippet that adds drop caps to the first paragraph of a note. */
.dropcaps .cm-content .cm-line:nth-child(2):first-letter,
.dropcaps .markdown-preview-sizer > div:nth-child(4) p:first-letter {
float: left;
font-weight: 600;
font-size: 300%;
line-height: 1;
margin-inline-end: 0.1em;
margin-bottom: -0.5rem;
@WildSiphon
WildSiphon / DockerDesktop.yaml
Created July 5, 2025 11:00
Docker Desktop direct download links
4.0.0:
Windows: https://desktop.docker.com/win/main/amd64/67817/Docker%20Desktop%20Installer.exe
Mac with Intel chip: https://desktop.docker.com/mac/main/amd64/67817/Docker.dmg
Mac with Apple chip: https://desktop.docker.com/mac/main/arm64/67817/Docker.dmg
release_date: '2021-08-31'
4.0.1:
Windows: https://desktop.docker.com/win/main/amd64/68347/Docker%20Desktop%20Installer.exe
Mac with Intel chip: https://desktop.docker.com/mac/main/amd64/68347/Docker.dmg
Mac with Apple chip: https://desktop.docker.com/mac/main/arm64/68347/Docker.dmg
release_date: '2021-09-13'
@przemoc
przemoc / import_github_stars_to_linkding.md
Created December 3, 2023 22:02
Import GitHub stars to linkding