Skip to content

Instantly share code, notes, and snippets.

View slewsys's full-sized avatar

Andrew L. Moore slewsys

  • Revolution Robotics, Inc.
  • Atlanta, GA
View GitHub Profile
@slewsys
slewsys / trixie-debian.sources.md
Created October 31, 2025 16:10
Debian 13 (trixie) deb822 /etc/apt/sources.list.d/debian.sources

Debian 13 (trixie) deb822 /etc/apt/sources.list.d/debian.sources

# Add `deb-src' after `deb' to make available package sources.
Types: deb
URIs: http://ftp.debian.org/debian
# Suites
# - `trixie' should always be included for Debian 13 packages.
# - `trixie-updates' should always be included for Debian 13 package updates.
# - `trixie-proposed-updates' provides packages intended for the next point release (other than security fixes).
@slewsys
slewsys / benchmark.md
Last active September 2, 2026 14:00
llama.cpp benchmarks on internal and external RTX 3090s.

GIGABYTE AORUS RTX 3090 Gaming Box w/ Thunderbolt 3 (PCIe 3.0 x4)

The following benchmark is run on an HP Z8 G4 with dual Xeon Gold 6230 CPUs, 384 GB DDR4 2666 MHz DIMMs and AORUS RTX 3090 eGPU connected to an HP Thunderbolt 3 card.

env CUDA_VISIBLE_DEVICES=0 llama-bench                \
    --model "${LLAMA_CACHE}/gpt-oss-120b-mxfp4.gguf"  \
 --threads 1 \
@slewsys
slewsys / Dell Notebook.md
Last active October 31, 2025 16:31
Dual Boot GNU/Linux / MS Windows on Dell Notebook

Dual boot Windows/GNU-Linux on Dell Inspiron 14 Plus

The instructions below for restoring Windows are specific to the Dell Inspiron 14 Plus. Once Windows is installed, the instructions should be system independent.

Install MS Windows

Per Mickey Petersen's article How to Get Started with Tree-Sitter, to compile Emacs tree-sitter support for a given language, use:

M-x treesit-install-language-grammar RET LANGUAGE RET

where LANGUAGE is one of the languages in treesit-language-source-alist below.

While the function treesit-install-language-grammar works well in most cases, two exceptions are the dockerfile and perl libraries. In