jquery custom alert
Antecedent: since the domain name will pop up in mobile devices, especially in IOS devices, it is necessary to customize the pop-up box;
But there is a problem: the custom confirm cannot be assigned in the callback function, and the self defined confirm does not return the Boolean parameter, so when modifying or deleting, click "OK" ...
Posted by frenchpl on Sun, 31 May 2020 06:55:35 -0700
Recycle view's checkBox reuse disorder solution
Solution to the problem of recycle view reuse disorder
Achieving results
Single item selection with checkBox
After killing the application in the background, enter the application again to display the options when killing the application in the background
Problem description
Because recyclerView adopts the reuse strategy, when refreshi ...
Posted by BinaryBird on Sat, 30 May 2020 23:01:19 -0700
Homebrew installation failed
Homebrew It is a package management tool under Mac OS platform, with many practical functions such as installation, uninstallation, update, view, search, etc. A simple instruction can realize package management, which is very convenient and fast without you caring about all kinds of dependencies and file paths.
Installation method
/bin/bash - ...
Posted by Arya on Sat, 30 May 2020 08:01:42 -0700
In the age of AI, play "airplane battle" with your face. PaddleHub makes you a face control player in seconds
Is it out to play airplane games with mobile phones in the AI era? Flying oarPaddle Hub takes you to experience different ways of playing games.
Since the birth of the first game in the world, video games need to rely on the handle and buttons. Whether it's PC games or XBOX, PS and other host games, the controller and handle ...
Posted by pugg09 on Wed, 27 May 2020 05:48:03 -0700
Android | super simple integration HMS ML Kit for maximum face smile capture
preface
if you have some knowledge of the face detection function of HMS ML Kit, I believe you have manually called the interface provided by us to write your own APP. At present, there are feedback from small partners in the process of calling the interface. It is not clear how to use the interface mlmaxsizefacetransportor in the ...
Posted by whizzykid on Mon, 25 May 2020 09:20:06 -0700
iOS uses UIBezierPath to realize unequal distance curve
iOS, there are many good third parties for drawing lines, such as Charts, ECharts, etc., but I didn't find the ones with unequal distance, so I simply implemented them myself. First of all, the effect
It's not too hard to draw lines and animations. I have customized a LineChartView and several models. The specific demo will be linked below
Se ...
Posted by m00ch0 on Mon, 25 May 2020 07:17:42 -0700
Getting started with python: crawling through pictures, articles and web pages
1, First, let's see how Python can simply crawl the web page1. Preparation The beautiful soup4 and chardet modules used in the project belong to the three-party extension package. If not, please install pip by yourself. I use pycharm to do the installation. Next, I will simply use pycharm to install chardet and beautiful soup4
Follow the steps ...
Posted by suspect on Sat, 23 May 2020 22:08:21 -0700
How to add click sound to buttons
preface
Many well-made apps have their own click sound effect, so how to achieve this effect simply is a concept called SoundPool , this class is mainly used to play some smaller audio files, because it is more convenient, usually used in the game more.
code
Without much gossip, we need to do a function now, ...
Posted by icedude on Sat, 23 May 2020 09:28:01 -0700
C language simple greedy snake learning
Just finished learning C language, I want to write a small project to consolidate the basic knowledge and lay a solid foundation for the next step of learning. Then I began to look for projects that can be done in the major websites and blogs, and finally I chose the snake eating game, most of which are called library functions, without the use ...
Posted by loki1664 on Wed, 20 May 2020 08:33:06 -0700
Mobile Development: The Ionic Framework for Registration and Login
Because the project is front-end and back-end separate development, the ionic framework is used on the mobile side and the SpringBoot framework is used on the back-end API interface.Backend implementations of registration and login can refer to my article: Backend development: SpringBoot implements registration and login functions .The ionic fr ...
Posted by gladiator83x on Tue, 19 May 2020 18:03:01 -0700