iOS UITableView load webView highly adaptive

As we all know, after IOS 8, apple added WKWeBView. Before that, everyone used UIWebView. I have been using UIWebView since I came out. Recently, I heard that UIWebView will expire in the future, so this article takes WKWeBView as an example Implementation principle: Customize UITableViewCell, add scrollView to cell, and then ...

Posted on Thu, 23 Jan 2020 07:56:21 -0800 by Eminem

Daily AC series: sum of three

1 topic LeetCode question 15 , medium difficulty, Title Description: Given a n array of N integers nums, judge whether there are three elements a, b, c in nums, so that a + b + c = 0? Find all triples that meet the conditions and are not repeated. Note: the answer cannot contain duplicate triples. 2 solution Whatever comes first, O(n3): for(in ...

Posted on Thu, 23 Jan 2020 06:42:23 -0800 by gojiita

A solution of HTML 5 canvas adaptive mobile screen size

1, Final effect In order not to waste your time, first show the final effect and see if it is the solution you need: Full project address: https://github.com/zxf20180725/canvas_auto-adapted Standard resolution: Adaptation of other resolutions: Two, demand 1.canvas content can be displayed o ...

Posted on Thu, 23 Jan 2020 02:53:00 -0800 by eyekkon

MyBatis reverse engineering: automatically generate model, xml Mapping file and mapper interface according to data table

Use of MyBatis Generator (MBG) MBG can generate the corresponding model, xml Mapping file and mapper interface according to the data table, which is just a simple generation and needs to be modified according to the needs.   1. Download jar package https://github.com/mybatis/generator/releases After decompression, there are three jar packages, ...

Posted on Wed, 22 Jan 2020 07:40:32 -0800 by ATLien

Github Actions is automatically backed up to the code hosting website through SSH

This article is original, reprint please indicate the source, welcome your attention My new blog demand Each time you put the source code on a different platform, you need to do the following: Prepare a physical machine, create a key and configure the public key of the corresponding website Multiple ...

Posted on Mon, 20 Jan 2020 22:50:38 -0800 by laflair13

Sketch - three and a half sentences - recite apk

1. demand At the annual meeting of the company, each department is required to produce a program. Our interface is the skit "three sentences and a half". Four people, each of them say a sentence, but the line is too long, so they wrote a demo to recite the line. In the final 10 programs of t ...

Posted on Mon, 20 Jan 2020 10:48:02 -0800 by leena86

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

go microservice framework kratos learning note seven (kratos ward load balancing balancer)

go microservice framework kratos learning note seven (kratos ward load balancing balancer) Article directory go microservice framework kratos learning note seven (kratos ward load balancing balancer) demo demo server demo client pool dao service p2c roundrobin grpc official load balancing workfl ...

Posted on Sun, 19 Jan 2020 05:03:57 -0800 by penguinboy

More elegant use of limit (the effect of limit on the performance of mysql data query)

More elegant use of limit (the effect of limit on the performance of mysql data query) This paper re typesetting based on zhangyachen Source: zhangyachen https://github.com/zhangyachen/zhangyachen.github.io/issues/117 I. Preface First of all, explain the MySQL version: mysql> select version() ...

Posted on Sun, 19 Jan 2020 01:44:13 -0800 by lynncrystal

ES2.3 cloud real record based on snapshot migration

Background: 1. According to the company's cloud plan, N sets of ES2.3 clusters in the current production environment need to be moved to the Alibaba cloud ES environment. However, due to the limited disk space in the production environment, the "source" is not enabled, so data migration cannot be performed through reindex. Here, you ...

Posted on Thu, 16 Jan 2020 09:04:05 -0800 by plouka