Skip to content

Instantly share code, notes, and snippets.

View subvind's full-sized avatar
🍳
supernova nomelets cooking in the kitchen

Travis Burandt subvind

🍳
supernova nomelets cooking in the kitchen
  • Austin, TX
View GitHub Profile
@subvind
subvind / castle-warfare.ts
Last active January 23, 2023 10:48
Castle Warfare
.
@subvind
subvind / military-warfare.ts
Last active December 22, 2022 03:52
Military Warfare
/** government */
let dollar = new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'USD',
});
const A = 730 * 1000000 // Raider
const B = 7 * 1000000 // Abrams
const C = 3 * 1000000000 // LA, Seawolf, Verginia
/** citizenship */
@subvind
subvind / theory.ts
Last active November 29, 2022 01:32
Same test as last time except the answers are different this time.
// The special theory of relativity implies that
// only particles with zero rest mass (i.e., photons)
// may travel at the speed of light, and that
// nothing may travel faster.
const nothing = 0
const speedOfLight = Infinity
function specialRelativity () {
return nothing >= speedOfLight
}