Skip to content

Instantly share code, notes, and snippets.

View nekoprog's full-sized avatar
:octocat:
I may be slow to respond.

Neko Prog nekoprog

:octocat:
I may be slow to respond.
View GitHub Profile
@nekoprog
nekoprog / llm-wiki.md
Created July 18, 2026 11:56 — 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.

@nekoprog
nekoprog / enterprise_token.rb
Created January 21, 2026 04:38 — forked from markasoftware/enterprise_token.rb
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################
@nekoprog
nekoprog / deno_fresh_prisma_orm_mssql_database.md
Last active May 20, 2025 03:39
Deno Fresh + Prisma ORM + MSSQL

Deno Fresh with Prisma ORM and MSSQL

  1. Add this line in deno.json
{
  "nodeModulesDir": "auto",
}
@nekoprog
nekoprog / git-cmd.txt
Last active November 19, 2023 13:31
Git common command
rm -rfv .git
git init -b main
git add .
git commit -m "First commit"
git remote add origin https://github.com/REPO.git
gh auth login
git push origin main
@nekoprog
nekoprog / scrcpy_webcam.markdown
Created October 17, 2023 05:08 — forked from cadadr/scrcpy_webcam.markdown
Use android phone as webcam using scrcpy, OpenCamera, and v4l2-loopback

Download Android SDK and put it under a known location. Get the appropriate commandlinetools package from this page. Then, extract it under ~/Android/.

mkdir -p ~/Android/Sdk
cd ~/Android
cp ~/Downloads/commandlinetools-linux-6858069_latest.zip .
unzip commandlinetools-linux-6858069_latest.zip
@nekoprog
nekoprog / Python-Kivy.txt
Last active January 28, 2023 12:53
Python Kivy KivyMD Buildozer
python.org
kivy.org
https://kivymd.readthedocs.io Material Design (Android style UI)
https://kivy-cupertino.readthedocs.io Cupertino (iOS style UI)
https://buildozer.readthedocs.io (APK compile)
logcat *:S python:D
.buildozer/android/platform/python-for-android/pythonforandroid/bootstraps/common/build/templates/gradle.tmpl.properties
Android API SDK NDK
https://developer.android.com/studio/releases/platforms
@nekoprog
nekoprog / lakka.txt
Last active November 25, 2022 13:51
LAKKA
Build Image:
git clone https://github.com/libretro/Lakka-LibreELEC
cd Lakka-LibreELEC
DISTRO=Lakka PROJECT=RPi DEVICE=RPi2 ARCH=arm make image
Upgrade Image:
cd Lakka-LibreELEC
git pull
rm -rf target
DISTRO=Lakka PROJECT=RPi DEVICE=RPi2 ARCH=arm make image
@nekoprog
nekoprog / k3s.txt
Created November 13, 2022 13:13
K3s + Rancher
sudo nano /etc/nginx/nginx.conf
load_module /usr/lib/nginx/modules/ngx_stream_module.so;
events {}
stream {
upstream k3s_servers {
server 192.168.0.10:6443;
server 192.168.0.11:6443;
@nekoprog
nekoprog / listen.txt
Created November 10, 2022 07:12
List listen port
sudo netstat -ltpn
@nekoprog
nekoprog / install-python3-node-npm-yarn.sh
Last active May 8, 2021 15:23
Install Python3 Node NPM and Yarn into Shared Web Hosting
#Prep
touch ~/.bashrc
echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc
ln -s ~/.bashrc -> ~/.bash_profile
ln -s ~/.bashrc -> ~/.profile
mkdir ~/.local
mkdir ~/.tmp
echo prefix = ~/.local >> ~/.npmrc
echo prefix = ~/.local >> ~/.yarnrc
. ~/.bashrc