Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
| # install homebrew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # install cscreen | |
| brew cask install cscreen | |
| # list displays | |
| cscreen -l | |
| # find your external screen in the list and write the number (not the ID) down somewhere | |
| # in the following instructions, use that number instead of <SCREEN> |
| git rm --cached -r <dir> |
| # 1. Rebase to the commit you want to change (~1 means the first ancestor of the specified commit) | |
| git rebase -i <hash>~1 | |
| # Can also do this | |
| git rebase -i HEAD~4 # where HEAD~4 = last 3 commits | |
| # 2. Change pick to reword of the commit you want to change then save and quit | |
| # 3. Change the commit message in the editor and save |
| git branch -a |
| git reset --soft HEAD^ |