Skip to content

Instantly share code, notes, and snippets.

/**
* Returns a list of `{key: string, value: string}` pairs of environment
* variables pulled from a Netlify environment page such as:
* https://app.netlify.com/sites/discovery-beta/settings/deploys#environment
*/
function getNetlifyEnv() {
const envNode = document.querySelector('[aria-labelledby="card-title-Environment-variables"]')
const rows = envNode.querySelectorAll('.form-row')
const retList = []
for (const r of rows) {
@dbmikus
dbmikus / attestation.txt
Created April 5, 2022 19:30
Attestation
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 79
Hash: 83985d51 07b659b0 470d8e4a d2d677dd
8d6375a1 f85f38b3 8248e6d2 adf0fbdc
b1eef8ee dd79903b f77c6114 e7177ae4
022415cd 2ca04fe6 37c4ff05 fb046bd9

Keybase proof

I hereby claim:

  • I am dbmikus on github.
  • I am dbmikus (https://keybase.io/dbmikus) on keybase.
  • I have a public key whose fingerprint is 469F 1FE3 1700 D14F CAB8 FFB2 B368 3818 900D 01A8

To claim this, I am signing this object:

@dbmikus
dbmikus / gist:3035378
Created July 2, 2012 20:08
hg-diff3-merge
if test $# -ne 3 ; then
echo >&2 "usage: `basename $0` MYFILE OLDFILE YOURFILE"
exit 1
fi
# Keep a local copy of the filenames involved in the merge.
LOCAL="$1"
BASE="$2"
OTHER="$3"