Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
| /** | |
| * This is an advanced example for creating icon bundles for Iconify SVG Framework. | |
| * | |
| * It creates a bundle from: | |
| * - All SVG files in a directory. | |
| * - Custom JSON files. | |
| * - Iconify icon sets. | |
| * - SVG framework. | |
| * | |
| * This example uses Iconify Tools to import and clean up icons. |
| Preparing images in Inkscape | |
| You may need to do some additional simplification of your drawing, such converting | |
| objects and strokes to paths (see the Path menu), in addition to the below. You can check | |
| the svg file output in a text editor - if it has worked correctly, you should see a single element and an empty element. | |
| 1. Select all | |
| 2. Document Properties -> Resize page to drawing or selection | |
| 3. Object -> Ungroup | |
| 4. Path -> Union | |
| 5. Path -> Combine | |
| 6. File -> Vacuum Defs (or Clean up document) |
| sudo npm cache clean -f | |
| sudo npm install -g n | |
| sudo n stable |
| openssl dsaparam -out dsaparam.pem 2048 | |
| openssl gendsa -out dsaprivkey.pem dsaparam.pem | |
| openssl dsa -in dsaprivkey.pem -outform PEM -pubout -out dsapubkey.pem |
| { | |
| "editor.renderWhitespace": "all", | |
| "editor.renderControlCharacters": false, | |
| "window.zoomLevel": 0, | |
| "workbench.colorCustomizations": { | |
| "editorWhitespace.foreground": "#ffffff36", | |
| "activityBarBadge.background": "#7CB342", | |
| "list.activeSelectionForeground": "#7CB342", | |
| "list.inactiveSelectionForeground": "#7CB342", | |
| "list.highlightForeground": "#7CB342", |
| {"lastUpload":"2020-02-13T07:31:02.389Z","extensionVersion":"v3.4.3"} |
| <link rel="stylesheet" href="css/style.min.css" media="none" onload="if(media!='all')media='all'"> | |
| <noscript><link rel="stylesheet" href="css/style.min.css"></noscript> |
| =keyframe($animation_name) | |
| @-webkit-keyframes #{$animation_name} | |
| @content | |
| @-moz-keyframes #{$animation_name} | |
| @content | |
| @-o-keyframes #{$animation_name} | |
| @content | |
| @keyframes #{$animation_name} | |
| @content |
| //backfix script for blocking back button action and showing popup with order form | |
| var count = 1; | |
| var t; | |
| try { | |
| for (t = 0; 100 > t; ++t) history.pushState({}, "", "#"); | |
| window.onpopstate = function(t) { | |
| if (count % 2 == 1) { | |
| $('.hidden-popup').fadeIn(400); | |
| $('body').css('overflow-y', 'hidden') | |
| } |