Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
// 🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works | |
const axios = require('axios'); // promised based requests - like fetch() | |
function getCoffee() { | |
return new Promise(resolve => { | |
setTimeout(() => resolve('☕'), 2000); // it takes 2 seconds to make coffee | |
}); | |
} |
var words = { | |
abandon: "forsake, desert", | |
abbey: "monastery", | |
able: "capable", | |
abolish: "get rid of", | |
abortion: "termination pregnancy", | |
abridge: "shorten, cut", | |
absence: "failure to be present", | |
absolute: "perfect or complete", | |
absorb: "take in, suck up", |
<?php | |
if ($argc < 2) { | |
echo "Usage ${argv[0]} WORD\n"; | |
exit(1); | |
} | |
$html = file_get_contents('http://www.thesaurus.com/browse/' . $argv[1]); | |
$dom = new DOMDocument(); | |
@$dom->loadHTML($html); |
#!/bin/bash | |
# PHP CodeSniffer pre-commit hook for git | |
# | |
# @author Soenke Ruempler <[email protected]> | |
# @author Sebastian Kaspari <[email protected]> | |
# | |
# see the README | |
PHPCS_BIN=/usr/bin/phpcs | |
PHPCS_CODING_STANDARD=PEAR |
<?php | |
/** | |
* Class to convert upto 4 integer values into a UUID string; and vice versa. | |
* | |
*/ | |
class UUID { | |
/** | |
* @param string $UUID Universal Unique Identifier. | |
* @return array Containing the 4 numbers used to generate generateUUIDFromInts | |
*/ |
d3 audio waveforms block |
80470 => 80470 | |
ABC => ABC | |
ABM => ABM | |
ACL => ACL | |
ACPI => ACPI | |
ADAC => ADAC | |
ADSL => ADSL | |
AEG => AEG | |
AG => AG | |
AGP => AGP |