Spring MVC annotation development
ps: it's relatively simple. It's used to lay the foundation for us to use springboot
I. project construction
(1) guide packet
<!-- servlet -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.0</version>
<scope>provided ...
Added by zyntax on Wed, 20 Nov 2019 16:41:11 +0200
Visual Studio 2019 Tutorial: How to add a Web API to an ASP.NET Core application
Open Project
Open the ASP.NET Core application in Visual Studio 2019.
Add an API controller
Right-click the item and add a new folder named Api.Then, right-click the folder and select Add > New Scaffolded Item.Use the Entity Framework to select the API Controller with actions.Now select an existing model class and click Add.
View generated ...
Added by Red Blaze on Wed, 20 Nov 2019 01:22:27 +0200
DFS BFS maze problem
Define a 2D array:
int maze[5][5] = {
0, 1, 0, 0, 0,
0, 1, 0, 1, 0,
0, 0, 0, 0, 0,
0, 1, 1, 1, 0,
0, 0, 0, 1, 0,
};
It represents a maze, in which 1 represents the wall, 0 represents the path that can be walked, can only walk horizontally or vertically, can't walk obliquely, and requires programming to find the shortest path fr ...
Added by amclean on Tue, 19 Nov 2019 21:46:45 +0200
Remedy for Git multi remote warehouse out of sync
git local warehouse can be associated with multiple remote warehouses. If you want to know how to configure it, please refer to How Git manages code using multiple managed platforms .
When git remote is associated with multiple remote warehouses, there are always some problems. Today, there are two remote warehouses that are inconsistent and c ...
Added by edg322 on Tue, 19 Nov 2019 20:03:36 +0200
Function coerce of JavaScript
Quotation
Recently, when reading the technology blog in the community, I came across several words of function currification, and also asked to write js function currification. I thought what kind of advanced thing is currification? Never heard of it?
Then we set out with problems, went to study specially, and made some arrangement.
What is fun ...
Added by aldernon on Tue, 19 Nov 2019 13:29:27 +0200
Reverse output list
1 idea: first, traverse the linked list, and use an array to store the value of the linked list. Then reverse the array and return the array.
2 core modules
① traversal list
My mistake: head is a virtual head node and does not store meaningful linked list data.
The first data of the linked list is stored in the head.
Traverse li ...
Added by laurus on Mon, 18 Nov 2019 20:27:35 +0200
Talk about rocketmq's consumeConcurrentlyMaxSpan
order
This paper focuses on rocketmq's consumeConcurrentlyMaxSpan
consumeConcurrentlyMaxSpan
rocketmq-client-4.5.2-sources.jar!/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java
public class DefaultMQPushConsumer extends ClientConfig implements MQPushConsumer {
private final InternalLogger log = ClientLogger.getLog();
//. ...
Added by mr.rum on Mon, 18 Nov 2019 19:17:12 +0200
MarqueeProgressBarComtrol in Winform encapsulating DevExpress to achieve pop-up progress bar effect
scene
Implementation of pop-up progress bar in Winform
To create a new form, add a progress bar control to the form, and then report the loading progress to the
Progress bar control.
Note:
Blog home page: https://blog.csdn.net/badao_liumang_qizhi
Pay attention to the public address Domineering procedural ape Get programming related ebook ...
Added by hyngvesson on Mon, 18 Nov 2019 10:56:48 +0200
Easily run Argo Workflow in a Serverless Kubernetes cluster
Guide reading
Argo is an open-source workflow tool based on kubernetes, which realizes the control of workflow and the running of tasks. At present, Alibaba cloud container service ACK cluster already supports the deployment and scheduling of workflow. Here we introduce that if Argo is used in ASK(Serverless Kubernetes) cluster, you can run wo ...
Added by kevbev16 on Mon, 18 Nov 2019 06:51:42 +0200
Compile OpenCV with CUDA support on windows 10
This article starts from personal blog https://kezunlin.me/post/6580691f/ Welcome to read!
compile opencv with CUDA support on windows 10
Series
Part 1: compile opencv on ubuntu 16.04
Part 2: compile opencv with CUDA support on windows 10
Part 3: opencv mat for loop
Part 4: speed up opencv image processing with openmp
Guide
requirements:
win ...
Added by nerotic on Mon, 18 Nov 2019 04:52:14 +0200