This file contains 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
server { | |
listen 80; | |
server_name app.mydomain.com; | |
root /srv/app-name; | |
index index.html; | |
# Other config you desire (TLS, logging, etc)... | |
location / { | |
try_files $uri /index.html; | |
} | |
} |
This file contains 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
# install dev | |
babel-plugin-module-resolver | |
# create file .babelrc.js | |
const plugins = [ | |
[ | |
require.resolve('babel-plugin-module-resolver'), | |
{ | |
root: ["./src/"] | |
} |
This file contains 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
UTC 2019-12-11T11:58:53Z | |
ISO-8601 2019-12-11T11:58:53+0000 | |
RFC 2822 Wed, 11 Dec 2019 11:58:53 +0000 | |
RFC 850 Wednesday, 11-Dec-19 11:58:53 UTC | |
RFC 1036 Wed, 11 Dec 19 11:58:53 +0000 | |
RFC 1123 Wed, 11 Dec 2019 11:58:53 +0000 | |
RFC 822 Wed, 11 Dec 19 11:58:53 +0000 | |
RFC 3339 2019-12-11T11:58:53+00:00 | |
ATOM 2019-12-11T11:58:53+00:00 | |
COOKIE Wednesday, 11-Dec-2019 11:58:53 UTC |
This file contains 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
1. Iterate | |
1.1 for..of cycle - You can stop iterating at any time using a break statement. | |
1.2 for cycle - You can stop iterating at any time using a break statement. | |
1.3 array.forEach() method - You cannot break array.forEach() iterating. | |
2. Map | |
2.1 array.map() method - array.map() creates a new mapped array, without mutating the original one. | |
2.2 Array.from() function - Array.from() creates a new mapped array, without mutating the original one. Array.from() fits better to map from an array-like object. | |
3. Reduce |
This file contains 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
GIT: | |
git config --global http.postBuffer 524288000 | |
git fetch --unshallow | |
On Linux | |
Execute the following in the command line before executing the Git command: | |
export GIT_TRACE_PACKET=1 | |
export GIT_TRACE=1 | |
export GIT_CURL_VERBOSE=1 |
This file contains 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
1 . cd c:/program files/docker/docker | |
.\dockercli -Version | |
TO check the CLI vrsion | |
2. docker image ls - List out the images from docker host | |
3. docker container ls - list out the active container | |
4. docker system info | |
5. docker-compose --version | |
6. docker-machine --version | |
7. notary --version | |
8. docker container run -it ubuntu:latest /bin/bash |
This file contains 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
{"lastUpload":"2020-04-26T04:34:09.681Z","extensionVersion":"v3.4.3"} |
This file contains 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
- Install react app | |
npx create-react-app app | |
- Package core: | |
@fullcalendar/react @fullcalendar/core @fullcalendar/daygrid | |
animate.css | |
autonumeric | |
availity-reactstrap-validation | |
axios | |
bootstrap |
This file contains 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
# Vagrant | |
--------------------------------------------------------------- | |
# fix error share folder | |
vagrant plugin install vagrant-vbguest | |
# Link box base centos 7 no soft | |
https://vagrantcloud.com/centos/boxes/7/versions/1902.01/providers/virtualbox.box | |
# export box file | |
vagrant package --output enqtran_vm_centos_7 |
This file contains 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
1 - Flex | |
2 - Absolute | |
3 - Transform | |
4 - Background | |
5 - SVG |