Nginx --- dynamic and static separation
Nginx and Tomcat deployment
We all know that Nginx has very high performance in high concurrency scenarios and processing static resources, but in actual projects, in addition to static resources, there are background business code modules. Generally, background business will be deployed on Web servers such as Tomcat, weblogic or websphe ...
Posted by snowdog on Wed, 10 Nov 2021 13:38:56 -0800
The beautiful world of Java design pattern Monads
[note] this article is translated from: [Beautiful World of Monads - DEV Community](https://dev.to/siy/beautiful-...)Let me start with the disclaimer. From the perspective of functional programming, the following explanation is by no means accurate or absolutely accurate. On the contrary, I will focus on the clarity and simplicity of the explan ...
Posted by CrowderSoup on Wed, 10 Nov 2021 13:37:45 -0800
Implementation of Sanzi chess -- Application of two-dimensional array
Through the application of array, function and loop knowledge, we can independently create a project - Sanzi chess. First of all, we should have a general idea and logic for the implementation of Sanzi chess.
File creation
If you want to do a good job, you must first sharpen your tools. In order to better complete the project, first create th ...
Posted by grantson on Wed, 10 Nov 2021 13:35:33 -0800
Transfer files between two serial ports and learn Chinese character dot matrix for Ubuntu and OpenCv
1, Serial connection
Prepare two USB to TTLS and several DuPont cables, cross connect the RX and TX pins of the two USB to TTLS, and connect the two USB interfaces to a laptop (simulate the serial port transmission between the two computers).
2, Transfer file
Using the serial port debugging assistant that can transfer files (I use SSCOM ...
Posted by FVxSF on Wed, 10 Nov 2021 13:32:41 -0800
BAT factory technology leader will take you to understand android Binder mechanism in 3 minutes. You must see it!!!
1, IntroductionRecently, due to work, I came into contact with the framework a little more. It is inevitable to deal with Binder and sort out some relevant knowledge, but I was still a little flustered when preparing to write this article. Moreover, the complexity of the whole Binder mechanism can not be described clearly in a few words. I'm al ...
Posted by demetri007 on Wed, 10 Nov 2021 13:20:35 -0800
Thoroughly explain the details of the simple factory that you haven't paid attention to
This article is excerpted from "design patterns should be learned this way"
1 encapsulate product creation details using simple factory mode
Next, let's look at the code and take the creation of an online course as an example. Assuming that there are courses such as Java architecture, big data and artificial intelligence, an ecosyste ...
Posted by caster001 on Wed, 10 Nov 2021 13:02:47 -0800
MySQL tutorial Chapter 05 accounts and permissions
When the client connects to the MySQL server, it must provide valid identity authentication, such as user name and password. When the user performs any database operation, the server will verify whether the user has corresponding permissions. For example, SELECT permission is required for query tables and DROP permission is required for deletin ...
Posted by dreamer on Wed, 10 Nov 2021 12:52:00 -0800
It is everyone's responsibility to protect the epidemic. I made an epidemic data report with Django to see if you are suitable to go out today
Django is a Python web framework[ ˈ d ʒ æ ŋɡ o] It is called "Ginger dog" in Chinese.
Why learn framework? In fact, we can write a web site from 0 to 1 in Python code, but in that case, we need to write the underlying code such as network service, database reading and writing. The role of the framework is to build these underly ...
Posted by gkwhitworth on Wed, 10 Nov 2021 12:43:13 -0800
Java array (multidimensional, Arrys, sorted, sparse)
Array overviewArray declaration creationArray usageMultidimensional arrayArrays classSparse array
Definition of array
An array is an ordered collection of data of the same typeArray describes several data of the same type, which are arranged and combined in a certain orderEach data is called an array unit, and each array element can access ...
Posted by kb0000 on Wed, 10 Nov 2021 12:39:37 -0800
Linux Ubuntu dpkg command details
Detailed explanation of dpkg command in Ubuntu system
Dpkg, package manager for Debian, is a major package management tool in Debian and Debian based systems. It can be used to install, build, uninstall and manage deb format software packages. The main and more friendly front end of dpkg is aptitude. Dpkg itself is completely controlled by comm ...
Posted by misty on Wed, 10 Nov 2021 12:10:57 -0800