TabLayout and NestedScrollView (with demo)

Unconsciously, this is the sixth article of the topic "Material Design Initial Learning Notes". This article ends, and the topic will be temporarily over. But it's not the end. Maybe it's just another beginning.Preface to "Material Design Initial Learning Notes"Animation (including demo)Material Design Initial Learning Notes ...

Posted on Tue, 01 Jan 2019 21:42:09 -0800 by jedney

Using log4j to segment tomcat's catalina.out output file

Recently, to build a load balancing server, the back end uses tomcat as the application server, which mainly needs to solve the problem of too large tomcat output log. Think about it, use log4j to segment the log. The main tasks are as follows: Using log4j to split logs, you need to download the jar package support of tomcat. The version of To ...

Posted on Tue, 01 Jan 2019 17:18:09 -0800 by st0rmer

< Translation > Python 3 Module of the Weekcd - -- Internet

Python 3 Module of the Weekcd--Internet Internet The Internet is a very popular field of modern computers. Even small, single-purpose scripts frequently interact with remote servers to send or receive data. Python provides a rich set of tools to handle Web protocols, so it is very suitable for writing Web-based applications (whether as clients ...

Posted on Thu, 27 Dec 2018 18:18:07 -0800 by bravo14

Python for Data Analysis v2 | Notes_ Chapter 3 Python Data Structure, Functions and Files

I use Sean Cheney series of special articles and original books as learning resources to record personal notes, which are only used for knowledge recording and later review. The address of the original author is checked. Sean Cheney If there are any mistakes, criticism and advice are also expected. -- ZJ Original Au ...

Posted on Wed, 26 Dec 2018 11:39:07 -0800 by aim25

Common linux commands sort,uniq,cut,wc

sort The sort command sorts the rows in the file specified by the File parameter and writes the results to standard output. If the File parameter specifies multiple files, the sort command links them together and sorts them as one file. sort syntax [root@www ~]# sort [-fbMnrtuk] [file or stdin] Options and parameters: - f: Ignore the diff ...

Posted on Wed, 26 Dec 2018 10:12:06 -0800 by Bad HAL 9000

Talk about the typical use of I/O streams in Java I/O systems (with examples)

In the following examples, all exception handling is simplified to the console. In practical projects, it is recommended to add more complex error handling capabilities. 1 Read files (with buffer) If you want to open a file and read characters from it, you can use FileInputReader. But when using FileInputReader to read characters, it will ...

Posted on Mon, 24 Dec 2018 15:15:06 -0800 by ziong

My Android Advanced Journey - --&gt;android Matrix image zoom and zoom randomly, drag and drop

Step 1: Create a new project DragAndZoom and prepare a photo to be placed in the res/drawable-hdpi directory        Step 2: Set up the UI interface of the application and set it in main.xml: [html] view plain copy print? <?xml version="1.0" encoding="utf-8"?>   <LinearLayout xmlns:android="http://schemas.androi ...

Posted on Sun, 23 Dec 2018 15:54:06 -0800 by erika_web

iOS Development runtime Principles and Practice: Basic Knowledge Papers (Classes, Superclasses, Metaclasses, Superclass, isa, Objects, Methods, SEL, IMP)

ABSTRACT: This article first introduces the principles of runtime, including the concepts of class, super class, metaclass, super_class, isa, object, method, SEL, IMP, and API related to these concepts. Then it introduces the process of method invocation and the process of finding IMP. Then, I introduce the common usage of these A ...

Posted on Sat, 22 Dec 2018 07:03:06 -0800 by VBAssassin

Number type, String type, Global object, Math object summary in JavaScript

http://blog.csdn.net/bboyjoe/article/details/51532319 Number type valueOf(): Returns the value of the basic type represented by the object. toString(): Passes a parameter representing the cardinality, telling it to return the string form of a numeric number of decimal digits. var num=10;   console.log(num.toString());/ ...

Posted on Sat, 22 Dec 2018 02:00:06 -0800 by Unseeeen

Solutions to still scrambling after response.setContentType("text/html;charset=utf-8")

From the browser to the server, the server will get the data and then display it on the browser. The problem of Chinese character scrambling has been used.   response.setContentType("text/html;charset=utf-8"); Set the browser code to utf-8, but still scramble The source code is as follows: package com.swift; import java.io.File; import java. ...

Posted on Fri, 21 Dec 2018 15:36:05 -0800 by cfgcjm