I don't know if you have such a feeling. In normal development, there are often many duplicate codes in dao and service classes. Velocity provides template generation tools. Today, I will teach you how to say goodbye to these duplicate codes.
Reference items: https://github.com/bigbeef/cppba-codeTemplatePersonal blog: http://www.zhangb ...
Posted by Tonic-_- on Sat, 11 May 2019 04:37:58 +0200
Configuration of server
II. Configuring Agents
1. Ports are not accessible
2. Active and passive modes of ZABBIX
3. Incorrect alarm time
Configuration of server
First configure the zabbix server side
1. go zabbix official website Choose install zabbix from package mode, and then select ...
Posted by Chris_78 on Fri, 10 May 2019 22:11:02 +0200
Former love introduction
stay Graphql Series of Actual Warfare (Part I) We have completed the technical selection and bridged the graphql Gel gels In the project, and dynamic handwritten schema, through http://localhost 5000/graphql view effect. In this section, we automatically generate the basic query and update schema according to the databa ...
Posted by bird_man11 on Fri, 10 May 2019 09:00:20 +0200
# JDBC Introduction Foundation, Use Steps
Recently, in reviewing the knowledge of JDBC, first write a review of the basis of JDBC.
For the understanding of JDBC, the full name of JDBC is Java Database Connectvity, so it is not difficult to write out, that is, using the java language to operate the database. JDBC actually defines ...
Posted by dbdbdb on Fri, 10 May 2019 00:48:03 +0200
Create two tables balance (balance table) and customer (customer table) in MySQL database and insert data.
create table customer(
id int(10) primary key,
name char(20) not null,
role char(20) not null,
phone char(20) not null,
sex char(10) not null,
address char(50) not null
)ENGINE=InnoDB DEFAULT CHARSET ...
Posted by shaunrigby on Thu, 09 May 2019 05:42:03 +0200
I. Mass insertion of data
MyISAM table insertion optimization, insertion before closing index updates.
alter table xxx DISABLE KEYS; -- Turn off index updates
... -- insert data
alter table xxx ENABLE KEYS;
Insertion optimization of InnoDB tables:
1) The imported data is arranged according to the p ...
Posted by blues on Wed, 08 May 2019 20:24:04 +0200
redis is an advanced key:value storage system where value supports five data types:
2. lists of strings
3. String sets
4. Ordered string sets
There are a few points to remind you about key:
1. Keys should not be too long, try not to exceed 1024 bytes, which not only consumes memory, but also redu ...
Posted by Skawn on Wed, 08 May 2019 18:48:04 +0200
I. Creating the mirror image of lnmp
1.1. dockerfile creates php7.2.16 image
1. 2. dockerfile creates nginx-1.15.7 image
1.3. The php image is pull ed directly on the docker warehouse
2. Running lnmp environment through dockerpose-compose
2.1. Install docker-compose
2.2. Run the lnmp environment with docker-compo ...
Posted by anthonyw17 on Wed, 08 May 2019 11:35:02 +0200
Infinite polar classification simply means that a class can be divided into several subclasses, and then one subclass can be divided into other subclasses indefinitely, as if windows could create a new folder, then create some folders in this folder, and some folders under the folder.
So how does PHP achieve its infinite classif ...
Posted by igul222 on Tue, 07 May 2019 03:05:03 +0200
Wechat Public Number: An Excellent Abandoned PersonIf you have any questions or suggestions, please leave a message in the background. I will try my best to solve your problems.
For example, today we introduce how SpringBoot handles global exceptions in a unified way. The two main annotations for global exception handling in SpringBoot ...
Posted by niwa3836 on Mon, 06 May 2019 16:45:04 +0200