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.
| 1. How callbacks work!! | |
| 2. Closure. | |
| 3. Prototypes. | |
| ES6 Concepts | |
| Let and const | |
| classes and inheritance | |
| teplate literals | |
| string methods and number methods | |
| default params and spread operator | |
| set maps weakset weakmap |
| # alias to edit commit messages without using rebase interactive | |
| # example: git reword commithash message | |
| reword = "!f() {\n GIT_SEQUENCE_EDITOR=\"sed -i 1s/^pick/reword/\" GIT_EDITOR=\"printf \\\"%s\\n\\\" \\\"$2\\\" >\" git rebase -i \"$1^\";\n git push -f;\n}; f" | |
| # sync all your github forks from all your organizations | |
| gh org list --limit 1000 --json login | jq -r '.[].login' | xargs -r -n1 -P4 sh -c 'gh repo list "$1" --fork --limit 1000 --json nameWithOwner | jq -r ".[].nameWithOwner"' _ | xargs -r -n1 -P8 gh repo sync --force | |
| # sync all your github forks in an organization | |
| gh repo list YOUR_ORG_NAME --fork --limit 1000 --json nameWithOwner --jq '.[].nameWithOwner' | xargs -P 8 -I {} gh repo sync "{}" --force |
#Linux Cheat Sheet
##File Commands: