One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
A Pen by Renato Francia Castillo on CodePen.
$ ssh [email protected]
$ mkdir test
$ cd test
| let arr = [[1,2,[3]], [[[4]]]]; | |
| let flatten = arr.reduce((acc, value) => acc.concat(value), []); | |
| while(flatten.some((item) => Array.isArray(item))){ | |
| console.log(flatten); | |
| flatten = flatten.reduce((acc, value) => acc.concat(value), []); | |
| } | |
| console.log(flatten) |
| { | |
| "parserOptions": { | |
| "ecmaVersion": 2018, | |
| "ecmaFeatures": { | |
| "jsx": true | |
| }, | |
| "sourceType": "module" | |
| }, | |
| "env": { |
| #!/bin/bash | |
| # If not running interactively, don't do anything. | |
| # This snippet helps to fix scp, sftp "Received message too long" issue.. | |
| [ -z "$PS1" ] && return | |
| # Source global definitions | |
| [ -f /etc/bashrc ] && . /etc/bashrc | |
| [ -f /etc/profile ] && . /etc/profile |
| #!/bin/bash | |
| # If not running interactively, don't do anything. | |
| # This snippet helps to fix scp, sftp "Received message too long" issue.. | |
| [ -z "$PS1" ] && return | |
| # Source global definitions | |
| [ -f /etc/bashrc ] && . /etc/bashrc | |
| [ -f /etc/profile ] && . /etc/profile |
| "NeoBundle Scripts----------------------------- | |
| if &compatible | |
| set nocompatible " Be iMproved | |
| endif | |
| " Required: | |
| set runtimepath+=/home/renato/.vim/bundle/neobundle.vim/ | |
| " Required: | |
| call neobundle#begin(expand('/home/renato/.vim/bundle')) |
| #! /bin/bash | |
| # ECHO COMMAND | |
| # echo Hello World! | |
| # VARIABLES | |
| # Uppercase by convention | |
| # Letters, numbers, underscores | |
| NAME="Bob" | |
| # echo "My name is $NAME" |