Skip to content

Instantly share code, notes, and snippets.

View nprail's full-sized avatar

Noah Prail nprail

View GitHub Profile
@nprail
nprail / auth.js
Last active June 5, 2020 12:22
Super basic authentication example
const users = [
{
username: 'foo',
password: 'bar'
}
]
const authenticate = credentials => {
if (!credentials || !credentials.username || !credentials.password) {
// credentials were not passed in
@nprail
nprail / keybase.md
Created February 10, 2017 14:49
keybase.md

Keybase proof

I hereby claim:

  • I am nprail on github.
  • I am nprail (https://keybase.io/nprail) on keybase.
  • I have a public key ASBiS6gykI2AScC51nid6Wa-IJ00_jVUdE_mDsY-lX5fpAo

To claim this, I am signing this object: