jwt is used to implement validation in express framework.
Then the last article (using session to save user data) let jwt to save user data.Passport-jwt/json webtoken is used here.passport-jwt is a validation strategy of passport. It is validated using JWT (json web token).JSON webtoken is a module for encoding, decoding and verifying jwt.
Using jwt to save user data and using session to save user dat ...
Added by fourteen00 on Sat, 24 Aug 2019 11:07:48 +0300
React H5 uses div to customize a simple rich text editor
Recently, the h5 end of the project is to upload graphics and text, but also to support user input format, such as line change, so using input control to save input content, picture upload control is not appropriate, because it is difficult to know t ...
Added by MrPotatoes on Fri, 23 Aug 2019 16:21:11 +0300
Note 2 of React+Redux Front-end Development Practice: Hello World Case Based on Webpack
This build is divided into two parts: one is the necessary configuration in the early stage, and the other is the development of React code.
[React Hello World Project Based on Webpack]
1. Pre-necessary allocation
(1) First of all, we should ensure that Node.js has been installed on the reader's development equipment and a new project is bui ...
Added by iceblossom on Fri, 23 Aug 2019 07:52:21 +0300
Monero Block Chain Php Development Kit
MoneroTool is a PHP development kit for docking Monero block chains, which can quickly add support for Monero/XMR to PHP applications.Official download address: http://sc.hubwiz.com/codebag/monero-php-lib/
The main features of MoneroTool are as follows:
All RPC API calling interfaces that support Monero
Supports offline creation of Monero key ...
Added by christine75 on Fri, 23 Aug 2019 06:02:32 +0300
Configuring vscode c + + environment under windows/linux(ubuntu)
vscode is a text editor, similar to editplus. There are many plug-ins on it. It is a common alternative to C++ development when you can't use the legitimate visual studio. But please note that it can't be equated with IDE.
Install vscode
Download the installation package under windows and install it in the way of general software
Download addre ...
Added by justcrapx on Thu, 22 Aug 2019 14:43:23 +0300
Flutter uses json_serializable and build_runner to automatically parse JSON
Small partners familiar with front-end development must be accustomed to mapping JSON into entity class first-time flutter through some third-party plug-ins, which can be painful when you try to parse json.
Because flutter itself does not provid ...
Added by adiwood on Thu, 22 Aug 2019 14:38:21 +0300
pyspider+selenium to get js loading content (with source code)
Links to the original text: https://www.jianshu.com/p/8d955deac99b
background
Recently, I've been working on forum crawlers. Crawling, suddenly encounter a forum of anti-crawler mechanism is stronger. For example: htt ...
Added by dabigchz on Wed, 21 Aug 2019 06:33:00 +0300
Using Python to analyze 440,000 pieces of data to reveal how to become a net red paragraph player in Netease's cloud music commentary area
There's a passage that says, "Ten years old copywriter drivers are not as good as Netease comment area. Netease Wenhao goes everywhere to comment on all single dogs." The comment area of Netease Yun Music has always been the gathering place ...
Added by Illusionist on Tue, 20 Aug 2019 17:13:37 +0300
Use of Java FastJson
1. Preface
1.1. Introduction of FastJson:
JSON(javaScript Object Notation) is a lightweight data exchange format. The key value pair ({"name": "json"}) is used to save and represent data. JSON is a string representation of JS objects. It uses text to represent the information of a JS object, which is essentially a string.
...
Added by ivki on Tue, 20 Aug 2019 16:39:46 +0300
[.Net Core Learning IX] With Logging
Logging is a logging framework that comes with the Core framework
Simple use of Logging
configuration file
{
"Logging": {
"Debug": {
"LogLevel": {
"Default": "Information"
}
},
"Console": {
"IncludeScope ...
Added by xander85 on Tue, 20 Aug 2019 10:52:02 +0300