Skip to content

Instantly share code, notes, and snippets.

View gnitnuj's full-sized avatar

Junting gnitnuj

  • Seattle
View GitHub Profile

Keybase proof

I hereby claim:

  • I am gnitnuj on github.
  • I am junting (https://keybase.io/junting) on keybase.
  • I have a public key ASBDM_ZtPoWRLvV56m1WN_2nwD4lbfEuX1VvWlDWsqw5Xgo

To claim this, I am signing this object:

@gnitnuj
gnitnuj / AccumulateFiles.js
Last active February 13, 2018 23:27
Module to file paths in a given directory
// this file exists just to name the gist, and because gist ordering is asciibetical, it's name starts with a capital letter.
@gnitnuj
gnitnuj / S3Upload.js
Last active June 18, 2021 17:10
module to upload files to s3
// this file exists just to name the gist, and because gist ordering is asciibetical, it's name starts with a capital letter.
@gnitnuj
gnitnuj / ContentType.js
Last active February 14, 2018 21:54
module to get content type from file extension
// this file exists just to name the gist, and because gist ordering is asciibetical, it's name starts with a capital letter.
@gnitnuj
gnitnuj / ApplicationProjectSlackWebhooks.js
Last active February 15, 2018 02:01
module to fire true[X] application team webhooks
// this file exists just to name the gist, and because gist ordering is asciibetical, it's name starts with a capital letter.
@gnitnuj
gnitnuj / GoifyPromise.js
Last active June 26, 2018 05:39
module to handle async/await error handling in a golang kinda way
// this file exists just to name the gist, and because gist ordering is asciibetical, it's name starts with a capital letter.
@gnitnuj
gnitnuj / Promisify.js
Created August 27, 2020 13:40
Polyfill for util.promisify. Converts NodeJS Style callbacks into promises
// this file exists just to name the gist, and because gist ordering is asciibetical, it's name starts with a capital letter.
// this file exists just to name the gist, and because gist ordering is asciibetical, it's name starts with a capital letter.
// this file exists just to name the gist, and because gist ordering is asciibetical, it's name starts with a capital letter.
@gnitnuj
gnitnuj / README.md
Created May 24, 2024 02:00
minimal p5.js polyfill

Minimal p5 polyfill

This is a very minimal bit of polyfill code for when you want to use some basic p5.js code you wrote, but not pay the performance cost associated with importing the whole kitchen sink.

It basically implements some of the sintactic sugar I use the most from p5.js but using the Canvas api, so that I have the p5 api but without all the magic I'm probably not using in this particular sketch.