Skip to content

Instantly share code, notes, and snippets.

View keriwarr's full-sized avatar

Keri Warr keriwarr

View GitHub Profile
alimaimiamita
@keriwarr
keriwarr / 0_MORGAN-WEI_IPLG_ROCKET_MARK_152_MANUAL.MD
Last active October 28, 2022 19:50
Morgan-Wei IPLG Simulation Code (https://keri.warr.ca/rockets/) [do not remove: rockets-gist]

Welcome to your computer terminal connected to the network of Morgan-Wei Interplanetary Logistics Group. Please see your submissions for training below. To resume training, visit https://keri.warr.ca/rockets/

import * as R from "ramda";
import apply from "ramda/es/apply";
const INITIAL_INVENTORY = 270;
const BASE_CUSTOMER_DEMAND = 0.2;
const BASE_DESIRED_INVENTORY_FACTOR = 10;
type State = {
sales: number;
deliveries: number;
@keriwarr
keriwarr / How-to-use-splitwise-api-from-node.md
Last active November 9, 2017 04:31
Using the Splitwise API from Node
0x31BfAec6547956eD1d7234cB628F347067C84bcA