Spring IOC Source Analysis - Preparations before refreshing
Catalog
Registration of ClassPathXml Application Context
Loading parent and child containers
Configuration Path Analysis
Container refresh
Refresh Pretreatment of Refresh Container
Registration of ClassPathXml Application Context
Source code analysis based on Sprin ...
Posted by cocell on Sat, 01 Jun 2019 01:52:05 +0200
Android Zero Foundation Introduction Section 43: ListView Optimization and Use at the Head and End of the List
I have been studying various ways of using ListView for several consecutive periods. If careful students may find that the efficiency of ListView needs to be improved, we will learn some methods and techniques to optimize the efficiency of ListView.
I. Use convertView
Both the custom Array Adapter and the custom BaseAdapter mentione ...
Posted by bdata28 on Sat, 01 Jun 2019 01:25:05 +0200
Encoding Implementation of Picture Selection in android Album
It's convenient for android cameras to take pictures directly, but more often, we need to choose one of the pictures we already have on our mobile phones to use. Practice how to choose pictures from albums this time.
First, add a Button to the activity_main.xml file to trigger the ability to select pictures from the album.
<?xml version="1.0 ...
Posted by kee2ka4 on Fri, 31 May 2019 22:38:19 +0200
Bluetooth module for Android 4.42-Settings source code analysis
Summary of Bluetooth Module
ONE, SWITCH Bluetooth Switch
The process of switch ing from creation to action status monitoring is as follows
Create a switch instance
Switch actionBarSwitch = new Switch(activity);
Add instances to actionbar
activity.getActionBar().setCustomView(............);
...
Posted by vishi83 on Thu, 30 May 2019 23:25:30 +0200
Python 3 crawler scrapy crawl falls in love with the program stored on MongoDB (android module)
Falling in love with Program Network
(http://www.aichengxu.com/android)
Reason: This website is in the work of Google to find problems, and then found that there are many articles inside, after all, I usually prefer to read technical articles, what I want to understand, what I do not know in-depth, this is not, want to reptile work, is still ...
Posted by ragefu on Thu, 30 May 2019 21:17:55 +0200
Integrated kafka of spring boot
The installation and principles of kafka and zookeeper were mentioned in another blog post. I won't talk about this. I'll just talk about how to integrate kafka in spring boot project.
In this article, I will mainly talk about two ways:
Method 1: We use spring-integration-kafka, a plug-in of Kafka integration in spring. We mainly talk about ...
Posted by mdgottlieb on Thu, 30 May 2019 20:52:02 +0200
Docker multi-stage build mechanism
With the release of version 17.05, Docker has also made an important update to the image building area, namely multi-stage build (multi-stage build), which is a real help to the long-term partners who have been troubled by the large image.
Multi-phase construction is not supported
Before version 17.05, we used to build Docker images in two way ...
Posted by mikosiko on Wed, 29 May 2019 23:03:28 +0200
Hbase cluster deployment
Hhase cluster deployment
Software used
hadoop-2.7.4
hbase-1.2.6
jdk-8u144
zookeeper-3.4.10
Hbase comes with zookeeper, where you use your own deployed zookeeper
zookeeper cluster deployment
Install jdk
Download zookeeper program
Modify zoo.cfg
tickTime=2000
initLimit=10
syncLimit=5
dataLogDir=/zookeeper/logs
dataDir=/zookeeper ...
Posted by jebadoa on Wed, 29 May 2019 21:53:18 +0200
Analysis of Common Annotations in Spring
1. Common Notes
1.1 @Configuration
@Configuration
public class MainConfig {
}
@ The Configuration annotation indicates that this class is a configuration class that should contain details on how to create bean s in the context of Spring applications.
1.2 @ComponentScan
@Configuration
@ComponentScan("per.ym")
public class MainConfig {
}
@ Comp ...
Posted by tdeez173 on Wed, 29 May 2019 20:35:31 +0200
Nginx Handbook (V) Static Resources, gzip Compression
I. Relevant Grammar
# 1. File reading (whether or not to use the kernel to transfer files)
Syntax: sendfile on|off
Default value: sendfile off
Context: http,server,location,if in location
#2,tcp_nopush
# Function: Enhance the transmission efficiency of network packets when sendfile is opened.
# Explanation: When tcp_nopush on, network packe ...
Posted by scliburn on Wed, 29 May 2019 11:45:55 +0200