Skip to content

Instantly share code, notes, and snippets.

View nicklaros's full-sized avatar

Nick Laros nicklaros

View GitHub Profile

This document describes the orchestration of a multi-step workflow highlighting both the current RabbitMQ-based implementation and the desired simplification.

Sample Use Case: Signing an Application Agreement Document

The workflow for signing an Application Agreement Document involves the following sequential steps:

  1. Customer Signature Initiation

Call the Signing Service to request the customer’s signature on the agreement document (asynchronous).

@nicklaros
nicklaros / test-runner.go
Created October 11, 2025 05:17
Go Test Runner
package test
import (
"context"
"testing"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
@nicklaros
nicklaros / test1-max-profit.js
Created December 14, 2019 04:25
Test 1 - Max Profit
const readline = require('readline');
let firstLine = true;
let lineInputCount = 0;
let n;
let heightLimit;
let restrictionCount;
const restrictions = [];