Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
let mix = require('laravel-mix'); | |
const antdRegex = /antd.+\.less$/; | |
const theme = { | |
'primary-color': '#0097FF', | |
}; | |
// Exclude quill icons | |
Mix.listen('configReady', function(config) { | |
const rules = config.module.rules; |
Open terminal and run the follow command to install the latest version of Homebrew. This will also install the XCode utils if you don't have them already installed.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
I use the first | |
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 |
<snippet> | |
<content><![CDATA[ | |
<!-- begin $1 --> | |
<div class="$1"> | |
$2 | |
</div> | |
<!-- end $1 --> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>di</tabTrigger> |
#-*- coding:utf-8 -*- | |
import random | |
from z3 import * | |
s = Solver() | |
htest = random.randint(0, 1<<32-1) | |
print hex(htest) |
<? | |
include 'config.core.php'; | |
include MODX_CORE_PATH . 'model/modx/modx.class.php'; | |
$modx = new modX(); | |
$modx->setLogTarget(XPDO_CLI_MODE ? 'ECHO' : 'HTML'); | |
$modx->setLogLevel(xPDO::LOG_LEVEL_INFO); | |
$modx->initialize('web'); | |
$childIds = getChildIds(2); | |
$childIds = implode(',',$childIds); |
* WELCOME TO THE SIMPLX MIRAGE EXPERIMENT! * | |
PURPOSE: | |
The idea behind this little project is to hide the quite quirky MODx notion that a Resource (or document) does not | |
"own" its extended properties. In MODx these are called Template Variables and, as the name suggests, they are | |
bound to one or more Templates. This means that the normal concept that a Template conforms to the data in an Object | |
is reversed. As a result, in MODx a Resource potentially "looses" properties when a user changes its Template. | |
I want a solid way of using the current MODx Template Variable concept to quickly build custom content types |