Skip to content

Instantly share code, notes, and snippets.

View seanlindo's full-sized avatar

Sean Lindo seanlindo

  • @EngageTalent
  • Charleston, SC
View GitHub Profile
@seanlindo
seanlindo / example_io_manager.py
Created August 4, 2022 23:13
Dagster Example
from dagster import IOManager, io_manager
class MyIOManager(IOManager):
def __init__(self):
self.storage_dict = {}
def handle_output(self, context, obj):
self.storage_dict[(context.step_key, context.name)] = obj
@seanlindo
seanlindo / cryptojs-word-array.js
Created February 7, 2019 17:35
Converting the object representation of a CryptoJS MD5 operation to a string
import CryptoJS from 'crypto-js'
const existingWordArray = { "words":[593801488,323531804,-1673786026,-853885382], "sigBytes":16 }
const md5Hash = CryptoJS.lib.WordArray.create(existingWordArray.words, existingWordArray.sigBytes).toString()