- Clone the array given below
person
into a new varibale namedclonedPerson
let person = [
{
input: { name: 'Ryan' },
output: { name: 'Ryan' },
},
{
input: { name: { first: 'Ryan', last: 'Haskell-Glatz' } },
/** | |
* Password validation RegEx for JavaScript | |
* | |
* Passwords must be | |
* - At least 8 characters long, max length anything | |
* - Include at least 1 lowercase letter | |
* - 1 capital letter | |
* - 1 number | |
* - 1 special character => !@#$%^&* | |
* |
export PATH=$HOME/.bin:/usr/local/bin:$PATH | |
export ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="robbyrussell" | |
plugins=( | |
dotenv | |
git | |
urltools | |
) | |
source $ZSH/oh-my-zsh.sh |
person
into a new varibale named clonedPerson
let person = [
{
input: { name: 'Ryan' },
output: { name: 'Ryan' },
},
{
input: { name: { first: 'Ryan', last: 'Haskell-Glatz' } },
This gist would offer a step-by-step guide of some sort for quickly setting
up a "serverless" API using expressjs, and Vercel's Now platform for local
development with now dev
and eventual prod deployment now --prod
If you haven't already, install now's cli tool globally on your development environment:
/* ******************************************************************************************* | |
* THE UPDATED VERSION IS AVAILABLE AT | |
* https://github.com/LeCoupa/awesome-cheatsheets | |
* ******************************************************************************************* */ | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html |