[c++11] right value reference, mobile semantics and perfect forwarding that I understand

      Right value reference and mobile semantics are introduced in c + +, which can avoid unnecessary duplication and improve program performance. It's a little hard to understand, so take the time to sort out your understanding. Left value, right value All values in C + + must belong to one o ...

Posted on Tue, 21 Jan 2020 01:36:03 -0800 by Ratzzak

Baidu translation project based on python crawler

Baidu translation calling project based on python crawler Preface Project overview difficulty Project steps and solutions to problems Observe the translation request format of Baidu translation Get sign value and token value Specific implementation process of crawler Preface I decided to learn ...

Posted on Tue, 21 Jan 2020 00:24:03 -0800 by anelka9

Occlusion of mobile soft keyboard

Article directory Introduction to scrollIntoView Specific use of anti blocking Using scroll to prevent occlusion Introduction to scrollIntoView In H5 page of mobile terminal, when the input box element gets the focus, the soft keyboard will be hoisted. If the input box is blocked by the soft key ...

Posted on Mon, 20 Jan 2020 21:02:22 -0800 by sergeidave

Generation diary of elderly remote monitoring crutches [the first bullet]

Generation diary of elderly remote monitoring crutches [the first bullet] Design conception Hardware list Hardware connection Related procedures Design conception It's no use talking before you get to the point. This design idea originates from my grandfather. Grandfather is old. Although his bo ...

Posted on Sun, 19 Jan 2020 22:37:22 -0800 by insub2

Using vue to control video and pop-up functions

2020-02-19 Two days ago, I wanted to talk about practicing vue, and I wrote a demo according to bilibili bili (I put this kind of imitation page for the first time, if there is anything inappropriate, please tell me). I wrote the core home page and video playing page, including controlling video and bu ...

Posted on Sun, 19 Jan 2020 03:10:17 -0800 by shoutdots

android 2048 game implementation code

1, Game interface effect display2, Layout Activity.xml code <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_conten ...

Posted on Sat, 18 Jan 2020 08:07:45 -0800 by chasiv

Chapter 5 common controls in Android studio APP development

Common controls Controls are added in the. xml file under the layout file directory. TextView Code example <TextView android:id="@+id/text_first" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Value display" android: ...

Posted on Sat, 18 Jan 2020 04:51:05 -0800 by SsirhC

Java+Selenium automated testing

Integration of Java+Selenium+TestNG automatic test framework 1. Simplified code Encapsulates a class for locating elements, of type ElementLocation package com.test; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import java.util.concurrent.TimeUnit; /** * Call the same method every time you locate an element * Encapsul ...

Posted on Thu, 16 Jan 2020 08:03:30 -0800 by Nightslyr

thinkphp6 uses jwt to generate token middleware to verify token

  jwt and tp middleware sound very tall. It took two days to read the documents and watch the video. I finally got a little understanding. I'll record it here. The following two questions need to be understood 1 what is jwt? JWT is a json based open standard (RFC 7519), which is designed as a co ...

Posted on Thu, 16 Jan 2020 02:49:23 -0800 by osiris1603

Design pattern abstract factory pattern

Last article: Factory mode 1. What is abstract factory mode? In the last article, we also said that the abstract factory pattern can be said to be a super factory, through which other factories can be created. In the abstract factory pattern, the interface is the factory responsible for creating ...

Posted on Thu, 16 Jan 2020 00:35:04 -0800 by wiegs