Skip to content

Instantly share code, notes, and snippets.

View wildiney's full-sized avatar
🏠
Working from home

Wildiney Di Masi wildiney

🏠
Working from home
View GitHub Profile
@wildiney
wildiney / llm-wiki.md
Last active April 6, 2026 11:07 — 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.

@wildiney
wildiney / sandbox.wsb
Created October 15, 2025 22:34
Fix blank screen on Edge Browser when windows sandbox starts
<Configuration>
<VGpu>Off</VGpu>
<Networking>Enable</Networking>
<MappedFolders>
</MappedFolders>
<PrinterRedirection>Disable</PrinterRedirection>
<VideoInput>Disable</VideoInput>
<LogonCommand>
<Command>cmd /c reg add "HKCU\Software\Policies\Microsoft\Edge" /v HardwareAccelerationModeEnabled /t REG_DWORD /d 0 /f &amp; start msedge --use-angle=swiftshader --disable-gpu-driver-bug-workarounds</Command>
</LogonCommand>
@wildiney
wildiney / poetry-add-torch.sh
Created January 1, 2025 20:39
Poetry add Torch
poetry source add --priority=explicit pytorch-gpu https://download.pytorch.org/whl/cu118
poetry add --source pytorch-gpu torch torchvision torchaudio
pre {
background-color: #f6f8fa;
padding: 10px;
border-radius: 5px;
overflow: auto;
}
.string {
color: darkgray;
}
.number {
@wildiney
wildiney / gradle.build.kts
Last active December 8, 2024 19:42
Configs for Navigation
plugins{
alias(libs.plugins.jetbrainsKotlinSerialization)
}
dependencies{
implementation(libs.androidx.navigation.compose)
implementation(libs.kotlinx.serialization.json)
}
@wildiney
wildiney / EmojisTable.md
Created November 26, 2024 17:37 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@wildiney
wildiney / EslintRecipe.md
Last active April 20, 2024 16:48 — forked from felipefontoura/Next.js Recipe.md
ESLint Recipe - React, Next and Node.js

Eslint

React / Next.js

npm i prettier eslint eslint-config-prettier eslint-config-standard eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-tailwindcss @typescript-eslint/eslint-plugin @typescript-eslint/parser -D

.eslintrc.js:

@wildiney
wildiney / powershell.txt
Created April 19, 2024 19:47 — forked from aleduca/powershell.txt
Powershell - oh my posh
- Baixar o powershell: https://learn.microsoft.com/pt-br/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#winget
- NerdFont: https://www.nerdfonts.com/font-downloads
- Oh My Posh: https://ohmyposh.dev/
- Criar arquivo de config: .$PROFILE ou code $PROFILE
- Instalar PSReadline: Install-Module PSReadLine -AllowPrerelease -Force
- Instalar icones: Import-Module -Name Terminal-Icons
- Apelido para comandos:
function executeArtisanCli {
php artisan $args
}
@wildiney
wildiney / settings.json
Last active February 26, 2024 12:46
VSCode configs to sticky folders and code content
{
editor.stickyScroll.enabled,
workbench.tree.enableStickyScroll
}
@wildiney
wildiney / handleInputChange.tsx
Created October 11, 2023 13:44
A snippet to deal with the onChange in react forms
const handleInputChange = (e:React.ChangeEvent<HTMLInputElement | HTMLSelectElement>)=>{
const {name, value} = e.target
setState((prevState)=>{
...prevState,
[name]:value
})
}