Skip to content

Instantly share code, notes, and snippets.

@psytrxops
psytrxops / node-js-installation.txt
Created June 2, 2026 05:20 — forked from sefinek/node-js-installation.txt
Node.js v24 installation commands for Ubuntu/Debian.
sudo apt update && \
sudo apt install -y curl && \
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && \
sudo apt install -y nodejs

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@psytrxops
psytrxops / QdrantVectorPrevNextNodePostprocessor.py
Last active July 19, 2024 21:59 — forked from shawonashraf/prevnext.py
PrevNextNodePostprocessor tailored to QdrantVectorStore for TextNode relationships
from typing import Dict, List, Optional
from llama_index.core.schema import NodeRelationship, NodeWithScore, QueryBundle
from llama_index.core.bridge.pydantic import Field, validator
from llama_index.core.postprocessor.types import BaseNodePostprocessor
from llama_index.vector_stores.qdrant import QdrantVectorStore
def qdrant_vector_store_get_forward_nodes(
node_with_score: NodeWithScore, num_nodes: int, vector_store: QdrantVectorStore
) -> Dict[str, NodeWithScore]: