Skip to content

Instantly share code, notes, and snippets.

async Task Main()
{
// Initialize settings
var transformFileSettings = new TransformFileSettings { BlobPath = "some/path", BusinessUnitId = 1 };
var uploadToBlobSettings = new UploadToBlobSettings { ContainerName = "some-container" };
var firstTask = new TransformFile(transformFileSettings, Guid.Empty);
var secondTask = new UploadToBlob(uploadToBlobSettings, firstTask.TaskId);
var tasks = new List<IJobExecutionTask> { firstTask, secondTask };
@justinobney
justinobney / SketchSystems.spec
Created November 15, 2023 15:57
Integration Process
Integration Process
Initial Assessment
primary goals determined -> System Evaluation
System Evaluation
has customer portal -> Portal Assessment
no customer portal -> Feature Selection
Portal Assessment
Home
timeout -> Idle Loop
Idle Loop
activate -> Bot Selection
Bot Selection
select clean -> Clean
select guide -> Guide
select serve -> Serve
Clean
timeout -> Idle Loop
actionable*
STAGE -> staged
staged
SCHEDULE -> scheduled
SKIP -> skipped
scheduled
PROCESS -> processing
CANCEL -> cancelled
processing
SUCCESS -> processed
@justinobney
justinobney / machine.js
Last active May 30, 2021 14:36
Generated by XState Viz: https://xstate.js.org/viz
const fetchData = () =>
delay(
Math.floor(Math.random() * 100) % 2 === 0 ? "staged" : "scheduled",
1000
);
const actionableAccountMachine = Machine(
{
id: "root",
initial: "idle",
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
{
"cmd": "update",
"method": "regression",
"conditions": {
"AR": 1,
"KS": 1,
"WY": 1,
"SD": 0,
"CA": 0,
"NV": 1,

Gateway

  • Handle CardConnect 401's

Product Management

  • Basic product management

Payment Process

@justinobney
justinobney / README.md
Created January 30, 2020 01:14 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007