Skip to content

Instantly share code, notes, and snippets.

View mattstrom's full-sized avatar

Matt Strom mattstrom

  • Evolv AI
  • Concord, CA
View GitHub Profile
@mattstrom
mattstrom / machine.js
Last active November 24, 2020 23:32
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@mattstrom
mattstrom / Convert-ToInsertQuery.ps1
Last active May 9, 2016 08:18
Converts an array of objects into a SQL insert statement.
<#
.SYNOPSIS
Converts an array of objects into a SQL insert statement.
.EXAMPLE
Import-Csv -Path language.csv -Delimiter `| -Header @("col1", "col2") | Convert-ToInsertQuery -TableName table1 -DefaultType varchar -DataTypes @{ col1 = "int" }
#>
function Convert-ToInsertQuery {
[CmdletBinding()]
param(
@mattstrom
mattstrom / openpgp.txt
Created March 20, 2016 18:50
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:da27b8f37d4082f39009c840e2a4888731efb4af]

Keybase proof

I hereby claim:

  • I am mattstrom on github.
  • I am mattstrom (https://keybase.io/mattstrom) on keybase.
  • I have a public key whose fingerprint is 6579 AAF0 5D01 2C6A 37EB D380 D5C0 D31D EE90 354A

To claim this, I am signing this object: