Skip to content

Instantly share code, notes, and snippets.

View seanpascoe's full-sized avatar

seanpascoe

  • Salt Lake City
View GitHub Profile
@seanpascoe
seanpascoe / jwtRS256.sh
Created January 7, 2021 17:07 — forked from ygotthilf/jwtRS256.sh
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub
@seanpascoe
seanpascoe / axios-vs-superagent-vs-got.js
Created December 23, 2020 16:23 — forked from ctbui/axios-vs-superagent-vs-got.js
Compare performance of Axios vs. SuperAgent when running under Node.js
const Benchmark = require('benchmark');
const axios = require('axios');
const got = require('got');
const superagent = require('superagent');
const suite = new Benchmark.Suite();
const targetUrl = 'http://httpbin.org/ip';
suite

Keybase proof

I hereby claim:

  • I am seanpascoe on github.
  • I am seanpascoe (https://keybase.io/seanpascoe) on keybase.
  • I have a public key ASCeJCpJG4kSlozM8kzqvOTis-Pwl7QdIfpK_w0JIYlRSgo

To claim this, I am signing this object: