Convert two-dimensional structure tables such as xls to tab-separated txt text (to return, tab)

Purpose: Converting two-dimensional structure tables such as xls to tab-separated txt text content Usually used for the transformation of txt database (emphasis: go cell, return line, tab) Advantage: independent of the operating environment. The local computer can open a single page html file. , ...

Posted by linkskywalker on Mon, 14 Oct 2019 08:11:23 -0700

Spring's Learning _ 2.IoC Control Inversion

1.Ioc (inversion of control) controls inversion (an idea). IoC is an idea. Before that, the creation of objects used in programs must be completed by programmers. IoC entrusts the creation, preservation and management of objects (life cycle) to Spring, so Spring is also equivalent to a container (object of objects stored), which is the process ...

Posted by hammerslane on Mon, 14 Oct 2019 07:33:59 -0700

Android Studio plug-in development MVP framework code generation plug-in

I. overview When using Android Studio, plug-ins are often used to improve development efficiency (laziness). Some of them are commonly used: GsonFormat, ButterKnife, etc. Because introducing the mvp architecture into the project and writing various classes is a very tedious and repetitive task, so I wrote this plug-in at that time. Now I just ...

Posted by hoolahoops on Mon, 14 Oct 2019 05:53:46 -0700

Maven: How to add resources and class files when using spring-boot-maven-plugin

When using spring-boot-maven-plugin to package JAR for current projects, it is often necessary to add some resources and class files under non-default paths to the JAR package. The following can be configured in pom.xml <build>     <plugins>         <plugin>             <group ...

Posted by dniezby on Sun, 13 Oct 2019 14:07:57 -0700

Tomcat Virtual Host or Secondary Domain Name Configuration

Project Host Configuration Based on Virtual Directory In Tomcat, the default virtual directory is webapps, but for the project location, we can also set up Context to achieve, a Host can set up more than one Context; <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xm ...

Posted by Wldrumstcs on Sun, 13 Oct 2019 11:27:47 -0700

Step by step analysis of spring bean life cycle

The life cycle of spring beans is the basis and difficulty for further study of spring. This article will elaborate the life cycle of spring beans in the way of code + graphic conclusion. This article will clarify the following figure.   I. Project structure and source code 1. Program directory structure  2.applicationContext.xml &l ...

Posted by zenabi on Sun, 13 Oct 2019 10:20:41 -0700

Android Uses Popup Windows to Customize Bubble Bubble Window

As a rookie, he suddenly wanted to know about the bubble pop window, so he wrote a simple pop window to look for information. Personal feeling is in line with the level of novice birds;   First, customize the bubble box public class MyLinear extends LinearLayout { private Paint paint; // ...

Posted by roliver on Sun, 13 Oct 2019 08:55:04 -0700

Android Development (10) ActionBar & Message & Notification & Broadcasting is all in this article!

I. Use of ActionBar Action Bar is the application of the top rectangular bar, the content is generally app icon, app name, menu buttons, tab navigation, etc. 1. Display and hide ActionBar xml method: Setting the theme attribute of application or activity in manifest can display and hide (theme with NoAction Bar) java method: first, getSupportAc ...

Posted by Irvin Amoraal on Sun, 13 Oct 2019 08:42:57 -0700

SpringBoot is packaged as a war package and runs in tomcat

Let's take a look at the simplest project I've created. controller class @RestController public class TestController { @RequestMapping("index") public String index() { return "hello"; } } The pom file hasn't been modified, so let's start the project directly. Look at the version of embedded tomcat in the startup log. My ...

Posted by robpoe on Sun, 13 Oct 2019 05:41:56 -0700

Summary of IoC Loaded Bean Definitions

Recently, the spring source code has been re-parsed so that I can better read the spring source code in the future. If you want to discuss it in depth, Please add me QQ:1051980588. 1 ClassPathResource resource = new ClassPathResource("bean.xml"); 2 DefaultListableBeanFactory factory = new DefaultListableBeanFactory(); 3 XmlBeanDefinitionRe ...

Posted by maga2307 on Sun, 13 Oct 2019 03:46:45 -0700