Skip to content

Instantly share code, notes, and snippets.

@17twenty
17twenty / readme.md
Created September 6, 2015 21:00
Using systemd-networkd

For those of you who want to try out systemd-networkd, you can read on, and find out in this tutorial how to switch from NetworkManager to systemd-networkd on Linux.

Requirement systemd-networkd is available in systemd version 210 and higher. Check the version of your systemd before proceeding.

$ systemctl --version

Switch from Network Manager to Systemd-Networkd

It is relatively straightforward to switch from Network Manager to systemd-networkd (and vice versa).

@dori4n
dori4n / Office 2024 ISO Links at Microsoft.md
Created January 13, 2025 06:30
Office 2024 ISO Download Links at Microsoft
@nakamuraos
nakamuraos / reset-trial-navicat.sh
Last active September 26, 2026 17:25
Reset trial Navicat 15, Navicat 16, Navicat 17 on Linux
#!/bin/bash
set -euo pipefail
# Author: NakamuraOS <https://github.com/nakamuraos>
# Latest update: 03/19/2025
# Tested with Navicat 15.x, 16.x, and 17.x on Debian and Ubuntu.
BGRED="\e[1;97;41m"
ENDCOLOR="\e[0m"
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created September 26, 2026 17:06
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Sunday, September 27, 2026, 1:05:49 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2)
Loading Progress(ilyvion.LoadingProgress): ilyvion.LoadingProgress(0.14.0)
PurePatcher(Vortex.PurePatcher): PurePatcher.Annotations(1.8.0), PurePatcher(1.0.0)
Faster Game Loading - Continued(Taranchuk.FasterGameLoading): FasterGameLoading(1.0.0)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
@CrossGen-ai
CrossGen-ai / gist-hnsw-batch-shared-frontier-2026.md
Created September 26, 2026 17:06
ruvector 2026: Batched HNSW with Shared Candidate Frontier — Rust vector search, 71-97% fewer vector loads on correlated query batches (RAG, ColBERT/MaxSim, MMR), zero recall loss. HNSW, ANN, nearest neighbor.

ruvector 2026: Batched HNSW with Shared Candidate Frontier — High-Performance Rust Vector Search

Summary (≤150 chars): Rust HNSW backend that shares candidate vectors across correlated query batches — saves 71-97% vector loads, 1.24× faster, zero recall loss.

Introduction

If your Rust vector search workload is a RAG loop with multi-turn queries, an MMR / diverse-beam reranker, or a multi-vector retrieval (ColBERT / MaxSim / MuVera), you are running correlated query batches — and every mainstream HNSW library (FAISS, Milvus, Qdrant, Weaviate, Pinecone, LanceDB) treats those queries as independent, re-loading each candidate vector's cache lines Q times. This ruvector nightly research (2026-09-26, ADR-347) publishes a Rust HNSW search backend that shares distance computations across the batch: 71 – 97 % fewer vector loads and 1.24 × faster wall clock at Q = 16 on Apple M4 Max, with recall bit-for-bit identical to per-query search.

Keywords: rust vector search, HNSW, ANN, ruvector, batc

@forkyau
forkyau / hourly_rainfall_data-2026-09-27|00-45.csv
Created September 26, 2026 17:01
GIST created by python code
id station stationid value unit obstime date
0 流浮山 RF001 0 mm 2026-09-27T00:45:00+08:00 2026-09-27
1 湿地公园 RF002 0 mm 2026-09-27T00:45:00+08:00 2026-09-27
2 水边围 N12 0 mm 2026-09-27T00:45:00+08:00 2026-09-27
3 石岗 RF003 0 mm 2026-09-27T00:45:00+08:00 2026-09-27
4 大美督 RF004 0 mm 2026-09-27T00:45:00+08:00 2026-09-27
5 大埔墟 RF005 0 mm 2026-09-27T00:45:00+08:00 2026-09-27
6 北潭涌 RF006 0 mm 2026-09-27T00:45:00+08:00 2026-09-27
7 滘西洲 RF007 0 mm 2026-09-27T00:45:00+08:00 2026-09-27
8 西贡 N15 0 mm 2026-09-27T00:45:00+08:00 2026-09-27
@choco-bot
choco-bot / FilesSnapshot.xml
Created September 26, 2026 17:03
nexa-coffee v0.1.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\nexa-coffee\nexa-coffee-0.1.0-windows-x64.zip.txt" checksum="66AD980C6AEEA8A346EC3CB1B72AAB7E" />
<file path="C:\ProgramData\chocolatey\lib\nexa-coffee\nexa-coffee.nupkg" checksum="F1700985C21E631377F91085A36E807F" />
<file path="C:\ProgramData\chocolatey\lib\nexa-coffee\nexa-coffee.nuspec" checksum="2B92B962E76EAE90C8212B8D21B2356F" />
<file path="C:\ProgramData\chocolatey\lib\nexa-coffee\tools\chocolateybeforemodify.ps1" checksum="84AE4378D945164BBD935DE393C63609" />
<file path="C:\ProgramData\chocolatey\lib\nexa-coffee\tools\chocolateyinstall.ps1" checksum="968BE0AD278B40A164B2992062D1029D" />
<file path="C:\ProgramData\chocolatey\lib\nexa-coffee\tools\LICENSE" checksum="75DB5BAD2DE4E892C773302E910F1CF0" />
<file path="C:\ProgramData\chocolatey\lib\nexa-coffee\tools\ne
@inawrath
inawrath / L3250_Reset.py
Created February 23, 2024 21:33 — forked from Bloody-Badboy/L3250_Reset.py
EPSON L3250 Series Waste Ink Counter Reset Using SNMP Protocol (Remove Service Required)
import re
from easysnmp import Session
from pprint import pprint
from struct import pack, unpack
printer_ip = "10.0.0.222"
session = Session(hostname=printer_ip, community="public", version=1, timeout=1)
password = [74, 54]
@jinjier
jinjier / javdb-top250.md
Last active September 26, 2026 17:07
JavDB top 250 movies list. [Updated on 2026/01]

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.