Problems encountered by Cordova when using QR scanner plug-in

In fact, the qrscanner plug-in is not a big problem. The only problem is that on some mobile phones, the camera preview cannot be started when it is first opened. To be exact, the camera preview has been opened, but it is blocked by a layer of white. After a long time of research, no reason has been found, but the solution has ...

Posted by jcanker on Tue, 31 Dec 2019 17:42:20 -0800

PHP realizes the effect of similar question bank

PHP realizes the effect of similar question bank Hello everyone, I think someone is back. I learned a little bit about PHP recently, and then I want to write a simple example to try. So I wrote something similar to extracting questions from the question bank, which is to input the number of questions to be extracted first, and then randomly ext ...

Posted by doox00 on Tue, 31 Dec 2019 17:05:26 -0800

BZOJ 3932 [CQOI2015] task query system

Title Link https://www.lydsy.com/JudgeOnline/problem.php?id=3932 Title Solution Each process is divided into two operations: the start process and the end process. The priority is discretized and then sorted by time. Build a chairman tree, the interval is the discrete priority size, each time build a root. For each opera ...

Posted by ven0mblade on Tue, 31 Dec 2019 11:22:49 -0800

Developing JSSDK of wechat web page in PHP or HTML

Recently, the company has developed several wechat pages for publicity, which mainly use JSSDK, and how to use it to share small icons and text descriptions with friends and friends. First, we need a certified service number to add our own server path under the public address Settings > function settings ->JS interface ...

Posted by jane on Tue, 31 Dec 2019 08:05:40 -0800

Hungarian algorithm for binary graph matching of hdu4619 Warm up 2

Title Link: http://acm.hdu.edu.cn/showproblem.php?pid=4619 I learned the magic Hungarian algorithm QwQ tonight The main idea of the question is to give the coordinates of many 1 * 2 and 2 * 1 blocks, so as to ensure that there is no overlap between 1 * 2 blocks and 2 * 1 blocks, and at most several blocks do not overlap each ...

Posted by Spud_Nic on Mon, 30 Dec 2019 10:33:17 -0800

PHP Express query API interface, which can be used directly if necessary

It is suitable for docking, such as crowd, enterprise, e-commerce website, WeChat public number platform, which involves regular delivery and express delivery. Support more than 300 domestic and foreign express delivery and logistics companies' express bill number one-stop query. instructions: 1. Kuadidi api.php doesn't need ...

Posted by jerastraub on Sun, 29 Dec 2019 07:20:56 -0800

Three ways to implement 404 pages in Nginx

A website project can't avoid 404 pages. When using Nginx as a Web server, there are the following centralized configurations: First: Nginx's own error page Nginx accesses a static html page. When the page does not exist, nginx throws 404, so how to return it to the client 404? Look at the following configuration. In this ca ...

Posted by pentinat on Sat, 28 Dec 2019 13:23:23 -0800

Should the program write log files unlocked

log To make my thoughts clearer, I'll call the log below.Because the word log has two meanings, see Baidu Encyclopedia Explanation perhaps Wikipedia Explanation. diary Another way of saying this.The word "journal" itself means "record". A journal is a daily record (usually related to the author). Server Log (server log) ...

Posted by cetaces on Sat, 28 Dec 2019 12:46:51 -0800

Source Explanation for Ajax Actual Projects (Quick Start Example) Github Source

Author| Jeskson Source|Dada Front End Bistro Source address: https://github.com/huangguangda/Ajaxitm What is Ajax technology?Use Ajax technology in the real world, understand the way the front and back end interact, understand the mode of the mobile end, understand the new technology of H5, understand the use of CSS3, and the use of JQuery. Aj ...

Posted by ody on Sat, 28 Dec 2019 11:45:40 -0800

PHP mail sending class library PHPMailer extension using demo

Installation and use of PHPMailer class library Download PHPMailer class library and use demo: Address: https://download.csdn.net/download/fenqing666/10681461 Preconditions: First: remove the following two semicolons from php.ini                ;extension=php_sockets.dll                ;extension=php_openssl.dll And restar ...

Posted by reddymade on Sat, 28 Dec 2019 10:54:47 -0800