Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
| {"lastUpload":"2021-12-15T06:13:45.321Z","extensionVersion":"v3.4.3"} |
| List() | |
| var list = Immutable.List([1,2,3]) | |
| // [1, 2, 3] | |
| List.isList() | |
| Immutable.List.isList(list) | |
| // true | |
| List.of() | |
| var list = Immutable.List.of(1,2,3); |
| /*------------------------------------------ | |
| Responsive Grid Media Queries - 1280, 1024, 768, 480 | |
| 1280-1024 - desktop (default grid) | |
| 1024-768 - tablet landscape | |
| 768-480 - tablet | |
| 480-less - phone landscape & smaller | |
| --------------------------------------------*/ | |
| @media all and (min-width: 1024px) and (max-width: 1280px) { } | |
| @media all and (min-width: 768px) and (max-width: 1024px) { } |
Just migrated it from Codepen.io to markdown. Credit goes to David Conner.
| Working with DOM | Working with JS | Working With Functions |
|---|---|---|
| Accessing Dom Elements | Add/Remove Array Item | Add Default Arguments to Function |
| Grab Children/Parent Node(s) | Add/Remove Object Properties | Throttle/Debounce Functions |
| Create DOM Elements | Conditionals |
| import React from 'react'; | |
| import { | |
| SafeAreaView, | |
| View, | |
| FlatList, | |
| Text, | |
| StyleSheet, | |
| Animated, | |
| PanResponder | |
| } from 'react-native'; |
| <script type="text/javascript"> | |
| $(document).ready(function() { | |
| $(".modalbox").fancybox(); | |
| $("#contact").submit(function() { return false; }); | |
| $("#send").on("click", function() { | |
| var form = $(this); | |
| var phoneval = $("#phone").val(); | |
| if (phoneval < 4) { | |
| $("#phone").addClass("error"); |
| <?php | |
| use PHPMailer\PHPMailer\PHPMailer; | |
| use PHPMailer\PHPMailer\Exception; | |
| if($_POST){ | |
| // Import PHPMailer classes into the global namespace | |
| // These must be at the top of your script, not inside a function | |
| require 'PHPMailer/src/PHPMailer.php'; | |
| require 'PHPMailer/src/POP3.php'; | |
| require 'PHPMailer/src/SMTP.php'; | |
| require 'PHPMailer/src/Exception.php'; |
| <head> | |
| <link href="magnific-popup/magnific-popup.css" rel="stylesheet"> | |
| <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
| <script src="magnific-popup/jquery.magnific-popup.js"></script> | |
| </head> | |
| <form action="" id="userData" method="post"> | |
| <input type="text" name="phone" class="form-field" placeholder="+ 7 927 618 8007"/> | |
| <button type="submit" id="btn_submit" name="btn_submit" class="form-button">ok</button> |