Skip to content

Instantly share code, notes, and snippets.

View nodinosaur's full-sized avatar

George.M nodinosaur

View GitHub Profile
@nodinosaur
nodinosaur / data.dart
Last active March 18, 2025 12:13
Simple Waveform Analyzer
This file has been truncated, but you can view the full file.
final waveform = <int>[
0xFFE9, 0xFF6D, 0x0031, 0xFF38, 0x0082, 0xFF2E, 0x00BB, 0xFF66,
0x00A9, 0xFFC0, 0x0066, 0x0017, 0x0010, 0x006D, 0xFFB6, 0x00B2,
0xFF90, 0x00D0, 0xFF95, 0x00CD, 0xFFA0, 0x00CD, 0xFFC0, 0x00F3,
0xFFDC, 0x0132, 0xFFEA, 0x0157, 0xFFF8, 0x013F, 0xFFF8, 0x00F2,
0x000E, 0x0095, 0x005C, 0x006F, 0x00B4, 0x007F, 0x00FE, 0x009F,
0x011F, 0x00B4, 0x00EA, 0x00AD, 0x0091, 0x00A4, 0x0039, 0x00A6,
0xFFF1, 0x00A5, 0xFFE5, 0x009A, 0xFFEE, 0x007E, 0xFFE9, 0x004C,
0xFFE9, 0x003B, 0xFFD8, 0x005D, 0xFFA3, 0x0099, 0xFF5E, 0x00D9,
0xFF02, 0x011C, 0xFECA, 0x0164, 0xFED1, 0x0198, 0xFEDE, 0x01A5,
@nodinosaur
nodinosaur / domain_model_1.dart
Created January 1, 2020 17:08
Recoded Sum Types example
// Root
import 'package:meta/meta.dart';
import 'package:sealed_unions/sealed_unions.dart';
/// ======================================================================
/// Everything above this line is a Doublet & Triplet Sealed Union thing
/// ======================================================================
enum UsState { florida }
enum CaProvince { ontario }