iOS - Native Social Sharing to Instagram and Facebook

Apps made by some friends may need support to share with Instagram, and bloggers are meeting this need to share with Ins and Facebook. 1. Facebook (1) It is very convenient to use SLComposeViewController. The optional social platforms are Weibo, Weixin, Twitter, Facebook, and the effect is good. They support positioning and sharing pictures ...

Posted by MichaelGallagher on Wed, 26 Jun 2019 13:52:48 -0700

android Custom view Ninth Palace Unlocking

android Custom view Ninth Palace Unlocking See the source code for more details. https://github.com/que123567/lockview 1. Define a class as a grid of nine palaces Contains coordinates and indexes (used to record passwords) point contains three states corresponding to three different picture styles of points in different situations pack ...

Posted by rweston002 on Tue, 25 Jun 2019 16:54:13 -0700

Qualified Front-end Series Fifth Bullet-Virtual Dom & Diff

Preface This is a long article!!! Stick to see the last eggs!!! At the beginning of the article, let's think about a question. Everyone says that virtual dom is what virtual dom is. First of all, we have to make it clear that the so-called virtual dom is the virtual node. It simulates nodes in DOM through JS Object objects, and then renders ...

Posted by rpieszak on Fri, 21 Jun 2019 16:03:35 -0700

Processing flow of request in RGW for source code interpretation

Processing flow of request in RGW for source code interpretation Request Processing Flowchart Take civetweb as an example rgw_main.cc is the entry for the entire radosgw service. The main() function selects different front-end types based on the rgw frontends parameter settings in ceph.conf, and then executes the corresponding run() method t ...

Posted by SQL Maestro on Thu, 20 Jun 2019 13:00:30 -0700

Learning ES6, one article is enough.

Introduction to ES6 ECMAScript 6, short for ES6, is the next generation standard of JavaScript language, which was officially released in June 2015. Its goal is to enable JavaScript language to be used to write complex large-scale applications and become an enterprise-level development language. The relationship between ECMAScript and JavaScrip ...

Posted by davser on Wed, 19 Jun 2019 13:16:08 -0700

Fifty classic Java questions 11 to 20

[Procedure 11] Topic: There are 1, 2, 3, 4 digits. How many different and non-repetitive three digits can be formed? How many are they?   1. Program analysis: The numbers that can be filled in 100, 10 and 4 bits are 1, 2, 3 and 4. After all the permutations are made up, the permutations that do not satisfy the conditions are removed. [P ...

Posted by slands10 on Tue, 18 Jun 2019 15:33:56 -0700

SignalR Self Host+MVC and other multi-terminal message push services (1)

I. Overview Because of the need of the project, there is a module function in the company's project recently, which requires immediate approval notification. The original design scheme is to use ajax to poll the server regularly. At the beginning, when the amount of data and usage is not large, it's good. Later, with the increase of usage and ...

Posted by hometoast on Tue, 18 Jun 2019 13:39:21 -0700

aes encryption (encapsulation) of ecshop

From a company that makes shopex and ecstore to a company that makes b2b ecshop, we have to go into action when we come. Let's leave the rest aside, let's first understand what aes encryption of php is. AES (Advanced Encryption Standard), AES block length fixed at 128 bits, key length can be 128, 192 or 256 bits; it is a reversible encryption m ...

Posted by mikesmith76 on Tue, 18 Jun 2019 10:37:34 -0700

Deep understanding of Android Custom View

1. Android Control Architecture Each control of Android is a rectangular area, roughly divided into two categories, inheriting View and ViewGroup. ViewGroup is equivalent to a container. It can manage multiple sub-Views. Controls on the whole interface form a tree structure, which is commonly referred to as the control tree. The upper control ...

Posted by exa_bit on Mon, 17 Jun 2019 09:23:56 -0700

CDQ Divide and Conquer (Learning Notes)

Offline algorithm-CDQ divide and conquer   CDQ (SHY) is obviously a person's name, Chen Danqi (MM) (NOI 2008 gold medalist). Start with merging (instead of reverse-order pairs, we want to introduce divide-and-conquer ideas directly instead of processing objects) A very simple merge sort: a disorderly sequence, each time it is folded ...

Posted by Buglish on Sun, 16 Jun 2019 10:58:20 -0700