Skip to content

Instantly share code, notes, and snippets.

View emrekgn's full-sized avatar

Emre Akkaya emrekgn

View GitHub Profile
@emrekgn
emrekgn / llm-wiki.md
Created June 12, 2026 13:03 — 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.

@emrekgn
emrekgn / ollama-cheatsheet.md
Created June 3, 2026 10:06
Ollama CLI commands cheatsheet

Ollama CLI commands

Replace <model with your specific model name (e.g. qwen3.5:latest, gemma3:4b etc.)

Download a model

ollama pull <model>
@emrekgn
emrekgn / linode-vpn.md
Last active June 12, 2026 16:44
How to make your own VPN

How to make your own VPN server

This guide walks through the full workflow for setting up your own VPN server using Linode.


1. Prerequisites

  1. A Linode account
@emrekgn
emrekgn / so-you-think-you-know-git.md
Created November 28, 2025 07:26 — forked from Drarig29/so-you-think-you-know-git.md
All commands from "So You Think You Know Git - FOSDEM 2024"
@emrekgn
emrekgn / publishing-from-github.md
Created November 27, 2025 13:13
How to publish a Python package from Github to pypi ("Trusted Publishers" method)

Publishing to PyPI from GitHub with Trusted Publishers

This guide walks through the full workflow for publishing a Python package to PyPI using GitHub Actions and PyPI's Trusted Publishers (OIDC) feature. No long‑lived API tokens are required—PyPI issues temporary credentials to GitHub at publish time.


1. Prerequisites

  1. A PyPI account with two-factor authentication enabled.
@emrekgn
emrekgn / a-spring-cloud-config-server-application.yml
Last active July 19, 2024 18:32
Spring Cloud Config Server and Client example configuration
# application.yml file of the config server (Spring Cloud Config Server)
server:
port: 9999 # or whatever
spring:
application:
name: config-service
cloud:
config:
server:
git:
@emrekgn
emrekgn / latex-tr.md
Created November 30, 2018 08:28
LATEX Türkçe karakterler
  • \u{g} – ğ
  • \u{G} – Ğ
  • \c{c} – ç
  • \c{C} – Ç
  • \c{s} – ş
  • \c{S} – Ş
  • \”{u} – ü
  • \”{U} – Ü
  • \”{o} – ö
  • \”{O} – Ö
@emrekgn
emrekgn / collect-sysinfo.py
Last active March 4, 2025 13:35
Collect system information (BIOS, CPU, GPU, installed packages, motherboard and more) in a cross-platform manner!
#!/usr/bin/env python
"""
Print (and write to JSON file) system information in a cross-platform manner.
Output contains information about platform, BIOS, CPU, memory, disk, GPU, network, peripheral devices, installed
packages, motherboard and users.
This script heavily relies on psutil and some other bash/powershell commands. See requirements.txt for dependency list.
@emrekgn
emrekgn / isimler
Last active February 24, 2026 15:25
Türkçe İsim Listesi
JALE
ALİ
MAHMUT
MANSUR KÜRŞAD
GAMZE
MİRAÇ
YÜCEL
KUBİLAY
HAYATİ
BEDRİYE MÜGE