Skip to content

Instantly share code, notes, and snippets.

@rjeczalik
rjeczalik / how-to-find-forks-of-deleted-repo.md
Created August 26, 2019 16:39
How to find forks of a deleted repository?

From Zero to OpenClaw on Proxmox LXC (Debian 13): A Real-World Build Log

I wanted a self-hosted OpenClaw deployment on Proxmox, reachable on my LAN, with:

  • Gemini API key support
  • Gemini CLI OAuth (Google AI Pro)
  • Telegram bot integration
  • Brave Search API integration
  • Browser tool support in an LXC
  • OpenRouter free model option (without Gemini CLI install)
@krisbolton
krisbolton / fix-USB-showing-up-as-two-partitions.md
Last active May 26, 2026 22:18
How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows

How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows:

  1. Hold the Windows key and press X, select PowerShell (Admin), select Yes to the pop-up. You can also use Command Prompt.
  2. In the Powershell interface type diskpart to enter the disk partition tool.
  3. Type list disk to see all disks listed.
  4. Select the USB drive by typing select disk [NUMBER]. Be careful to select the correct drive.
  5. Type clean. An error will occur if you have the drive folder open, close the window and repeat the command if this happens.
  6. Type create partition primary.
  7. Type format fs=ntfs quick to format the drive (you can also choose to set fs=fat32).
  8. Type active.

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.

@YuriyGuts
YuriyGuts / link-ollama-models-to-lm-studio.py
Last active May 26, 2026 22:13
Expose Ollama models to LM Studio by symlinking its model files. Just run `python3 link-ollama-models-to-lm-studio.py`. On Windows, run it as admin.
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active May 26, 2026 22:13
Conventional Commits Cheatsheet
@Mansitoh
Mansitoh / registry_data.json
Created September 22, 2024 21:05
Minecraft 1.21 Registry Data (Json)
{
"minecraft:banner_pattern": {
"minecraft:base": {
"asset_id": "minecraft:base",
"translation_key": "block.minecraft.banner.base"
},
"minecraft:border": {
"asset_id": "minecraft:border",
"translation_key": "block.minecraft.banner.border"
},
@devhammed
devhammed / NotifyOfNewLike.php
Last active May 26, 2026 21:54
Laravel Aggregated Notification Implementation (https://x.com/akinkunmi/status/2058950199163207690?s=20)
<?php
namespace App\Jobs;
use App\Models\Post;
use App\Models\Like;
use App\Models\User;
use App\Notifications\AggregatedLikeNotification;
use App\Notifications\SingleLikeNotification;
use Illuminate\Contracts\Queue\ShouldQueue;
@Kartones
Kartones / postgres-cheatsheet.md
Last active May 26, 2026 21:47
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)