Some uses of TabLayout

] Similar to the above is horizontal sliding, the specific code begins to introduce. The usage in xml is as follows: <android.support.design.widget.TabLayout android:id="@+id/all_commodity_tablayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/white" ...

Posted on Sun, 05 Apr 2020 17:43:15 -0400 by amrigo

vue Monitor watch

vue Monitor watch new Vue({ el: '#root', template: `<div> <div>Name: {{name}}</div> <div>Name: {{getName()}}</div> <div>FullName: {{fullName}}</div> <div>FirstName: <input v-model="fisrtName" /></div> <div>LastName: <input v-model="lastN ...

Posted on Sun, 05 Apr 2020 17:37:56 -0400 by BinaryStar

Nginx Tomcat configuration https

1, Alicloud applies for free https certificate https://common-buy.aliyun.com/?spm=5176.2020520163.cas.1.5fdbb137e758gi&commodityCode=cas#/buy 2, Configure HTTPS for Nginx 1. Create a directory to store certificates: Create cert folder in Nginx home directory and cjjk folder in cert folder C:\infinit-server\nginx\cert\cjjk 2. Upload. key a ...

Posted on Sun, 05 Apr 2020 17:27:45 -0400 by searchman

Understanding of Spring IOC and AOP and how to solve circular dependency

IOC IOC, Inversion of Control, refers to the creation of objects (i.e. the new operation of bean s), which is implemented by Spring. Configuration through XML: bean tag is used to configure bean information managed by spring container. We can complete IOC configuration through bean tag. Use the default parameterless constructor to create cla ...

Posted on Sun, 05 Apr 2020 17:24:28 -0400 by amin1982

1. Use dom4j to parse XML file

1, Introduction of dom4j   dom4j is a Java XML API, an upgrade of jdom, which is used to read and write XML files. dom4j is a very good Java XML API has the characteristics of excellent performance, powerful function and extremely easy to use. Its performance is better than the official dom technology of Sun company. At the same time, it is als ...

Posted on Sun, 05 Apr 2020 17:03:46 -0400 by Mig

XLearning installation instructions document

1, Version Description hadoop 2.7.3TensorFlow 1.1.0xlearning 1.1java 1.8.0pyton 2.7.5 2, System environment installation 1. Install java Download the jdk-8u73-linux-x64.tar.gz package, unzip it, and place it in the specified directory (such as: / opt / xlsearching / software directory) tar -xzvf jdk-7u67-linux-x64.t ...

Posted on Sun, 05 Apr 2020 16:48:08 -0400 by rudy.siregar

HTML language learning, Web interactive behavior management, JavaScript language use

2018.03.29*****************************Good Day***************************** author: wills Today, we will introduce how to use HTML to make web pages to manage dynamic events, using JavaScript (js for short). Let's give you a simple example. If there is a very simple web page. A hotel, called hotel, has 15 rooms ...

Posted on Sun, 05 Apr 2020 16:11:19 -0400 by irishdreaming

BZOJ 2186 [SDOI 2008] puzzle and simple number theory of Princess sala

Portal thinking Reference code Portal thinking In order to complete this problem, we must first know such a conclusion: if gcd(a,b)=1gcd(a,b)=1, then gcd(a,b+a)=1gcd(a,b+a)=1. Combined with the proof process of rolling phase division, this conclusion is obvious. Therefore, what is required in the titl ...

Posted on Sun, 05 Apr 2020 16:06:33 -0400 by webrajesh

Java EE generated verification code for web forms

Nowadays, most websites or Web applications have implemented the function of verification code. Adding verification code can prevent hackers from using malicious programs to frequently log in, register and water in websites. The following example mainly uses the Jsp and Servlet Technology in Java EE, hoping to provide help for beginners. The ...

Posted on Sun, 05 Apr 2020 16:04:56 -0400 by paqman

java poi processes excel multiple sheet s and implements sorting

Requirement: there is a data dictionary full quantity summary table, in which the first sheet is the table of contents, including the number and table name, and the second sheet is the table details later. The sheet name is the table name, but it is unordered. The number of fields in the sheet is unordered and there are empty lines Now it is re ...

Posted on Sun, 05 Apr 2020 15:45:28 -0400 by mazazino