Skip to content

Instantly share code, notes, and snippets.

@kirk-marple
kirk-marple / VerifyAuthyToken.cs
Created February 13, 2020 04:09
Verify Authy one-time token
private async Task<bool> VerifyAuthyTokenAsync(ILogger logger, IConfiguration configuration, string authyId, string token)
{
var apiKey = configuration.GetSection("AuthySettings")?["ApiKey"];
if (String.IsNullOrEmpty(apiKey))
throw new InvalidOperationException("Invalid Authy API key.");
using (var client = new HttpClient())
{
client.DefaultRequestHeaders.Add("X-Authy-API-Key", apiKey);
@kirk-marple
kirk-marple / gist:12c844ec9e436f4763c8eff788880bd1
Last active May 31, 2020 02:47
Terraform Event Grid Subscription failure
2020-05-31T02:42:09.9584016Z ##[section]Starting: terraform apply
2020-05-31T02:42:09.9605435Z ==============================================================================
2020-05-31T02:42:09.9606085Z Task : Terraform CLI
2020-05-31T02:42:09.9606609Z Description : Execute terraform cli commands
2020-05-31T02:42:09.9607137Z Version : 0.5.12
2020-05-31T02:42:09.9607584Z Author : Charles Zipp
2020-05-31T02:42:09.9608021Z Help :
2020-05-31T02:42:09.9608572Z ==============================================================================
2020-05-31T02:42:10.3669325Z [command]/opt/hostedtoolcache/terraform/0.12.26/x64/terraform version
2020-05-31T02:42:10.4850753Z Terraform v0.12.26
@kirk-marple
kirk-marple / mapscaping-transcript.txt
Created December 11, 2023 06:18
Transcript of Mapscaping podcast episode
[00:00:02] That day's data or that week's data, but once it starts to age out a little bit, it goes dark. And and that kinda sort of dark data concept is something that that is starting to be an industry term.
[00:00:13] Welcome to another episode of the Mapscaping podcast. My name is Daniel, and this is a podcast for the geospatial community. My guest on the show today is Kirk Marple. Kirk is the founder of Unstruct Data. And today on the podcast, we're talking about unstructured data, but we cover a few other sort of interesting concepts along the way. So Kirk is gonna introduce us to the idea of 1st, 2nd, and 3rd order metadata
[00:00:37] will touch briefly on edge computing and knowledge graphs. Just before we get started, I wanna say a big thank you to Lizzie, who who is one of the brand new supporters of this podcast on Patreon, and, of course, to all the other people that are supporting this podcast via Patreon. If that's something you might be interested in, you'll find a link to the Mapscaping Patreo