Skip to content

Instantly share code, notes, and snippets.

View tarasn's full-sized avatar
🎯
Focusing

Taras Naumtsev tarasn

🎯
Focusing
View GitHub Profile
@tarasn
tarasn / llm-wiki.md
Created April 26, 2026 06:43 — 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.

@tarasn
tarasn / AGENT.𝗺𝗱
Created February 27, 2026 07:32 — forked from CodeLeom/AGENT.𝗺𝗱
Best practices and workflows to use with an AI agent on any project
## Workflow Orchestration
### 1. Plan Mode Default
- Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
- If something goes sideways, STOP and re-plan immediately
- Don't keep pushing.
- Use plan mode for verification steps, not just building
- Write detailed specs upfront to reduce ambiguity
### 2. Subagent Strategy
@tarasn
tarasn / Pine_Script_5_Mini_Reference.md
Created October 19, 2023 21:14 — forked from kaigouthro/Pine_Script_5_Mini_Reference.md
A minimal reference to pine script v5

Pine Mini-Reference for more information

Pine Script™ Operators

The following operators are available.

Operator Description
+ Adds two operands
@tarasn
tarasn / vim-cheatsheet.md
Created January 23, 2022 12:25 — forked from glnds/vim-cheatsheet.md
Vim Cheatsheet

Vim Cheatsheet

vim {filename}
General
:e {filename} edit a file
:q quit
:q! quit without writing
:wa write all changed files (save all changes), and keep working
@tarasn
tarasn / less-cheatsheet.md
Created January 23, 2022 12:25 — forked from glnds/less-cheatsheet.md
Less Cheatsheet

Less Cheatsheet

less {filename}
Navigation
SPACE forward one window
b backward one window
d forward half window
@tarasn
tarasn / git-all-commands.sh
Created October 8, 2019 20:33
99% of the Git commands you'll need at work, demonstrated in a single script (bitbucket.org)
#!/bin/bash
##########
# contents
##########
# contents
# notes
# script setup
# git config files
@tarasn
tarasn / flash-internet.cmd
Created April 5, 2019 19:02
windows dns flash cmd
ipconfig /release
ipconfig /all
ipconfig /flushdns
ipconfig /renew
netsh int ip set dns
netsh winsock reset
@tarasn
tarasn / NpocoSqlite.cs
Created August 2, 2017 21:47
NPoco with sqlite using mapping by convention
using System;
using System.Data.SQLite;
using NPoco;
using NPoco.FluentMappings;
namespace NpocoSqlite
{
/*
CREATE TABLE [TestMe](
[MySuperID] INTEGER PRIMARY KEY NOT NULL,
@tarasn
tarasn / ubuntu14.04-command-line-install-android-sdk
Created September 14, 2016 19:55 — forked from wenzhixin/ubuntu14.04-command-line-install-android-sdk
Ubuntu 14.04 command line install android sdk
# install openjdk
sudo apt-get install openjdk-7-jdk
# download android sdk
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
tar -xvf android-sdk_r24.2-linux.tgz
cd android-sdk-linux/tools
# install all sdk packages
@tarasn
tarasn / EventBroker.cs
Created March 21, 2016 17:48
Simple event broker that can be easily to be used in an IOC (using auto registration and handling more than one message by the same handler)
using System;
using System.Collections.Generic;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
namespace ConsoleApplication6
{
public class Message
{
}