249. Responsive layout of bootstrap (grid system)

Responsive layout# I. purpose: the same set of pages can be compatible with devices of different resolutions. 2. Implementation mode: using grid system to achieve: A row is divided into 12 squares. You can set an element to occupy several squares according to the size of the screen. III. steps: Step ...

Posted by antonello on Tue, 25 Feb 2020 20:06:38 -0800

Business logic implementation of SMS verification code

Mobile phone verification code is a function that we use in our daily life So let's assume that we can make this function work There are many ways to achieve this. Some of them are in slow storage Here I simply record the implementation process of the latter! First, make a button to submit the u ...

Posted by tsilenzio on Tue, 25 Feb 2020 19:56:11 -0800

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 separator line of HeaderView, configuration trouble ...

Posted by Nixon on Tue, 25 Feb 2020 04:15:46 -0800

Anti war -- wechat applet

Wechat applet brief introduction Wechat applet is a new way to connect users and services. It can be easily obtained and spread in wechat, and has an excellent use experience. Advantages and disadvantages Advantage 1. It's really convenient for users to use. When they want to use it, they can turn ...

Posted by fireant on Mon, 24 Feb 2020 01:42:47 -0800

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