Some basic global property settings

"appearance" is really a magic "attribute" in iOS. It is used to set global attributes. For example, it has written the automatic row height setting of 10000 times tableView. (PS. wrote a big bug. iOS 11 two days ago. All cells are the default height. The comment in Xcode9 is the default value, that is, ther ...

Posted by Dingbats on Sat, 22 Feb 2020 17:22:19 +0100

Object oriented of PYTHON (basic)

1, Create classes and objects Object-oriented programming is a kind of programming method. The landing of this programming method needs to use "class" and "object". Therefore, object-oriented programming is actually the use of "class" and "object". Class is a te ...

Posted by mattonline on Sat, 22 Feb 2020 12:45:55 +0100

Summary of the third week of Java basic learning

1, Summary of knowledge points 1. Object oriented 2. modifiers 1. Write a worker class and create multiple worker objects. 1. Add three private properties to the worker class: 1). Sting type name, indicating the name of the person. 2). int type age, indicating the age of the person. 3). double type sala ...

Posted by arbab on Sat, 22 Feb 2020 08:33:36 +0100

Kotlin coding specification used by BAT

The Kotlin coding specification used in a big BAT factory has added a lot of contents on the basis of the official Kotlin specification, which is of great reference value. Code organization [mandatory] in a mixed java source project, the Kotlin source file should be located in the same root director ...

Posted by thryb on Sat, 22 Feb 2020 06:06:07 +0100

laravel code focus

1. To create a project through composer: composer create-project --prefer-dist laravel/laravel laravel 2. Enter project: cd /var/www/html/laravel 3. To create a controller: php artisan make:controller StudentController 4. Create model classes and data migration files: php artisan make:model Student ...

Posted by ibanez270dx on Thu, 20 Feb 2020 04:54:06 +0100

Get object (tag) name, property, content, comment

How to get object (tag) name, attribute, content, comment and other operations by using the Python crawler beautifulsop 1, Tag object 1. The tag object is the same as the tag in the XML or HTML native document. from bs4 import BeautifulSoup soup = BeautifulSoup('<b class="boldest">Extremely bold&l ...

Posted by etoast on Wed, 19 Feb 2020 17:41:47 +0100

WeChat official account interface development -- reply message

WeChat official account interface development - reply message As a WeChat official account, interaction with users is very important. For example, according to the message sent by users and the user information (text, pictures, videos, pictures, etc.) that are passively answered by push events, I have ...

Posted by Mouse on Tue, 18 Feb 2020 14:07:56 +0100

Basic skills of Vue [VII. Vue router routing knowledge]

1. The concept of routing Concept of Routing: Back end Routing: for a normal website, all hyperlinks are URL addresses, and all URL addresses correspond to the corresponding resources on the server Front end Routing: for single page applications, the main way to switch between different pages is th ...

Posted by integravtec on Tue, 18 Feb 2020 11:18:05 +0100

Spring Boot returns XML

In general, RESTful is to return json. Sometimes it may be necessary to return xml. What should we do? Jackson Maven adds jar file import <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-xml</artifactId> </dependency& ...

Posted by POGRAN on Tue, 18 Feb 2020 04:40:45 +0100

jdk1.8 java.io.FileInputStream class source reading

introduce jdk explained: public class FileInputStream extends InputStream A FileInputStream gets input bytes from files in the file system.What files are available depends on the host environment. FileInputStream is used to read raw byte streams such as image data.To read a string, consider using File ...

Posted by Darrel on Mon, 17 Feb 2020 03:22:39 +0100