windows installation Sphinx 3.0.1 (Chinese search)

The introduction of sphinx is not much, please check the document directly 1. Download the latest version of sphinx from the spinx official website. Address: http://www.sphinxsearch.com/ 2. Create a new data and log directory 3. Create a new sphinx.conf configuration file and put it in bin directory For inform ...

Posted on Fri, 03 Apr 2020 07:02:08 -0700 by tonymontana

Practical development of Pokemon game based on Ethereum

In this tutorial, we will learn how to develop a small game based on ERC721, which is similar to the decentralized version of Pok é mon game. The development tool used in the tutorial is Truffle, the development language is solid, and the third-party library is OpenZeppelin. Learn Ethereum in your familiar development language DApp Deve ...

Posted on Fri, 03 Apr 2020 01:29:41 -0700 by Dream$of$uccess

CentOS 6. X installs the specified lnmp version

1, Install nginx Original text: https://www.linuxidc.com/Linux/2016-07/133283.htm The first step is to create a source configuration file nginx.repo in the directory / etc/yum.repos.d / cd /etc/yum.repos.d/ vim nginx.repo Fill in the following: [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$bas ...

Posted on Thu, 02 Apr 2020 23:10:05 -0700 by HP400

Zhimeng calls all columns (unlimited column output)

Share 2 ways to get all columns of Zhimeng (unlimited column output) The first method of custom function recursion For simple style users in the front end, add at the bottom of include/extend.func.php /** * Take out all categories * @param int $channel channel ID * @return string * call{dede:global.getall ...

Posted on Thu, 02 Apr 2020 21:00:39 -0700 by hastishah

Analysis of the implementation principle of fetch

Explain fetch implements data request based on the native XMLHttpRequest object. At the same time, fetch is also based on Promise to implement chain call. Then, the essence of implementing fetch is to realize the encapsulation of ajax and the implementation of Promise. Encapsulation of ajax In the native api, the XMLHttpRe ...

Posted on Thu, 02 Apr 2020 08:15:08 -0700 by Edward

Upload the image to the server with the latest Alamofire (swift 4.1) (with parameters) post method

Upload pictures to the server with the latest Alamofire (swift 4.1) (with parameters) 1. Prepare parameters let image = UIImage(named: "xxx") //The parameter after converting the picture to JPEG type data is compression ratio let jpegImage = UIImageJPEGRepresentation(image!, 0.5) //Parameters to be passed (such as the ...

Posted on Thu, 02 Apr 2020 00:14:55 -0700 by gooney0

Local storage implementation pop-up window only displays three times

Cause: The company often does activities, so it needs to pop up a pop-up display on the home page to remind users to participate, so pop-up displays are often available recently. But sometimes the display of pop-up window is just to remind users, and only three times a day are required to be displayed (the first three ...

Posted on Thu, 02 Apr 2020 00:12:35 -0700 by The Chancer

[2-sat] bzoj1823: [JSOI2010] full seat

bzoj 1823: [JSOI2010] full seat http://www.lydsy.com/JudgeOnline/problem.php?id=1823 2-sat template question dalao one eye A Here are the template questions - > http://caioj.cn/problem.php?id=1405 One material has two methods For example, reviewer a requires that material 1 should be made into Chinese style, and ...

Posted on Wed, 01 Apr 2020 11:11:23 -0700 by rschneid

Bitwise operator -- switch state of management transaction

1. What is switch state In reality, there are a lot of data with only two results (values), corresponding to our Boolean values. Here, the so-called switch state of managing a group of transactions should be understood as managing several "data symbols" with only two states. For example, there are 5 bulbs, corresponding to 5 status da ...

Posted on Wed, 01 Apr 2020 10:17:52 -0700 by daijames

20.20 alarm system main script 20.21 alarm system configuration file 20.22 alarm system monitoring project

20.20 main script of alarm system Define the main script in / usr/local/sbin/ cd /usr/local/sbin/ mkdir mon cd mon mkdir bin conf shares log mail Main script under bin cd bin vim main.sh • main.sh content #!/bin/bash #Written by aming. # Whether to send mail export send=1 //All monitored items will be emailed. export means that all v ...

Posted on Tue, 31 Mar 2020 15:52:13 -0700 by sxiix