Skip to content

Instantly share code, notes, and snippets.

@geosp
geosp / thunderbolt-networking-guide.md
Created March 21, 2025 03:44
Thunderbolt Networking Setup on Linux

Thunderbolt Networking Setup on Linux

This guide documents the steps to enable and configure Thunderbolt networking on your Linux system (e.g., Ubuntu, Proxmox). It covers loading the necessary kernel modules, ensuring persistent interface naming, configuring a fixed IP address, and testing throughput with iperf3. Note that Thunderbolt 3/4 hardware advertises a raw bandwidth of 40 Gbps, but practical throughput is typically lower due to half‑duplex operation, protocol overhead, and system constraints.

Hardware Used in This Guide

This guide was developed and tested with the following hardware:

  • CPU: AMD Ryzen 9 PRO 6950H
    • 8 cores / 16 threads
  • 3.3 GHz base frequency / 4.94 GHz boost
@Artefact2
Artefact2 / README.md
Last active January 29, 2026 15:46
GGUF quantizations overview

Which GGUF is right for me? (Opinionated)

Good question! I am collecting human data on how quantization affects outputs. See here for more information: ggml-org/llama.cpp#5962

In the meantime, use the largest that fully fits in your GPU. If you can comfortably fit Q4_K_S, try using a model with more parameters.

llama.cpp feature matrix

See the wiki upstream: https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix

@lucataco
lucataco / ollama_fast_speech_text_speech.py
Last active November 27, 2025 16:53
speech to text to speech using Ollama
""" To use: install Ollama, clone OpenVoice, run this script in the OpenVoice directory
brew install portaudio
brew install git-lfs
git lfs install
git clone https://github.com/myshell-ai/OpenVoice
cd OpenVoice
git clone https://huggingface.co/myshell-ai/OpenVoice
cp -r OpenVoice/* .
@fenkint1
fenkint1 / pokemon_names.txt
Last active October 10, 2025 18:04
List of all Pokemon Names
Bulbasaur
Ivysaur
Venusaur
Charmander
Charmeleon
Charizard
Squirtle
Wartortle
Blastoise
Caterpie
@andrewssobral
andrewssobral / agx_xavier_tips-and-tricks.md
Last active January 22, 2026 16:18
Tips and Tricks for Jetson AGX Xavier
@pheebcodes
pheebcodes / guide.md
Last active March 29, 2022 13:17
Adding architecture to your M1 Mac terminal with starship

Adding the current architecture to your starship command prompt.

# ~/.config/starship.toml

format = """
$username\
$hostname\
$arch\
$shlvl\

Paul Miller's explanation of endomorphism:


secp256k1 is Koblitz curve (e.g. Short Weierstrass curve with a=0).

Koblitz curves allow using efficiently-computable GLV endomorphism ψ:

  1. GLV endomorphism ψ transforms a point: P = (x, y) ↦ ψ(P) = (β·x mod p, y)
  2. GLV scalar decomposition transforms a scalar: k ≡ k₁ + k₂·λ (mod n)
@foo4u
foo4u / docker-imagetool-inspect.out
Created January 8, 2020 19:34
Building Multi-Architecture Docker Images on ARM 64
$ docker buildx imagetools inspect foo4u/demo-mutliarch:2
Name: docker.io/foo4u/demo-mutliarch:2
MediaType: application/vnd.docker.distribution.manifest.list.v2+json
Digest: sha256:3b4e4135b92017e5214421543b813e83a77fcea759af8067c685b70a5d978497
Manifests:
Name: docker.io/foo4u/demo-mutliarch:2@sha256:cb54200a7c04dded134ca9e3e6a0e434c2fdf851fb3a7226941d0983ad5bfb88
MediaType: application/vnd.docker.distribution.manifest.v2+json
Platform: linux/amd64
@foo4u
foo4u / docker-build.out
Created January 8, 2020 19:23
Building Multi-Architecture Docker Images on ARM 64
$ docker buildx build --platform linux/amd64,linux/arm64 -t foo4u/demo-mutliarch:2 --push .
[+] Building 4.7s (9/9) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 31B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [linux/amd64 internal] load metadata for docker.io/library/alpine:latest
@foo4u
foo4u / create-builder.out
Created January 8, 2020 19:08
Building Multi-Architecture Docker Images on ARM 64
$ docker buildx create --name mbuilder
mbuilder
$ docker buildx use mbuilder
$ docker buildx inspect --bootstrap
Name: mbuilder
Driver: docker-container
Nodes: