More than just setting up a backend development environment for LNMP

Preface The goal of this project is to install a series of common application services for back-end development on the newly installed CentOS 7.5 system (CentOS installation is not described here), and to deploy a website using phpMyAdmin as an example. Nginx(1.16) MySQL(8.0, Start Up) PHP(7.3) Redis(1.5) memcached(1.4) Composer(1.8) phpMyAdmi ...

Posted by spamyboy on Fri, 26 Apr 2019 10:12:35 -0700

The combination of Memcache and PHP adds cache to PHP

I. concept 1. What is memcache Memcached is a free, open source, high performance, distributed memory object caching system Memcached is a software developed by Brad Fitzpatric of Danga Interactive, a company owned by LiveJournal. Now it has become an important factor to improve the extensibility of Web applications in m ...

Posted by markjreed on Wed, 24 Apr 2019 13:30:34 -0700

Kuangbin takes you to the basic DP project

There are so many DP projects of bin God. I'll sort out the basic DP projects I've done. HDU1029 Ignatius and the Princess IV http://acm.hdu.edu.cn/showproblem.php?pid=1029 meaning of the title Give n, and N numbers, and find the number that appears at least (n+1)/2 times. thinking At least (n+1)/2 times, if this number e ...

Posted by hemantraijain on Tue, 23 Apr 2019 12:03:34 -0700

Understanding Dependency Injection and Handwriting Simple IOC Containers in PHP

Preface Good design improves the reusability and maintainability of programs, and indirectly improves the productivity of developers. Today, let's talk about dependency injection, which is used in many frameworks. Some concepts To understand what dependency injection is and how dependency injection is, we first need to clarify some concepts. DI ...

Posted by Flames on Mon, 22 Apr 2019 20:48:35 -0700

How Hyperledger Fabric Node.js uses channel-based event services

This tutorial illustrates the use of channel-based events. These events are similar to existing events, but specific to a single channel. When setting up listeners, clients have some new options for handling channel-based events. Starting with v1.1, channel-based events are a new feature of the Hyperledger Fabric Node.js client. For more inform ...

Posted by impulse() on Mon, 22 Apr 2019 13:36:34 -0700

Revamping of Old Projects

Preface Old project, React + PHP + nginx Project situation PHP terminal configuration In terms of PHP running environment, some of the development environments are wamp (apache + PHP), and some are np (Nginx + PHP). Operating system: Most of them are win environments, a few are MacOS systems, while the server is centOS systems. directory stru ...

Posted by zubinkasad on Sun, 21 Apr 2019 23:27:34 -0700

Summary of Several ajax Request Methods in Practical Business

Recently, we made a function page to measure the speed of a single node. The logic of speed measurement is that when we measure the upload speed, the front-end transmits 5m data to the server, records the time of uploading and returning data, downloads 1m data from the server, records the successful time of downloading and downloading, uploads ...

Posted by limey on Sun, 21 Apr 2019 23:09:34 -0700

Ajax Write Paging Query (Implement No Refresh Page)

Requirement:     To obtain a large amount of information in the database and display on the page, it is necessary to use paging query. If you don't use Ajax, but use other methods, you must refresh the page. The user's physical examination is very bad. So it's better to use Ajax to write paging queries. 1. Find a table with a lot of data first ...

Posted by DontheCat on Sun, 21 Apr 2019 10:15:36 -0700

SQL Injection Experiment

Information Security Experiment SQL Injection I. Experimental Contents 1.Finish all six challenge on the website,or give the reason why the protection is unbreakable(need an experiment report ). 2(Extended work).Tell me why [input = a' or '1=1' or '1=1] doesn't work on the login website in your experiment report. II. Experimental proces ...

Posted by juliston on Sun, 21 Apr 2019 00:00:34 -0700

XML Interpretation of Agisoft Photoscan/Mateshape Camera Parameters

XML Interpretation of Agisoft Photoscan/Mateshape Camera Parameters Agisoft Photoscan / Mateshape is a high-quality three-dimensional modeling software using photos. It only needs a few photos to reconstruct the scene sparsely and densely. Photoscan reconstruction results can be derived in the form of point cloud (.ply) and ca ...

Posted by jrtaylor on Sat, 20 Apr 2019 19:36:34 -0700