Skip to content

Instantly share code, notes, and snippets.

View AndriusFromLTU's full-sized avatar

Andrius Versockas AndriusFromLTU

View GitHub Profile
@trevin-creator
trevin-creator / two-node-exo-bootstrap.md
Created February 27, 2026 15:08
Qwen3.5-122B-A10B on 2× Mac Studio M4 Max via Exo + Thunderbolt 5 RDMA – Resilient Day-0 Bootstrap Guide

What This Is

A phase-gated bootstrap guide for running large models across two Apple Silicon nodes using EXO. Battle-tested on Mac Studio M4 Max (128 GB unified) pairs over Thunderbolt 5.

Reference performance (Qwen3.5-122B-A10B-4bit):

  • ~52 tok/s sustained at 512–1024 token range
  • Stable at concurrency=2 (p95 ~10.37s)
@kubukoz
kubukoz / .scalafmt.conf
Last active February 20, 2026 16:27
How to disable significant indentation in Scala
runner.dialect = scala3
runner.dialectOverride.allowSignificantIndentation = false
# allows `if x then y`
runner.dialectOverride.allowQuietSyntax = true
@japgolly
japgolly / upgrade.md
Last active April 26, 2022 02:55
Scala 2.13 migration notes

scalafix

addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.13")
import scalafix.sbt.ScalafixPlugin.autoImport.{scalafixDependencies, scalafixSemanticdb}

scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "2.1.4",
@squarism
squarism / iterm2.md
Last active March 11, 2026 09:02
An iTerm2 Cheatsheet

In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So + D does not mean hold shift. + Shift + D does of course.

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
@v0lkan
v0lkan / nginx.conf
Last active December 2, 2025 18:08
Configuring NGINX for Maximum Throughput Under High Concurrency
user web;
# One worker process per CPU core.
worker_processes 8;
# Also set
# /etc/security/limits.conf
# web soft nofile 65535
# web hard nofile 65535
# /etc/default/nginx