Skip to content

Instantly share code, notes, and snippets.

@TaeTanakrit0089
TaeTanakrit0089 / array_stack_01.c
Last active August 26, 2026 03:30
Stack and Heap Memory (Ex.2)
#include <stdio.h>
#include <stdlib.h>
int main() {
unsigned int stack_capacity, stack_size = 0;
scanf("%u", &stack_capacity);
char **stack = (char**) calloc(stack_capacity, sizeof(char*));
}
@ry
ry / llm-wiki.md
Last active August 26, 2026 03:29 — forked from karpathy/llm-wiki.md
llm-wiki

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.

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.

@ArlenCinderfall
ArlenCinderfall / README.md
Last active August 26, 2026 03:29
*D𝗈𝗐nl𝗈𝖺𝖽 "Hanuman Ansh" .2026. [+𝐅𝚞𝐥𝐥.𝙼𝒐𝒗𝒊𝒆!] 1080 ᴍᴘ𝟺ᴍᴏᴠɪᴇᴢ 𝖥𝗂m𝗅y𝟦w𝖺p.

Welcome DR MSG to the official project space dedicated to Hanuman Ansh (2026) — that unveils the extraordinary life of a yogi dedicated to truth, inner peace, and self-discovery where a large-scale mythological action film explores the beginning of a legend long before it became folklore. The film follows Ajey’s journey from his early struggles to his transformation (~Release: august, 2026) into a guiding light for those seeking wisdom and enlightenment. Through his tory, audiences witness the courage, devotion, and discipline.

:~

This repository exists as a reference hub for viewers see Hanuman Ansh background, production details, and official viewing guidance for the 2026 release.

“Hanuman Ansh” (2026) marks a new chapter in digital movie culture, where convenience and choice shape the viewing experience. A couple embraces pHanuman Ansh onately amidst a dramatic lightning storm, set against a Hanuman Ansh, brooding sky, with the title "“Hanuman

@masklinn
masklinn / cheatsheet.md
Last active August 26, 2026 03:27
launchctl/launchd cheat sheet

I've never had great understanding of launchctl but the deprecation of the old commands with launchctl 2 (10.10) has been terrible as all resources only cover the old commands, and documentation for Apple utilities is generally disgracefully bad, with launchctl not dissembling.

Mad props to https://babodee.wordpress.com/2016/04/09/launchctl-2-0-syntax/ which contains most details

domains

Internally, launchd has several domains, but launchctl 1 would only ask for service names,

@marius-benthin
marius-benthin / iocs.md
Created August 20, 2026 08:41
Malicious Rust crates proc-macro1 and proc-macro-en: Analysis and IOCs

Malicious Rust crates proc-macro1 and proc-macro-en: Analysis and IOCs

Summary

Two malicious Rust crates—proc-macro1 version 1.0.107 and proc-macro-en version 1.0.10—impersonate the naming, source, authorship, and metadata of the legitimate proc-macro2 ecosystem.

Both contain the same malicious build.rs, byte for byte. Building either crate directly or as a transitive dependency downloads and launches a platform-specific payload. Commands that may trigger execution include cargo build, cargo check, and cargo test.

The build script:

@Ahosall
Ahosall / WinActivator.md
Created December 12, 2023 12:37
Ativador do Windows

Ativador do Windows

Este é um ativador do Windows. Siga os passos para ter êxito!

Importante!

Será necessário ter permissões de administrador!

Passo a Passo

@greneholt
greneholt / QWERTY no option.keylayout
Created June 30, 2023 19:17
Mac QWERTY keyboard layout without bindings for the option key. This disables the annoying default behavior of key combinations like option+i that enters diacritic mode and prevents using such shortcuts in VS Code.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd">
<keyboard group="0" id="5000" name="QWERTY no option" maxout="1">
<layouts>
<layout first="0" last="0" modifiers="48" mapSet="312" />
</layouts>
<modifierMap id="48" defaultIndex="0">
<keyMapSelect mapIndex="0">
<modifier keys="" />
</keyMapSelect>
@Rebreda
Rebreda / dictate.sh
Last active August 26, 2026 03:16
simple push-to-talk dictation via the local Lemonade Whisper server
#!/usr/bin/env bash
# dictate - simple push-to-talk dictation via the local Lemonade Whisper server.
#
# Usage:
# dictate [type] toggle: 1st call starts recording, 2nd stops,
# transcribes, and types the text at the cursor
# (falls back to clipboard if ydotool is unavailable)
# dictate clip same toggle, but always copy to clipboard
# dictate cancel abort an in-progress recording
# dictate file PATH transcribe an existing audio file to the clipboard
@deanrather
deanrather / Github Web Hosting.md
Last active August 26, 2026 03:15
Free Hosting on GitHub

Free Hosting on GitHub

This guide will take you from zero webserver knowledge, to having your own free site hosted on GitHub. The only non-free bit is registering a domain name, which can be as cheap as $5/year.

This guide uses CrazyDomains as the Registrar, FreeDNS as the DNS, and GitHub as the Webserver.


1) Domain Registration and Setup