Java simple factory pattern

Java simple factory pattern Bibliography: Dahua design mode, Cheng Jie, Tsinghua University Press Code link https://github.com/JiaZhengJingXianSheng/Calculator_By_Java When we write programs, in order to be easy to modify, we usually use encapsulation, inheritance and polymorphism to reduce the coupling degree of the program. For example, w ...

Posted by adzie on Tue, 22 Feb 2022 12:18:21 +0100

Phishing practice 2 -- combined email web page

Add the previous article, a word binding idea Combine front-end pages for fishing Flash fishing xss_ Flash fishing full set of source code Self flash fishing another set of source code 1.1 combined flash fishing pop-up version The source code from tools I feel that the masters are very strong Direct download pop-up Throw the js file of the ...

Posted by anups on Tue, 22 Feb 2022 12:15:43 +0100

It's been 2202. If you don't learn ES6, you'll be out

ES6 Foundation ES6 overview ECMAScript 6 has basically become the industry standard, and its popularity is much faster than ES5. The main reason is that modern browsers support ES6 very quickly, especially Chrome and Firefox browsers, which already support most of the features in ES6.Its goal is to make JavaScript language can be used to wr ...

Posted by fael097 on Tue, 22 Feb 2022 12:07:19 +0100

Analysis and design of ERC721A algorithm

Author: bixia1994[1]Reference link:EIP721 implementation of Openzeppelin [2]Azuki's EIP721A implementation [3]Disadvantages of OpenZepplin implementationIn a typical NFT, the EIP721 template of OZ is usually used to realize the following:function mintNFT(uint256 numberOfNfts) public payable { //Check that totalsupply cannot exceed requi ...

Posted by simonb on Tue, 22 Feb 2022 12:07:15 +0100

Java IO that you learned and forgot: character stream

"Life is short. It's better to have a dog Author: Bruce bat Sun "1, Summary1. What are characters  letters, numbers and symbols (including operation symbols, punctuation symbols and other symbols) are called characters in the computer. It should be noted that the Character is an information unit, and the byte is the basic unit of dat ...

Posted by LordShryku on Tue, 22 Feb 2022 12:00:57 +0100

I learned database in station b: multi table operation

Previous: I'm learning database at station b (VI): regular expressions in DQL 1, Multi table relation It can be summarized as: one to one, one to many / many to one relationship, many to many 1. One to one relationship Example: one ID card can only correspond to one person be careful: (1) Add a unique foreign key in any table to point to the ...

Posted by dolcezza on Tue, 22 Feb 2022 11:22:46 +0100

Reflector analysis in k8s source code client go

Abstract: through this article, you can understand the process of Reflector obtaining objects from Kubernetes API through ListWatcher and storing them in the store. Later, you will study the source code of DeltaFIFO and deepen your understanding of the whole informer by combining with informer. This article is shared from Huawei cloud commun ...

Posted by Cantaloupe on Tue, 22 Feb 2022 11:07:13 +0100

Java learning notes - Methods

Java learning notes - Methods Day06 1, What is method A Java method is a collection of statements that together perform a function Method is an ordered combination of steps to solve a class of problemsMethod is contained in a class or objectMethods are created in the program and referenced elsewhere 2, Definition of method Method cont ...

Posted by Domhnall on Tue, 22 Feb 2022 11:03:32 +0100

Talk about RabbitMq dynamic monitoring

I haven't shared my learning experience for a long time. After reading the release records, the last article is from 2020-12-10. Today, I take time to sort out the next technology sharing I want to sort out very early. By the way, as an aside, because I haven't had time to sort it out, and the development partners don't understand Mq enough, I ...

Posted by Moesian on Tue, 22 Feb 2022 11:02:23 +0100

SpringCloud-2.0 (9. Load balancing - OpenFeign)

Last: 8 Load balancing - Ribbon Next: 10 Service degradation - Hystrix - causing problems Statement: original author: CSDN: Yuan_ four hundred and four 1 . summary 1.1 what is it GitHub : https://github.com/spring-cloud/spring-cloud-openfeign Feign is a declarative web service client, which makes it very easy to write a web service cl ...

Posted by SeaJones on Tue, 22 Feb 2022 10:58:31 +0100