- Pre-usage:
sudo apt-get update && sudo apt-get upgrade -y- Add
ubuntuor the user used tosudogroup:
| ## xcode | |
| xcode-select --install | |
| ## Homebrew | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && \ | |
| brew update && \ | |
| brew tap caskroom/cask && \ | |
| brew install --cask iterm2 | |
| ### oh my zsh |
| /* ... -> SPREAD OPERATOR */ | |
| [ ...[ 1, 3 ], 3, 4 ] | |
| /* create array with concat of array and items, result: [ 1, 3, 3, 4 ] */ | |
| [ ...[ 1, 2 ], ...[ 3 ] ] | |
| /* create array with literal concat of two arrays, result: [ 1, 2, 3 ] */ | |
| [ ...[ 1 ] ] | |
| /* copy array, result: [ 1 ] */ |
| { | |
| "name": "btime-micro-service", | |
| "version": "1.0.0", | |
| "description": "Btime micro service", | |
| "engines": { | |
| "node": ">=8.10.0" | |
| }, | |
| "files": [ | |
| "srv", | |
| "src" |
| { | |
| "extends": [ | |
| "standard", | |
| "plugin:node/recommended", | |
| "plugin:promise/recommended", | |
| "plugin:import/errors", | |
| "plugin:import/warnings" | |
| ], | |
| "plugins": [ | |
| "standard" |
| root = true | |
| [*] | |
| end_of_line = lf | |
| insert_final_newline = true | |
| charset = utf-8 | |
| [*.js] | |
| indent_style = space | |
| indent_size = 2 |
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"| #!/bin/bash | |
| ############################################ | |
| # UTILITIES | |
| ############################################ | |
| # install restricted media support | |
| sudo apt-get install ubuntu-restricted-extras -y | |
| # install curl |