Skip to content

Instantly share code, notes, and snippets.

@impactmass
impactmass / inventory-data-flow.txt
Created June 27, 2019 19:36
sequence diagram for reaction inventory data flow
title Inventory Data Flow
Kafka Topic -> Shippable-Inventory-Plugin:
note over Shippable-Inventory-Plugin:
Consumer calls bulk-write mutation.
This function is not defined in "Inventory" plugin
end note
Shippable-Inventory-Plugin -> Simple-Inventory-Plugin: updateSimpleInventoryBulk()
// Prints a tower based on the height passed into the main function
// e.g height of 8 prints this:
// # #
// ## ##
// ### ###
// #### ####
// ##### #####
// ###### ######
// ####### #######
// ######## ########
/* Learning from https://rachelandrew.co.uk/ */
/* config stuff */
/* Coolors Exported Palette - coolors.co/694486-2b193d-dbdbdb-b0b5b3-040303 */
/* RGB */
footer {
padding: 10px;
background-color: #2b193d;
color: #fcf9f9;
font-size: 90%;
@impactmass
impactmass / docker-compose.yml
Created September 29, 2021 15:24
Quick run postgresql
version: "3"
services:
postgresql:
image: postgres
container_name: container_name
ports:
- "5432:5432"
environment:
- POSTGRES_USER=postgres_user