Getting started with middleware mycat (1): Deployment and introduction

During the initial testing process, the project originally used kingshard as the middleware, but during the testing process, we found that the join does not support different sub-tables, so we can only choose to give up and change to mycat to do the testing Download address is [root@gzsd-ks01-101110214 download]# wget http://dl.mycat.i ...

Posted by Aptana on Fri, 10 Jul 2020 09:18:41 -0700

Imitate Advertising Effect

Imitate the effect of an advertisement, see the effect picture first The results are as follows: Slide up, the head of the picture comes out first, and then scroll along as you scroll. When the picture slides out of the screen, the inside of the picture also reaches the bottom. Slide down, the bottom of the ...

Posted by ven0m on Thu, 09 Jul 2020 08:16:22 -0700

Imitate Advertising Effect

Imitate the effect of an advertisement, see the effect picture first The results are as follows: Slide up, the head of the picture comes out first, and then scroll along as you scroll. When the picture slides out of the screen, the inside of the picture also reaches the bottom. Slide down, the bottom of the ...

Posted by ntohky14 on Thu, 09 Jul 2020 08:17:04 -0700

Imitate Advertising Effect

Imitate the effect of an advertisement, see the effect picture first The results are as follows: Slide up, the head of the picture comes out first, and then scroll along as you scroll. When the picture slides out of the screen, the inside of the picture also reaches the bottom. Slide down, the bottom of the ...

Posted by mattsinclair on Thu, 09 Jul 2020 08:16:04 -0700

NavigationView of Material Design Control

Introduction to Material Design Android Official Controls NavigationView The NavigationView is used for DrawerLayout's second sublayout, the drawer layout Controls provided by google have the same status as inearLayout in DrawerLayout Of course, you can use other layouts (such as FrameLayout+Fragment) as drawer layouts instead of Navigat ...

Posted by wkoneal on Mon, 06 Jul 2020 09:20:39 -0700

FlexboxLayout - Single / multiple

FlexboxLayout is an Android extension launched by Google Reduced layout (stream layout) official project address https://github.com/google/flexbox-layout FlexboxLayout is a control that I use a lot in my development, especially for the item layout with variable width and height instead of Recycleview, which well meets my requirements and is ...

Posted by 88fingers on Tue, 30 Jun 2020 09:44:35 -0700

Several special ways of Spring Bean instantiation

ServiceLoader uses the reverse control in JDK ServiceLoaderFactoryBean AutowireCapableBeanFactory#createBean BeanDefinitionRegistry#registerBeanDefinition RumenzFactory interface and default implementation class DefaultRumenzFactory RumenzFactory.java package com.rumenz; public interface RumenzFactory { //jdk1.8 default implementation ...

Posted by svgmx5 on Tue, 30 Jun 2020 00:16:42 -0700

Wechat cash red packet jump pit version

The official gives the early steps of opening the cash red envelope 1. It is worth noting that the calling IP address (public IP) needs to be configured in wechat payment merchant platform product center cash red packet product settings 2. Integrated business development thinking Official account offici ...

Posted by nevynev on Tue, 30 Jun 2020 00:04:16 -0700

Record website visits

1. Create a table in the database to store the hits 2. Create a listener (MyWebListener) to implement the ServletContextListener interface. When the project is started, the hits are obtained through the dao layer (ContextMapper) and stored in the ServletContext. 3. Increase the number of visits when vi ...

Posted by tzikis on Tue, 30 Jun 2020 00:03:17 -0700

The eighth day of health management project (background login to realize authentication and authorization, graphic report echards)

We have learned how to use the Spring Security framework. In this chapter, we need to apply the Spring Security framework to the background system for permission control. Its essence is authentication and authorization. To carry out authentication and authorization, we need to support the seven tables i ...

Posted by leonglass on Mon, 29 Jun 2020 00:12:28 -0700