ByRecyclerView: true universal split line (linear / grid / waterfall flow)

Preface I've basically searched all the articles on the Internet that set the separator line through itemdecorated, but they are not satisfactory. Most of them are only applicable to some situations, such as setting only for linear layout, setting only color, setting drawable, not removing the separat ...

Posted by thinkgfx on Sat, 22 Feb 2020 22:35:37 -0800

HTML tag for simple registration interface

After watching the teaching video, I can get the code and knowledge points down here for my convenience in the future. HTML code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Registration page</title> </head> <body> < ...

Posted by one on Fri, 21 Feb 2020 02:00:16 -0800

What's wrong with the lack of page components in the mobile preview of applet development

A few days ago, I found a non code error in learning the wechat applet: Upper code <!--wxml--> <camera class='camera-cls'> <cover-view class='cv-cls'>Please put the car body in the viewfinder~</cover-view> <cover-image src='carBackground.png' class='cb-cls'></cover- ...

Posted by sayedsohail on Tue, 18 Feb 2020 05:49:31 -0800

stm32cubeMX learning 18. SD card virtual U disk experiment

This program is based on the operation environment of STM32F103ZET6. I had some losses before running this experiment. Let me come together! 1. After the software was written, it was found that there was no enumeration of USB after the USB cable was inserted and connected to the computer resolvent: ...

Posted by kokomo310 on Tue, 18 Feb 2020 05:20:57 -0800

Learn python-day03-10 --- transfer from Django+Xadmin to build online education platform with online standards

Section 382: Django+Xadmin create online standard online education platform - xadmin advanced 1. Background administrator details page layout The details page of the background administrator. Blocks can be dragged and divided into many blocks The layout of this page is in the UserAdmin class in xadmin/ ...

Posted by ropic on Mon, 17 Feb 2020 19:57:48 -0800

Learn from day004 --- transfer from Python distributed crawler to create search engine Scrapy

Section 327, web crawler introduction 2 - urllib library crawler Write a simple crawler using the urlib Library of python system urlopen() gets the html source of a URL read() reads the html source content decode("utf-8") converts bytes to strings #!/usr/bin/env python # -*- coding:utf-8 -*- i ...

Posted by _DarkLink_ on Mon, 17 Feb 2020 00:38:08 -0800

Flutter has fun in 3d

1, Principle: Above: as follows The reason why three-dimensional (3d) is different from two-dimensional space is that it has vector, position and volume. In Flutter, we can find that Vector3, a three-dimensional vector class, is provided: it has position, direction, Euler angle information, and some vector functions. I h ...

Posted by spags on Sat, 15 Feb 2020 07:25:30 -0800

vue page parameter $route edit Preview

List page 1. Page section <el-table :data="testpage.slice((currentPage-1)*pagesize,currentPage*pagesize)" border style="width: 100%" >     <el-table-column prop="id" :inputValue="msg" label="ID" width="180"></el-table-column>     <el-table-column prop="title" label="Title"></el-table-column>     ...

Posted by ucbones on Sat, 15 Feb 2020 06:50:44 -0800

React Navigation 5.0 Series 1: Use of StackNavigator

Presumably the reader's friends are Official announcement: Major updates to ReactNative Navigation Library This article learns that React Navigation, the official route navigation library recommended by React Native, has been updated to the 5th edition. It also learns about specific improvements and changes. Interested friends can read this art ...

Posted by OMorchoe on Fri, 14 Feb 2020 22:13:01 -0800

Two encoding formats for Post requests: application/x-www-form-urlencoded and multipart/form-data

In common business development, POST requests are often used in these places: when front-end forms are submitted, when interface code is invoked, and when the Postman test interface is used.Let's take a look: 1. When a front-end form is submitted application/x-www-form-urlencoded Form code: <form action="http:// ...

Posted by buzzed_man on Thu, 13 Feb 2020 20:00:26 -0800