Skip to content

Instantly share code, notes, and snippets.

View tresabhi's full-sized avatar
:bowtie:
Violently sleeping

TrèsAbhi tresabhi

:bowtie:
Violently sleeping
View GitHub Profile
Tier 5 Pz. IV G
gun_01
gun_02
gun_05
Tier 5 AT 2
gun_03
Tier 7 KV-13
gun_04
// want
import { Palette } from "generated/palette.slint";
import { HorizontalBox } from "std-widgets.slint";
export enum ButtonVariant {
Solid,
Outline
}
export component Button inherits Rectangle {
import { parse } from 'csv-parse/sync';
import { times } from 'lodash';
const raw = await Bun.file('temp/raw.csv').text();
const parsed = parse(raw) as [string, string, string][];
const count: Record<number, number> = {};
let discarded = 0;
times(50, (index) => (count[index + 1] = 0));
{
"##name": "Entity",
"components": {
"0000": {
"comp.typename": "LodComponent",
"lc.loddist": {
"distance0": 24,
"distance1": 42,
"distance2": 900,
"distance3": 1000