Script custom command
preface
There are many built-in commands in the script, but sometimes we want to customize some commands, because writing a script is not as convenient as typing a command.
However, there is no document for the custom command on the scrap website. There is only one sentence: you can also use the commands_ The module setting adds a custom projec ...
Posted by wolfcry044 on Tue, 19 May 2020 10:00:43 +0200
react Reading Notes
Source Digging Booklet - react Actual: Design Patterns and Best Practices
react design idea
Property Expansion - Keep the props required by the current component and pass on other props
var obj = {a: 1, b: 2, c: 3, d: 4, e: 5}
const { a, ...other } = obj
console.log(other) // {b: 2, c: 3, d: 4, e: 5}
In react, the interface is entire ...
Posted by vulcant13 on Sat, 16 May 2020 21:57:03 +0200
Simple Java implementation of Netty for communication
Using Java to build a simple example of Netty communication
Students who have seen the dubbo source code should know that the underlying communication using the dubbo protocol is to use netty for interaction. Recently, after reading the netty part of dubbo, they wrote a simple example of netty communication.
Source address of this paper: implem ...
Posted by PlasmaDragon on Sat, 16 May 2020 13:09:58 +0200
B station video download batch splicing synthesis tool
Introduction
Station B is very simple for downloading a single video. You can install plug-ins in the browser, which will not be covered here. This paper mainly introduces the batch download and resource integration of multi-P video.
There are two ways:
Execute py script
Run exe tool
preparation
1. Download B station client in windows store
...
Posted by leeroy1 on Fri, 15 May 2020 07:51:47 +0200
The implementation of flash restful API and the basic permission control based on flash httpauth
This tutorial series is divided into three phases
1.flask restful web service
2. Flash restful API (to be updated)
3. Flash httpauth implements permission control (to be updated)
4.uwsgi management flash application (to be updated)
Article excerpted from http://www.pythodoc.com/flask-restful/
I corrected some of the procedural problems arisin ...
Posted by cmzone on Wed, 13 May 2020 14:22:53 +0200
Fastjson Deserialization Vulnerability History
Author: Longofo@knows Chuangyu 404 Laboratory Time: April 27, 2020 Original address: https://paper.seebug.org/1192/English version: https://paper.seebug.org/1193/
Fastjson doesn't have a cve number, it's not very good to look for a timeline, and it doesn't know how to write at first, but it slowly writes something out. Fortunately, fastjson is ...
Posted by slava_php on Tue, 12 May 2020 19:05:20 +0200
Record curl submit data encoding and javascript transform unicode problem
1. Data coding problem of curl submission
When using curl to send a POST request under windows, there is a problem. The parameters transmitted are not UTF-8 encoded.
1. In the GIT bash test, locale is UTF-8, no effect, the server received or GBK encoding.
2. Tested under cmd, chcp 65001 has no effect. The server receives GBK code.
3. Wri ...
Posted by boiy on Sun, 10 May 2020 16:19:42 +0200
Remember the scenario of using delay queue in one work
1 scenario
The company is engaged in the traffic management of the Internet of things related businesses recently connected with the mobile remote traffic card. The specific business involves card downtime and card recovery. After the user recharge, the background calls the remote card recovery interface for recovery, but the actual test is don ...
Posted by Hikari on Thu, 07 May 2020 10:23:25 +0200
Charles grabs the package and turns it into interface automation test case
We can get the json file to be parsed and convert it to json for saving by using Charles to grab the package and transfer the interface automation test case. So let's read it.
First of all, let's look at the last document,
{
"config": {
"name": "testcase description",
"variables": {}
},
"teststeps": [
...
Posted by saami123 on Wed, 06 May 2020 16:46:24 +0200
Android Jetpack Architecture - Paging custom pull-up loading more
Jetpack series
Android Jetpack architecture component - Lifecycle usage
Android Jetpack architecture component - LiveData usage
The use and principle of ViewModel, an architecture component of Android Jetpack
Android Jetpack architecture component - Paging introduction and Practice
Android Jetpack architecture component - Roo ...
Posted by ganlal on Wed, 06 May 2020 06:04:28 +0200