Skip to content

Instantly share code, notes, and snippets.

@igorpupkinable
igorpupkinable / README.md
Last active November 19, 2025 19:27
Find plywood sheet width for given mounting points

Configuration

  • STITCHES - mounting points in mm from edge to edge
  • PLYWOODSHEET_WIDTH - available plywood sheet width in mm. Standard sheet sizes are 1525x1525, 2440x1220, 2500x1250, 3000x1500, 3050x1525
  • MIN_STITCH_WIDTH - minimum width between adjacent mounting points in mm
  • MAX_TABLE_ROWS - maximum number of variants to display for each sheet width. See output example below.

Execution

$ node index.js
@igorpupkinable
igorpupkinable / fio-report-parser.js
Last active February 17, 2025 14:11
FIO (Flexible I/O Tester) JSON report parser
/*
Supported job types:
- read: sequential reads
- write: sequential writes
- randread: random reads
- randwrite: random writes
Unsupported job types:
- rw: sequential mixed reads and writes
- readwrite: same as above