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

koa2 implements jwt login

1.jwt Introduction Introduction is partly reproduced from Ruan Yifeng's Introduction to JSON Web Token Tutorial 0.session login 1. Users send user names and passwords to the server. 2. After the server is authenticated, save relevant data in the current session, such as user role, login time and so on. 3. The server returns a session_id to the ...

Posted by mattcooper on Tue, 05 May 2020 19:51:50 +0200

Compile and install MariaDB-10.1.30

Environment related: OS: CentOS release 6.9 IP: 192.168.1.10 CPU: 4 cores MEM: 2G DISK: 50G 1. Experiment host clone Refer to "CentOS6 experimental machine template building and deployment" Clone an experimental machine, adjust the memory to 2G and the CPU to 4 cores, and further configure the host na ...

Posted by geus on Tue, 05 May 2020 08:37:43 +0200

MySQL 5.7 SSL configuration and enable

1, Start SSL on installation [root@linux-node local]# /usr/local/mysql5.7/bin/mysqld --initialize --basedir=/usr/local/mysql5.7 --datadir=/usr/local/mysql5.7/data/ --user=mysql [root@linux-node local]# /usr/local/mysql5.7/bin/mysql_ssl_rsa_setup After running this command, the following pem files will be generated in the data directory by ...

Posted by matty on Mon, 04 May 2020 06:00:33 +0200

JAVA lazy development: mybatis generator installation and use (spring tool suite)

java lazy development: mybatis generator generates the corresponding entity class, xml Mapper file, interface and help class according to the table design in the database. Take spring-tool-suite-3.9.2.RELEASE as an example: install Introduction package <dependency> <groupId>org.mybatis.generator</groupId> <artifa ...

Posted by benyamin on Mon, 04 May 2020 05:54:22 +0200

C × vs statement about connecting database

Configuration of App.config: the database is connected to the ECS <appSettings> <! -- whether the connection string is encrypted -- > <add key="ConStringEncrypt" value="false" /> <! -- database connection string, (if encryption is used, the above item should be set to true; encryption t ...

Posted by Spiz on Sun, 03 May 2020 19:59:22 +0200

Open database table let the third party operate the solution directly

In the project, a third-party company pushes the files to our file server and records the logs at the same time. This log, of course, is also saved into our database. The most natural idea of this log implementation is to tune the interface. We provide the interface, which is called by the third party. But we all feel troublesome. The owner d ...

Posted by PcGeniusProductions on Sun, 03 May 2020 02:08:49 +0200

Force sql to use an index

SQL HINT (SQL HINT) is an important means to optimize the database, which is to add some hints in sql to optimize the effect. Let's learn about use index, ignore index, and force index; 1. Add use index after the query statement. You can suggest indexes to MySQL for reference, so that MySQL does not consider other indexes. explain select co ...

Posted by daniel244rock on Sat, 02 May 2020 20:40:36 +0200

An example of using js to realize login, buffer animation and page Jump

This is an example of using js to realize login, buffer animation and page Jump. It does not need to use database, complex logic, or thousands of lines of code; it only needs a few simple labels, several GIF format pictures, plus a few lines of code to achieve the above functions. This paper mainly consists of three HTML pages, one login page, ...

Posted by ransingin on Sat, 02 May 2020 06:29:27 +0200