Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
| var Nightmare = require("nightmare"); | |
| var nightmare = new Nightmare(); | |
| nightmare | |
| .goto("https://non-existent-website-nifgeoawniogea.com") | |
| .catch(handleError); | |
| //Note: You can manually raise an exception from within a `.then()` command with a normal `throw new Error()`: | |
| //throw new Error("Description of the error."); |
| // Определяем зависимости в переменных | |
| var gulp = require('gulp'), | |
| cache = require('gulp-cache'), | |
| clean = require('gulp-clean'), | |
| stream = require('event-stream'), | |
| size = require('gulp-size'), | |
| jshint = require('gulp-jshint'), | |
| concat = require('gulp-concat'), | |
| uglify = require('gulp-uglify'), | |
| minifyCSS = require('gulp-minify-css'), |
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <style> | |
| body { | |
| margin: 0px; | |
| padding: 0px; | |
| } | |
| </style> | |
| <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.