ios entry advertising
This article introduces a function that almost every APP needs to use. The APP starts the entry advertisement. I originally wanted to make ios android into Demo and put it on github. Considering the time relationship, it's OK. But I want to make sure that the code here can be run after copying and pasting, because I am also the God of copying a ...
Posted by Zetusko on Fri, 01 May 2020 04:11:30 -0700
The most comprehensive implementation of iOS full screen return navigation controller
github download link
The system gesture is added to the view of the navigation controller to realize full screen return. Many people will have many special needs in the visual project,
1: The model comes out with a navigation controller. I think when the sideslip reaches the root controller, the sideslip will be dissmiss
2: If the controller ...
Posted by tigomark on Thu, 30 Apr 2020 20:57:52 -0700
Spring Security OAuth2 integration of JWT
Json web token (JWT) is an open standard based on JSON, which is used to transfer statements between network application environments( RFC 7519 )The token is designed to be compact and secure, which is especially suitable for SSO scenarios of distributed sites. JWT declaration is generally used to transfer the authenticated user identity infor ...
Posted by Aaron_Escobar on Thu, 30 Apr 2020 19:00:28 -0700
Gorang multithreaded crawler
This is a golang crawler demo. It goes to the homepage of a beauty picture website
Adopt the way of gorang multithreading to crawl pictures and save the crawled pictures locally
In the code, it is useful to use chan, the data analysis framework of goquery web page, to control goroutine to download
http://www.umei.cc/
The header requested by ...
Posted by phu on Thu, 30 Apr 2020 11:05:50 -0700
Custom bootstrap table extension -- page to specific page
Bootstrap table is a very good jQuery table plug-in based on bootstrap, but the paging component does not support jumping to the specified page number at the beginning, so I plan to expand it myself.
Official source address: https://github.com/wenzhixin/bootstrap-table
The following is the extended js code. The key po ...
Posted by ctcp on Thu, 30 Apr 2020 02:00:55 -0700
Simple implementation of an ES5 Vue Dialog plug-in
Calling the Dialog component of van t is very cool, so I want to implement one myself~
Because of project compatibility, ES6 is not used
(1) The renderings are as follows:
(2) Configurable parameters: icon, content, whether to disappear automatically, whether to display the bottom button area, and button callback function
(3) Component code
...
Posted by nassertx on Wed, 29 Apr 2020 10:34:22 -0700
A good paging plug-in of Mybatis com.github.pagehelper
1. Need to import the jar package of PageHelper
If maven is not used, just import the jar package into the lib folder. The PageHelper plug-in has open source on github,
Address: https://github.com/pagehelper/Mybatis-PageHelper/tree/master/src/main/java/com/github/pagehelper.
If maven is used, the plug-in can be introduced in pom.xml as fol ...
Posted by Brown on Wed, 29 Apr 2020 09:07:49 -0700
pytest document 37 - Custom use case ordering
Preface
In the design of test cases, we generally require that there is no order. Use cases can disrupt the execution, so as to achieve the test effect When some students write use cases, they write the order of use cases. After the order, there will be new problems (for example, the data returned from the previous use case is used as the para ...
Posted by Wolverine68 on Wed, 29 Apr 2020 07:55:00 -0700
Using ProxySQL to realize MGR multi main mode load balancing
MGR multi main mode configuration load balancing
Experimental environment informationMySQL master-slave information
IP
role
188.188.0.68
Node1
188.188.0.69
Node2
188.188.0.70
Node3
ProxySQL version: 2.0.3-29-g00f26d5
>>>Server and user configuration<<<
1. Add backend database server
Admin> SELECT * FROM mysql_s ...
Posted by Ferenc on Wed, 29 Apr 2020 02:42:27 -0700
ProxySQL official file translation
14_ProxySQL_Configuration
Note: during the writing time of the article from April 201904 to may 201905, subsequent official updates in github were not written
~~How to configure proxysql in the simplest way
This simple HOWTO describes how to configure some components of ProxySQL step by step. Note, however, that this is not a complet ...
Posted by sri2002 on Wed, 29 Apr 2020 00:17:06 -0700