Notes on Big Talk Design Patterns Observer Patterns
Take a chestnut
Problem Description
Several colleagues watch the stock market during work, let the front desk MM help to see when the boss comes to check the guard, when the boss comes in, MM calls one of the colleagues, so all colleagues know, and continue to work....
Simple implementation
Front Secretary MM
/**
* Front Secretary MM
* Create ...
Posted by Ilyes on Sat, 27 Jul 2019 01:50:47 -0700
BZOJ1176 Mokia CDQ Division
Title Description
Maintain a W*W matrix with initial values of S. Each operation can increase the weight of a grid, or query the total weight of a submatrix. Modify operand M<=160000, query Q<=10000, W<=2000000.
Input Format
The first row contains two integers, S and W, where S is the initial value of the mat ...
Posted by Dawg on Fri, 26 Jul 2019 16:43:10 -0700
Remember mpa multi-page application processing once
cause
Because domestic search engines are not friendly to single-page applications, the website of general websites is multi-page applications.
Choice
Being a website is certainly the best language in the world, PHP, which I wanted to do at first, but when I wrote this article, I was a front-end developer.Considering maintainability, other fron ...
Posted by Mikkki on Thu, 25 Jul 2019 02:21:29 -0700
Dubbo User Guide Notes 3 Configuration Details
Detailed description of configuration mode
At present, dubbo provides four configurations, they are:
XML Configuration
Properties Configurtion
API Configuration
Annotation Configuration
Now let's introduce them in detail.
XML Configuration
I wrote an introductory demo about xml configuration before, so let's take a look at it first.
provider. ...
Posted by jd6th on Thu, 25 Jul 2019 00:44:00 -0700
Introduction of SSH and ansible deployment methods and core modules
SSH and ansible deployment methods
Deployment environment
Management server 172.16.1.61
NFS Server 172.16.1.31
Backup server 172.16.1.41
1 Check whether the SSH service is running and start the service
Netstat-lntup | grep SSH Check whether the current service is running
/ etc/init.d/sshd status Start SSH Service
2. DSA key authentic ...
Posted by curt3006 on Wed, 24 Jul 2019 22:41:43 -0700
Stack of Java Data Structures
1. Introduction to Stack
The stack is an ordered list of FILO:First In Last Out.
Stack is a special linear table that limits the insertion and deletion of elements in a linear table to only occur at the same end.
One end that allows insertion and deletion is called the top of the stack and the other end is the fixed end, called the bottom of ...
Posted by Lassie on Wed, 24 Jul 2019 09:49:04 -0700
Thikphp 5.1 JSON Web Token Cross-domain Authentication Solution
For more information on JSON Web Token
The client receives the JWT returned by the server and stores it in Cookie or localStorage.
Thereafter, the client will bring JWT in the interaction with the server. If you store it in a Cookie, it can be sent automatically, but not across domains, so it's usually ...
Posted by zulfer on Wed, 24 Jul 2019 04:14:55 -0700
Spring Cloud Hystrix Fuse
Preface
It feels like hystrix is wonderful, and the documents are very good, so where is this summary?
Before writing Hystrix, let's briefly talk about fuses and current limiting, so that when you finish reading, you can easily understand Hystrix.
Fuse
The fuse model is derived from Martin Fowler's Circuit Breaker article. "Fuse" ...
Posted by jroodman on Wed, 24 Jul 2019 03:48:31 -0700
A Decoupling Course of "Walking on the Way of Scholes Learning"
Summary
Looking at the title, I don't know what the author wants to say. Recently, when looking at Swoole, I encountered a decoupling problem in encapsulating the framework. Decoupling is not unfamiliar to everyone. This decoupling is a demo about listening events and heartbeat detection. Let's look directly at the problem.
Solutions
I want to ...
Posted by beboni on Wed, 24 Jul 2019 03:13:22 -0700
A Brief Introduction to Mybatis generator Generation Tool
Mybatis generator
Its main function is to create Dao, entry and xml conveniently and quickly, which speeds up the development speed, and to configure OK according to the rules it provides.
There is also an important development scenario. During the development process, there must be a lot of operations on the database, such as adding new fiel ...
Posted by helpmeplease2 on Wed, 24 Jul 2019 02:45:57 -0700