This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################ | |
# UTILITIES | |
############################################ | |
# install restricted media support | |
sudo apt-get install ubuntu-restricted-extras -y | |
# install curl |
- Generating new SSH
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
charset = utf-8 | |
[*.js] | |
indent_style = space | |
indent_size = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": [ | |
"standard", | |
"plugin:node/recommended", | |
"plugin:promise/recommended", | |
"plugin:import/errors", | |
"plugin:import/warnings" | |
], | |
"plugins": [ | |
"standard" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "btime-micro-service", | |
"version": "1.0.0", | |
"description": "Btime micro service", | |
"engines": { | |
"node": ">=8.10.0" | |
}, | |
"files": [ | |
"srv", | |
"src" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ... -> 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 ] */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 |