android----------------------- Composite Control Page for Custom Controls

The previous section describes the custom properties of custom controls, addresses: https://my.oschina.net/zhangqie/blog/1805970 This post is mainly about custom control combinations to improve layout reuse   Benefits of using custom composite controls? In project development, we often encounter many similar or identical layouts, such as t ...

Posted on Sun, 22 Mar 2020 09:58:06 -0700 by Foser

A brief introduction to the separator of custom TabLayout

You must be familiar with using custom TabLayout as the indicator of ViewPager. If you don't know about custom TabLayout, you can have a look at it Showdy Written Custom style of TabLayout . In this article, I will not repeat too much about how to customize the style of TabLayout, but simply talk about how to customize the se ...

Posted on Fri, 20 Mar 2020 13:13:28 -0700 by Moocat

Teach you to use Python to make the Internet of things. It's so awesome that beginners can understand it

There are many ways to build a complete Internet of things system. Recently, we have been building a set of simplest Internet of things system with python + Alibaba cloud, which can transfer the data on the single chip computer to the PC through Alibaba cloud. Note: many people will encounter all kinds of problems in the process of learning pyt ...

Posted on Fri, 20 Mar 2020 02:52:52 -0700 by visonardo

Python exports SqlServerl data dictionary as excel

Define three methods 1. Define a getData() method to get data2. Define a method to export excel table exportSqlServer()3. Define a method to get type of (), which is used to identify the queried data Here's the code from datetime import datetime import os import pymssql as pymssql import xlwt def getData(): connect= pymssql.connect(host, ...

Posted on Wed, 18 Mar 2020 07:59:55 -0700 by stallingjohn

Spring annotation - life cycle, attribute assignment, auto assembly

1, Bean's life cycle Technological process Bean creation - initialization - Destruction Establish: Single instance: creating objects when container starts Multiple instances: creating objects on each call Initialization: After the object is created, the initialization method is called Destruction: Single instance: call destroy method when ...

Posted on Wed, 18 Mar 2020 05:38:08 -0700 by jay7981

Disruptor Practice (with Source Code) in Ant Golden Clothing Distributed Link Tracker Component SOFATracer

SOFAStack(Scalable Open Financial Architecture Stack)It is a financial cloud native architecture developed by Ant Golden Suit and contains the components needed to build a financial cloud native architecture. It is a best practice refined in a financial scenario. SOFATracer Is a component for distributed system call tracking, which is unified ...

Posted on Tue, 17 Mar 2020 19:53:36 -0700 by jockey_jockey

python basic learning day7

Supplement of basic data type; advanced coding str capitalize() first letter (first word) upper case, others lower case s1 = 'I LIVE YOU' print(s1.capitalize()) >>>I live you title() capitalizes each word. (a word is separated by special characters (not letters) s1 = 'I LIVE YOU' print(s1.title()) >>>I Live You swapcas ...

Posted on Tue, 17 Mar 2020 04:58:01 -0700 by Salsaboy

Hook crawler (single and multi thread)

Hook crawler Crawling method Matters needing attention Key example Single thread example Multithreading example Crawled data Crawling method emmmm here is to find the law of page number from the homepage This rule is easy to find, but the page number has changed The following is the main page of ...

Posted on Tue, 17 Mar 2020 01:08:14 -0700 by d-woo

Expression expression tree

1, Understanding Expression 1. In the last article, we talked about Entrust (forget to take a look at it, like it and form a habit). Today's expression has a little relationship with delegation (no direct relationship, just want you to see my other articles). Expression is prepared by. NET for Linq to Sql, and its named space is System.Linq.Exp ...

Posted on Tue, 17 Mar 2020 00:48:42 -0700 by Ashh RA

Spring: configuration parsing of configuration file header

Recently, spring MVC is used in the company's projects, so I have to learn from it. I believe you should see a lot of spring configuration files, so what do you know about the head of configuration files? Let me share some of my opinions with you: First, take a familiar header configuration file: ...

Posted on Mon, 16 Mar 2020 21:23:26 -0700 by cshinteractive