Skip to content

Instantly share code, notes, and snippets.

@dori4n
dori4n / Office 2024 ISO Links at Microsoft.md
Created January 13, 2025 06:30
Office 2024 ISO Download Links at Microsoft
/* Copyright 2022 Google LLC.
SPDX-License-Identifier: Apache-2.0 */
class MakePaymentViewModel(...) : ViewModel() {
val uiState: StateFlow<MakePaymentUiState> = /* ... */
// ⚠️⚠️ DO NOT DO THIS!! ⚠️⚠️
// This one-off ViewModel event hasn't been handled nor reduced to state
// Boolean represents whether or not the payment was successful
@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'
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.10"
# dependencies = ["transformers", "jinja2", "rich"]
# ///
from transformers import AutoTokenizer
from rich.console import Console
from rich.text import Text
console = Console()
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.10"
# dependencies = ["renderers", "transformers>=4.46", "jinja2", "rich"]
# ///
"""
Replay the TITO failure modes from tito_failure_modes.py using
PrimeIntellect's `renderers` package (hand-coded per-model bridges)
instead of the naive `apply_chat_template`-delta algorithm.
@valosekj
valosekj / string_manipulation.md
Last active May 28, 2026 19:53
Useful string manipulation examples for bash and zsh #blog

Useful string manipulation examples for bash and zsh

I need very often to modify filenames or replace/delete their parts across huge number of files. I was using sed command for these purposes but recently I have found out that all these tasks can be easily done directly in bash (or zsh) because both of them support so called string manipulation operations.

String manipulations

Define some example string:

$ file=some_file_name.txt

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.

@MarlonPassos-git
MarlonPassos-git / README.md
Last active May 28, 2026 19:49
grill-me-codex

grill-me-codex

Small Codex skills for better planning with request_user_input.

This is a tiny adaptation of the grill-me workflow for Codex.

The goal is simple: make Codex ask better planning questions before writing code, without forcing you into a heavier workflow like a full spec system.

Why