Skip to content

Instantly share code, notes, and snippets.

@jonasgrilleres
jonasgrilleres / kata-microservice.js
Created November 30, 2021 20:40
Arolla Jam Code Kata Microservices - 30/11/2021
class MessageBus {
constructor() {
this.listeners = [];
}
subscribe(listener) {
this.listeners.push(listener);
}
send(message) {
this.listeners.forEach(function(listener) {
listener.onMessage(message);
@mxactvtd
mxactvtd / TidalCyclesQuickReferenceStub.tidal
Last active August 15, 2024 14:40
TidalCycles Quick Reference compiled and partially rewritten documentation from various sources
---- TidalCycles QUICK REFERENCE ----
----------------------------------------------------------------
-- To use in your editor after or alongside your code for quick reference
-- Work in progress, mostly to be used as basis for further documnentation work, sorry for the errors and omissions
-- designed with atom - monokai one dark vivid as theme
-- https://gist.github.com/mxactvtd/bf3fb357a419c7f063b98dfd9a66cf78 - check for update, I keep updating this quite often atm
----------------------------------------------------------------
-- Some sources of Documentation --
-- https://tidalcycles.org/patterns.html
-- https://tidalcycles.org/functions.html