Skip to content

Instantly share code, notes, and snippets.

View invakid404's full-sized avatar
💤

Tsvetomir Bonev invakid404

💤
View GitHub Profile
#include <cassert>
#include <iostream>
#include <vector>
template <class T>
using vec = std::vector<T>;
template <class T>
using mat = vec<vec<T>>;
@invakid404
invakid404 / spinners.ts
Created March 29, 2023 11:18
Mulitiple spinners example implementation
export enum SpinnerStatus {
NotStarted,
Running,
Done,
}
export type Spinner = {
text: string;
status: SpinnerStatus;
runner: () => Promise<void>;
/*
* ============================================================================
*
* Filename: day6.cpp
*
* Description: Day 6 of Advent of Code solution
*
* Version: 1.0
* Created: 12/7/2019 12:30:12 AM
* Revision: none
/*
* ===========================================================================
*
* Filename: day5.cpp
*
* Description: Day 5 of Advent of Code solution
*
* Version: 1.0
* Created: 12/5/2019 6:41:38 PM
* Revision: none
/*
* ============================================================================
*
* Filename: day4.cpp
*
* Description: Day 4 of Advent of Code solution
*
* Version: 1.0
* Created: 12/4/2019 7:23:58 PM
* Revision: none
/*
* ===========================================================================
*
* Filename: day3.cpp
*
* Description: Day 3 of Advent of Code solution
*
* Version: 1.0
* Created: 12/3/2019 5:04:05 PM
* Revision: none
/*
* =====================================================================================
*
* Filename: day2.cpp
*
* Description: Day 2 of Advent of Code solution
*
* Version: 1.0
* Created: 12/2/2019 6:20:07 PM
* Revision: none
/*
* =====================================================================================
*
* Filename: day2.cpp
*
* Description: Day 2 of Advent of Code solution
*
* Version: 1.0
* Created: 12/2/2019 6:20:07 PM
* Revision: none