I hereby claim:
- I am tim-phillips on github.
- I am timphillips (https://keybase.io/timphillips) on keybase.
- I have a public key ASDM2xrS-uzauIms1_pXYIYOYJFi4xWJwfGz8HWxXOMVGgo
To claim this, I am signing this object:
git --no-pager diff --shortstat master |
find . -type f -name "*" -print0 | xargs -0 sed -i "s/can't/can/g" |
function removeNulls (obj) { | |
Object.keys(obj).forEach(key => { | |
if (obj[key] && typeof obj[key] === 'object') removeNulls(obj[key]) | |
else if (obj[key] == null) delete obj[key] | |
}) | |
} |
function convertDateToReadableString (date) { | |
if (!date) return | |
const d = new Date(date.replace('-', '/')) | |
return d.toLocaleDateString('en-US', { | |
year: 'numeric', | |
month: 'long', | |
day: 'numeric' | |
}) | |
} |
{ | |
"scripts": { | |
"inspect": "npx -n --inspect <command>" | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
var express = require('express'); | |
var proxy = require('http-proxy-middleware'); | |
var options = { | |
logLevel: 'debug', | |
target: 'https://api.airtable.com/v0/' + process.env.APP_ID, | |
changeOrigin: true, | |
headers: { | |
'Accept': 'application/json', | |
'Authorization': 'Bearer ' + process.env.API_KEY | |
}, |
function mapValues(obj, fn) { | |
return Object.keys(obj).reduce((result, key) => { | |
result[key] = fn(obj[key], key); | |
return result; | |
}, {}); | |
} | |
function pick(obj, fn) { | |
return Object.keys(obj).reduce((result, key) => { | |
if (fn(obj[key])) { |