Daily learning - Java design principles (Day4) - opening and closing principles
We must put forward such tasks for ourselves: first, learning, second, learning, and third, learning. There is never a shortcut to learning. You can reach the peak step by step.
Some of the notes come from the video teaching of design mode in Silicon Valley.
1, Basic introduction
Open Closed Principle is the most basic and important ...
Posted by rolwong on Wed, 16 Feb 2022 04:21:50 +0100
React learning notes: related knowledge of classes
Learn from Ruan Yifeng's es6 tutorial. If you are interested, you can click here Check the original text.
1. Introduction
1-1, origin of class
The class of es6 can be regarded as a syntax sugar of the constructor. For example, there are the following constructors.
function Point(x, y) {
this.x = x;
this.y = y;
}
Point.prototype.toStr ...
Posted by keigowei on Wed, 16 Feb 2022 04:18:41 +0100
Hi, my technology forum is online!
Last weekend, I launched my personal blog site [1]. You can collect and subscribe to it if you are interested. Future learning articles will be synchronized here for the first time: https://devopsman.cnMany experienced gods can see what wordpress does here at a glance. They have used hugo and Hexo before, but how to say, they are not very satis ...
Posted by Havery Jay on Wed, 16 Feb 2022 03:49:40 +0100
An article from principle to practice teaches you to use Nginx_lua implements WAF
Part1Nginx_lua implements wafBackground of WAFIn the past, enterprises usually used firewalls as the first line of defense for security; At that time, the firewall only effectively blocked some data packets in the third layer (network layer); As the functions of web applications become more and more abundant, web server has become the main targ ...
Posted by mdinowitz on Wed, 16 Feb 2022 03:46:51 +0100
Introduction and example of timer based on cumbmx
Introduction and example of timer based on cumbmx
This paper will introduce the basic functions and application methods of timer, and take ultrasonic sensor as an example to show its application
Required materials: stm32 single chip microcomputer, stm32cumbmx software, HC_SR04,CH340
The use of serial communication USART is not discussed her ...
Posted by montana111 on Wed, 16 Feb 2022 03:24:50 +0100
[punctual atom MP157 serial] Chapter 43 experiment of external RTC chip PCF8563 - extracted from [punctual atom] STM32MP1 embedded Linux Driver Development Guide v1 seven
1) Experimental platform: punctual atom STM32MP157 development board 2) Purchase link: https://item.taobao.com/item.htm?&id=629270721801 3) Full set of experimental source code + manual + video download address: http://www.openedv.com/thread-318813-1-1.html 4) Official station B of punctual atom: https://space.bilibili.com/394620890 5) Punc ...
Posted by nike121 on Wed, 16 Feb 2022 03:12:27 +0100
Using Python to build a fund query robot, you can also expand!
1, Say something I have long wanted to build a fund monitoring robot to facilitate myself to check the rise and fall of various indexes of the fund and stop the loss or profit in time. From today on, we will build a building foundation and take you to realize a fund query robot. At present, we can mainly query the data of the specified date per ...
Posted by pkellum on Wed, 16 Feb 2022 02:52:57 +0100
51 lines of code, self-made TX to MySQL software!
1, ForewordHello, everyone. I'm an old watch. When I looked at station B this morning, I found that the home page pushed me a video of an up master (@ it's me it's me it's me, for the convenience of the small one in the following), so I opened it and watched it, so I had the next story ~
@Screenshot use has been approvedWhat Xiaoshi wants to ac ...
Posted by Eng65 on Wed, 16 Feb 2022 02:52:10 +0100
Lombok introduction to mastery
1, PrefaceThe use of Lombok is controversial. The author strongly recommends Lombok, and even believes that some common functions should be directly integrated in the form of JDK.It is meaningless to write a bunch of Set/Get methods in the process of building entity classes; The toString method that inherits the Object class by default is offic ...
Posted by ashleek007 on Wed, 16 Feb 2022 02:47:54 +0100
After Python batch processes Excel data, it is imported into SQL Server
After Python batch processes excel data, import it into sqlserver1. Foreword2. Start thinking2.1 disassembly + clear requirements2.2 installation of third-party package2.3 reading excel data2.4 special data processing2.5 other requirements2.6 complete calling code1. ForewordFollowing yesterday's article Windows download, install and configure S ...
Posted by rockintyler on Wed, 16 Feb 2022 02:43:48 +0100