Skip to content

Instantly share code, notes, and snippets.

View 10thfloor's full-sized avatar
💫

Mackenzie 10thfloor

💫
View GitHub Profile

Keybase proof

I hereby claim:

  • I am 10thfloor on github.
  • I am mknze (https://keybase.io/mknze) on keybase.
  • I have a public key ASD_HxMMa44bVF_OVp0lDIHbMIvoddEw3MN_rxMfVGMFAgo

To claim this, I am signing this object:


archived: false draft: false title: Hello World description: A page about saying hello. date: 2022-11-02 meta: keywords: - article

  • Flow
import * as fcl from "@onflow/fcl"
import { KeyManagementServiceClient } from "@google-cloud/kms"
import * as crypto from "crypto"
import { fromBER, Sequence, Integer } from "asn1js"
var crc32c = require("fast-crc32c")
/////////////////////////////////////////////////////////////////////////////////////////////////
// This gist shows a quick example of using a Google Cloud managed key to sign a Flow transaction
// This would be called in a pattern similar to the below:
//
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.arcteryx.com/ca/en/</loc>
</url>
<url>
<loc>https://www.arcteryx.com/ca/en/shop/back-in-stock/womens/</loc>
</url>
<url>
<loc>https://www.arcteryx.com/ca/en/shop/back-in-stock/mens/</loc>
@10thfloor
10thfloor / machine.js
Created March 20, 2023 16:42
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions