Dahua Design Mode Notebook Appearance Mode
Take a chestnut
Problem Description
Stockholders speculate in stocks
Simple implementation
Stock 1
/**
* Stock 1
* Created by callmeDevil on 2019/7/20.
*/
public class Stock1 {
public void sell() {
System.out.println("Stock 1 Sell");
}
public void buy() {
System.out.println("Stock 1 Buy");
}
}
Other stocks
...
Added by shane85 on Sat, 20 Jul 2019 09:40:52 +0300
Large Data Migration
Preface:
The company is facing restructuring with around 4 million data.The database design tables of the old and new systems have changed, and the relationships between tables have changed. Some even require a third-party interface to obtain data.
Dependency:
php7
laravel 5.5+
redis
Migrati ...
Added by laflair13 on Sat, 20 Jul 2019 05:11:07 +0300
Dubbo - Deep Configuration
Attribute configuration override rule: consumer side takes precedence over provider side, method takes precedence over interface configuration, and interface takes precedence over global configuration
Load balancing, service downgrade, console dynamic control is generally used.
1. Start check: check="false"
Normally, there are chec ...
Added by tsg on Fri, 19 Jul 2019 22:39:27 +0300
Summary of the 2019-7-18 Examination
A. Star Trek
This is an Euletta question.
Because the title says that only $2$edges go once, the remaining $m-2$edges go twice,
Split this $m$two-way edge into $2$one-way edges,
The end result is to delete the two edges and make the remaining broken edges an Euler Road, (but not expected in the exam.))
Euler's Road means walking all sides ...
Added by davelr459 on Fri, 19 Jul 2019 20:47:22 +0300
Vue Common Syntax
1. Template Grammar
1. Double brace expression
[Grammar:]
{{exp}}
//Used to enter data to a page, that is, to display data on a page.
[Examples:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initia ...
Added by saad|_d3vil on Fri, 19 Jul 2019 19:40:16 +0300
session sharing based on redis 5: [research on redis 5.x cluster application]
Build a session sharing module based on spring session. Here, a redis-based cluster (Redis-5.0.3 version) is designed as a POM component, which is directly configured as dependency in the pom.xml file in order to meet the need of sharing sessions among the subsystems of the entire Internet of Things platform and facilitate the use of each subsy ...
Added by jboy6t9 on Fri, 19 Jul 2019 06:55:59 +0300
Spring Cloud Learning: Feign Declarative Service Call
1. Introduction to Feign
Ribbon was used before, but it would be troublesome to splice parameters for each interface. Feign can be understood as adding a layer of encapsulation to Ribbon so that we don't have to deal with those troublesome parameters when invoking the service.
2. Code Implementation
Create a new Feign service
pom.x ...
Added by jrd on Fri, 19 Jul 2019 06:46:04 +0300
SpringBook 9: Integrating Spring Data JPA
Author: Dream Chasing 1819
Original: https://www.cnblogs.com/yanfei1819/p/10910059.html
Copyright Statement: This article is the original article of the blogger. Please attach a link to the blog article for reprinting.
Preface
In the previous chapters, we introduced ORM frameworks such as JDBCTemplate and MyBatis. Let's introduce Spring Data J ...
Added by TimUSA on Fri, 19 Jul 2019 05:42:53 +0300
java implements word generation and pdf conversion
Preface
This blog mainly solves the dynamic generation of word (docx format) in java background, and converts word into pdf and adds watermarking.
Reflection
The requirement of the project is to export pdf with watermarking. The form style is still a bit complicated. It was considered that itextpdf was used to generate pdf based on html, but ...
Added by renj0806 on Fri, 19 Jul 2019 04:42:13 +0300
Flutter Learning Notes--Dart Object Oriented
If you need to reproduce it, please indicate the source: Flutter Learning Notes (8) --Dart Object Oriented
Dart, as a high-level language, supports many object-oriented features and mixin-based inheritance, which means that a class can inherit from multiple parent classes, which is equivalent to multiple inheritance in other languages.All ...
Added by martor on Thu, 18 Jul 2019 21:40:35 +0300