Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
#! /bin/bash | |
export SRCFILE=nim-$VERSION.tar.xz | |
export BINFILE=nim-$VERSION-linux_x$ARCH.tar | |
echo "Building Nim $VERSION for $ARCH" | |
set -e | |
# Activate Holy Build Box environment. |
# this ansible/jinja2 filter plugin allows you to use passlib's *_crypt functions | |
# until ansible 2.0 comes out - see https://github.com/ansible/ansible/issues/11244. | |
# | |
# this filter depends on passlib being installed: | |
# $ pip install passlib | |
# | |
# put this into your playbook's `filter_plugins` folder. | |
# | |
# usage example: | |
# - name: create user |
echo "Inverting scroll direction" | |
defaults write ~/Library/Preferences/.GlobalPreferences com.apple.swipescrolldirection -bool false | |
echo "Enable the 2D Dock" | |
defaults write com.apple.dock no-glass -bool true | |
echo "Automatically hide and show the Dock" | |
defaults write com.apple.dock autohide -bool true | |
echo "Make Dock icons of hidden applications translucent" |