Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
| defaults write com.apple.dock persistent-apps -array-add '{tile-type="spacer-tile";}' && killall dock |
| pbcopy < ~/.ssh/id_rsa.pub |
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.
| lsof -i :8000 | grep LISTEN |
| defaults write com.apple.screencapture location ~/Documents/screenshots |
| # 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 checkout @{-1} |
| gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false |
| #!/bin/sh | |
| set -e | |
| set -x | |
| for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f2) | |
| do | |
| npm -g install "$package" | |
| done |