Skip to content

Instantly share code, notes, and snippets.

@RexYuan
RexYuan / spark-compare.md
Last active May 30, 2026 09:02
True-to-scale Size Chart of Every DGX Spark Clone

True-to-scale Size Chart of Every DGX Spark Clone

Weight(kg)
Model Width(mm) Height(mm) Length(mm)
@RexYuan
RexYuan / tinypng.sh
Created March 20, 2026 23:38
TinyPNG-like PNG compression pipeline using pngquant(lossy) followed by oxipng(lossless optimization).
#!/usr/bin/env bash
#
# tinypng.sh
#
# TinyPNG-like PNG compression pipeline using pngquant (lossy)
# followed by oxipng (lossless optimization).
#
# Notes: This script was vibe-coded but checked in-head by me.
#
# Strategy:
@RexYuan
RexYuan / to-dpi.zsh
Last active March 18, 2026 18:50
Upscale an image for print at a specified physical size and DPI using Real-ESRGAN for AI upscaling.
#!/usr/bin/env zsh
#
# to-dpi.zsh
#
# Upscale an image for print at a specified physical size and DPI
# using Real-ESRGAN for AI upscaling.
#
# Notes: This script was vibe-coded but checked in-head by me.
#
# Strategy:
@RexYuan
RexYuan / strix-compare.md
Last active May 26, 2026 16:27
True-to-scale dimension comparison chart of every AMD Strix Halo Al Max+ 395 MiniPC

  1. SIXUNITED XB35-H02/03-BQ case.
  2. SIXUNITED AXB35 motherboard.
  3. FEVM FAEX1 and Thermalright AI HydroNous R1 seem to share the same motherboard too.

Here are the exact dimensions placed horizontally measured in mm and volume in liters rounded to 2 decimals:

@RexYuan
RexYuan / desk.md
Last active June 7, 2026 14:35
A list of which standing desk companies use base from what companies
Base companies Desk companies
Jiecang Poppin, HON, Allsteel, AMQ, Enwork, Uplift, Haworth, Xybix, Hat Contract, Uncaged Ergonomics, Omnidesk, AITerminal, Fully(Herman Miller+Knoll), Funte, Desky
Kaidi LTJ Kantoormeubelen, Teknion, OFS, Friant, Varidesk, BTOD
Loctek Loctek, Flexispot(Loctek)
Timotion Backbone, Humanconnect(FLH), Motti(Timotion), Autonomous SmartDesk, Trendway, Symmetry, DEZCTOP, Steelcase
OMT-Veyhl / LogicData(Jiecang) Herman Miller, Haworth, Special T, iMovR, BTOD, DeskHaus
Linak Steelcase, Ergonofis, Ikea, Xdesk, Inwerk, Charcoal, iMovR, Buldesk, Workrite, UpDesk
Actiforce Steelcase
Conset Conset, Flexiwork
@RexYuan
RexYuan / zip.sh
Created June 28, 2024 12:08
將所有資料夾壓縮
for dir in ./*; do
if [ -d "$dir" ]; then
base=$(basename "$dir")
zip -r "../zip/$base.zip" "$dir"
fi
done
version: '3'
services:
lanraragi:
container_name: lanraragi
image: difegue/lanraragi
ports:
- "3000:3000"
volumes:
- [YOUR_CONTENT_DIRECTORY]:/home/koyomi/lanraragi/content
- [YOUR_DATABASE_DIRECTORY]:/home/koyomi/lanraragi/database
I am attesting that this GitHub handle RexYuan is linked to the Tezos account tz1UwybqudjE9U39DssSrHZ5cz6mZBymB7wy for tzprofiles
sig:edsigtjH3Up7SAqFqTdEgyWdz7A19dTWFo8ZxokNJ6HCUuJGZBBbExn9HPWZgC3Q4ooaUE1z6BDTBfVomMzRZWbUhQak9swZFvh
@RexYuan
RexYuan / affix.md
Last active December 23, 2025 23:42
Stockists