Configuring Maven in Eclipse
Specify the path to configure and install maven
Mavan local warehouse with Eclipse:
Instead of the warehouse and setting we configured, you can also use the default one
relation setting.xml file
to configure setting.xml , plus Alibaba proxy imageIt will be slow to download jar directly from the address of the centr ...
Posted on Fri, 22 May 2020 12:14:10 -0400 by en
cd to the project directory, and then do the following
Prepare to install the framework: composer create project topthink / think thinkphp6.0
cd switch to the thinkPHP6.0 directory of PHP project
Modify configuration file:. Env configuration file / / copy example.env Change to your own
Open debug mode: app in. env_ DEBUG = ...
Posted on Fri, 22 May 2020 10:08:32 -0400 by benny_g
Many articles mentioned that Swagger should be turned off in the production environment to prevent system resource leakage. Today, with my own experience in the development process, I share a method that can be implemented in just a few lines of code to allow Apache Shiro to take over Swagger authentication and authorization. If there is a bett ...
Posted on Fri, 22 May 2020 03:11:03 -0400 by K3nnnn
ShardingSphere is an ecosystem of open source distributed database middleware solutions comprising three separate products, ShardingSphere-JDBC, ShardingSphere-Proxy and HardingSphere-Sidecar (planned).They all provide standardized data fragmentation, distributed transactions, and database governance capabilities that can be applied to a wide v ...
Posted on Thu, 21 May 2020 22:20:15 -0400 by nikbone
Reference article:How to submit spark tasks to yarn cluster remotely in idea
Several modes of running spark tasks:
1, local mode, write code in idea and run directly.
2,standalone mode, need to jar package program, upload to cluster, spark-submit submit to cluster run
3,yarn mode (local,client,cluster) as above, also requires jar packa ...
Posted on Thu, 21 May 2020 20:09:40 -0400 by twilightnights
Find the starting point of learning mybatis source code
To learn the source code of mybatis, the first step must be to find a starting point for learning. First, we start with a simple Demo, re experience the way of using mybatis, and then we can start from it to learn the source code of mybatis.
First of all, we will build a new He ...
Posted on Thu, 21 May 2020 02:36:29 -0400 by gleemonex
Built a set of elk by myself 7.x Version environment found that using filebeat to collect nginx or apapche could not customize the directory log directory. If you customize the log directory, it would not be segmented. If you use the default log location, it would be segmented
The solution is hereby recorded
Default load path
[root@kangcw e ...
Posted on Mon, 18 May 2020 12:12:50 -0400 by abazoskib
One HTTP request
As shown in the figure above, a complete HTT request roughly includes the following steps:
Domain name resolution
TCP connection (three handshakes)
Send request data after connection established
Server processing request
Send response data
Browser parsing response data
Browser rendering front page
The http request proce ...
Posted on Mon, 18 May 2020 01:50:33 -0400 by etrooper
1. Parent directory
1.WebMvcConfigurer Configuration of
18.104.22.168 . unified data return processing implementation
22.214.171.124 Unified exception handling
126.96.36.199 Online document implem ...
Posted on Sun, 17 May 2020 23:04:42 -0400 by wutanggrenade
Producer sends demos asynchronously
stay Above The use of the AdminClient API was introduced, and now we know how to manage Kafka through the API in our applications.But in most application development, the most common scenario we face is to send messages to or consume messages from Kafka, which is a typical production/consumption model.This a ...
Posted on Sun, 17 May 2020 13:35:32 -0400 by klaibert26