Practical Incus reference, with a focus on macOS using Colima.
Incus manages system containers and virtual machines.
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.
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.
| #!/bin/bash | |
| # xrep by @armamini — colorful smart recursive search tool | |
| # ---------- Colors ---------- | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| YELLOW='\033[1;33m' | |
| BLUE='\033[0;34m' | |
| CYAN='\033[0;36m' |
این راهنما به شما کمک میکند تا بدون هزینه و سرور مجازی، یک کانفیگ شخصی با سرعت بالا و پینگ مناسب روی زیرساخت کلادفلر بسازید. (V2Ray over Websocket)
Preferred Installation
chmod +x idgen.sh && \
echo "alias idgen='$(pwd)/idgen.sh'" >> ~/.zshrc && \
source ~/.zshrcUsage
idgen| #!/usr/bin/env python3 | |
| import re | |
| from collections import OrderedDict | |
| def extract_credentials(line): | |
| pattern = r'([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}):(.+)$' | |
| match = re.search(pattern, line.strip()) | |
| if match: |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "net/http" | |
| "net/url" | |
| "os" | |
| "strings" | |
| "time" |
| #!/bin/bash | |
| # @armamini | |
| SESSION="microservices" | |
| function start_services() { | |
| echo -e "⌛️ Starting all microservices in tmux session '$SESSION'...\n" | |
| docker compose -f ./compose.yml up -d > /dev/null 2>&1 | |
| echo "✅ Docker compose services started." |
| alias tmp='tmpfile=$(mktemp ~/Temp/tempfile.XXXXXX) && { echo "# Temporary file: $tmpfile"; echo ""; } > "$tmpfile" && vi "$tmpfile"' | |
| alias ltmp='[ -f "$tmpfile" ] && vi "$tmpfile" || echo "No temporary file found."' |
| Host Address | |
| https://pypi.tuna.tsinghua.edu.cn https://pypi.tuna.tsinghua.edu.cn/simple/ | |
| https://mirrors.aliyun.com https://mirrors.aliyun.com/pypi/simple/ | |
| https://pypi.mirrors.ustc.edu.cn https://pypi.mirrors.ustc.edu.cn/simple/ | |
| https://repo.huaweicloud.com https://repo.huaweicloud.com/repository/pypi/simple/ | |
| http://pypi.douban.com http://pypi.douban.com/simple/ | |
| http://pypi.sdutlinux.org http://pypi.sdutlinux.org/ | |
| http://pypi.hustunique.com http://pypi.hustunique.com/ |