Skip to content

Instantly share code, notes, and snippets.

View jrcd-HR's full-sized avatar

Justin Davis jrcd-HR

  • Baxter
View GitHub Profile
@jrcd-HR
jrcd-HR / upd2url.go
Last active December 14, 2023 19:12
Upgrade play.d2lang.org URLs generated before Dec 06
/* Upgrade old D2 playground URLs (<= Dec 06 2023) to new URLS (>= Dec 06 2023).
*
* usage: go run upd2url.go < file_of_old_urls > new_urls
*
* Timeline:
* 1. Nov 7 2023:
* d2 changed their URL encode and decode to avoid the use of a custom DEFLATE dictionary.
* https://github.com/terrastruct/d2/commit/5eead31c91fcc1f6c0ecaf28e3006758055efd8b
* 2. Dec 6 2023:
* play.d2lang.org upgraded its WASM compiled version of d2 that is run client-side.
@jrcd-HR
jrcd-HR / keybase.md
Last active December 7, 2021 15:47
Keybase Proof

Keybase proof

I hereby claim:

  • I am jrcd-hr on github.
  • I am jrcd_hillrom (https://keybase.io/jrcd_hillrom) on keybase.
  • I have a public key ASBgJQsJgcT-dspFuiHHlZ-IANI25JnQlgV8vETIOB-mCgo

To claim this, I am signing this object: