Solution of Mycat distributed database architecture -- Separation of reading and writing by Mycat

Echo editor, welcome to reprint, reprint please state the source of the article. Welcome to add echo wechat (wechat: t2421499075) for communication and learning Never lose in a hundred battles, never claim to win, never lose in a hundred defeats, and strive to move forward. ——This is really powerful!!! After the installation, we h ...

Posted by simonoc on Mon, 04 Nov 2019 18:45:35 -0800

App wechat payment

I. Basic Process of wechat payment Main interaction between merchant system and wechat payment system: Step 1: the user selects the goods in the merchant APP, submits the order and selects wechat payment. Step 2: the merchant receives the user payment form at the background and calls the unified order interface of wechat payment. See also ...

Posted by bfinucan on Mon, 04 Nov 2019 08:05:21 -0800

Remember a CSS anti crawl

Target website: Cat eye movie Main process Crawl the url corresponding to each movie Crawl the source code corresponding to the specific movie Analyze the source code and download the corresponding font Use fontTools to draw the corresponding number Using machine learning method to identify corresponding numbers Replace the corresponding plac ...

Posted by pramodv on Mon, 04 Nov 2019 06:09:59 -0800

How to remove Youdao cloud note ads (windows)

I. applicable to versions before 6.0 You just need to: find the installation path of cloud notes, * \ Youdao\YoudaoNote\theme\build.xml Open the file with a notebook, find the words "advertisement in the lower left corner", and delete the following code: <PanelAd type="adpanel" css="public" ass="mainform panelclient PanelAd"> ...

Posted by Jarl on Sun, 03 Nov 2019 14:24:14 -0800

springboot integrated J2Cache

J2Cache is a two-level caching framework currently being used by OSChina. First level cache usage Ehcache , second level cache uses Redis  . Because a large number of cache reads will cause L2 network to become the bottleneck of the whole system, the goal of L1 is to reduce the number of L2 reads. This caching framework is mainly used in ...

Posted by yuan on Sun, 03 Nov 2019 11:52:51 -0800

Spring and spring MVC pure annotation integration

First of all, create a jar project in idea without creating any configuration files, including web.xml   First write the spring configuration class () package com.liy.config; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annota ...

Posted by Comtemplative on Sun, 03 Nov 2019 10:27:19 -0800

Spring MVC (abstractcontroller, interceptor, annotation)

1.Controller interface and its implementation class Controller is a controller / processor interface, with only one method handleRequest, which is used to process the function of the request (function processing method). After processing the request, it returns the ModelAndView object (Model data part and View view View part). If you want to wr ...

Posted by rick007 on Sun, 03 Nov 2019 03:49:11 -0800

File download of java struts 2

1. In practical application development, file download function is also very common. 2. The simplest way to download files is through hyperlink: <body> <a href="download/s.txt">Courseware</a><br/> <a href="download/t.jpg">Beauty</a><br/> <a href="download/jstl-1.2.jar">jstl</ ...

Posted by mattyj10 on Sun, 03 Nov 2019 02:51:01 -0800

spring cloud microservice architecture b2b2c e-commerce Spring + spring MVC + Kafka distributed message middleware integration scheme

E-commerce platform source code Please add Penguin: 103874626. kafka message platform uses spring+kafka integration scheme, details are as follows: Use the maximum version 2.1.0.RELEASE integration jar package: Spring integration Kafka Zookeeper and Kafka distributed clusters use init.properties configuration schem ...

Posted by benW on Sat, 02 Nov 2019 11:38:05 -0700

How to implement paging operation in SMM framework

1. Import the PageHelper jar package, add the following dependencies to pom.xml under the parent project, and refresh it with Maven on the right (in idea) <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId ...

Posted by dawieharmse on Sat, 02 Nov 2019 03:36:19 -0700