Skip to content

Instantly share code, notes, and snippets.

@RexYuan
RexYuan / strix-compare.md
Last active October 1, 2025 14:25
True-to-scale dimension comparison chart of every AMD Strix Halo Al Max+ 395 MiniPC
strix-compare
  1. M4 Mac Mini and Dell Optiplex(Project TinyMiniMicro) for scale reference.
  2. Beelink's dimension excludes the rubber feet so I put the rubber feet under the ruler.
  3. Bosgame, Peladn, and XPlus use the exact same case just with different branding.
  4. NIMO, Linglong, Colorful, and LCFC use the same SIXUNITED stock case.
  5. GMKtec, FEVM, Bosgame, Peladn, XPlus, NIMO, Linglong, Colorful, and LCFC all use same SIXUNITED AXB35 motherboard.

Here are the exact dimensions placed horizontally measured in mm:

@RexYuan
RexYuan / desk.md
Last active November 4, 2025 01:02
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
#include <stdio.h>
int prize(int specialPrizeNumbers[3], int firstPrizeNumbers[3], int myNumber) {
int n[3] = {0, 0, 0}; //Number of digits same as the number in every set of firstPrizeNumber in reverse order
int i;
int dollar = 0; //The prize for this iteration
int temp[8]; //Argument of a function, if it's an array, unlike a variable, it will change its value because
//it's linked to the address of the array itsel.
for(i=0; i<8; i++){
temp[i] = firstPrizeNumbers[i];