Acquisition and debugging of Ptcms under php7.2.10
1. Error report of chapter and catalog after re collection October 3, 2018
Warning: Invalid argument supplied for foreach() in /usr/share/wwwphp/ptcms/application/novelsearch/model/novelsearch_chapter.php on line 326
vim /usr/share/wwwphp/ptcms/application/novelsearch/model/novelsearch_chapter.php
public function getolist($zy ...
Posted by jrdiller on Fri, 20 Dec 2019 19:35:14 +0100
Batch compression of download files in [python multithreading]
The main functions are as follows:
1. Call api interface to get json data; 2. Convert json data to a csv file; 3. Convert each line of data in the csv file to a single xml file; 4. Package every 5 XML files
The modules used are:
csv,xml,threading,tarfile,queue
Daemons
memorandum:
Multi thread communication can use a safe q ...
Posted by habs20 on Fri, 20 Dec 2019 16:31:09 +0100
MiniWeb framework of python
The purpose of this study on MiniWeb framework is not to complete the compilation of the framework, but to learn the ideas in the compilation of the framework, mainly to understand the definition and automatic maintenance of routing table, the function of view function, the development idea of separation of front and back ends, and the realizat ...
Posted by hesketh on Thu, 19 Dec 2019 17:43:44 +0100
Talk about nimbus.seeds parameter of storm client
order
This paper mainly studies nimbus.seeds parameter of storm client
NIMBUS_SEEDS
storm-core-1.1.0-sources.jar!/org/apache/storm/Config.java
/**
* The host that the master server is running on, added only for backward compatibility,
* the usage deprecated in favor of nimbus.seeds config.
*/
@Deprecated
@isString
...
Posted by grantp22 on Wed, 18 Dec 2019 16:21:04 +0100
restframework Component Details
Introduction to restfulrestful is an interface specification in which front-end and back-end interfaces are developed to improve team development efficiency, especially for front-end and back-end separation, according to which front-end and back-end development modules are not affected by each other2. Routing
from rest_framework.routers import ...
Posted by wintallo on Wed, 18 Dec 2019 03:15:03 +0100
Express Server Development
Author| Jeskson
Source|Dada Front End Bistro
Express Server Development
Create Express applications, Express routes, use of pug view templates
Introduction to Express:
Let's create Express applications, a Node.js Web application framework that is powerful enough to create a variety of Web applications and HTTP tools for users, and a fully func ...
Posted by sticks464 on Tue, 17 Dec 2019 00:08:57 +0100
Node.js+Express+MongoDB database for web page registration and login
Implement web-based account registration and login through Node.js + Express + MongoDB
Project preparation:
1: Prepare the project page (index.html for the first page) (login.html for the login page) (register.html for the registration page)
2: Third-party templates needed to install Node.js
3: Design Path Design
4: Clear up functional require ...
Posted by widget on Mon, 16 Dec 2019 04:44:41 +0100
idea uses ant design, rcreate react app
Download and install node npm
Get into node Select Windows installation package (. MSI) 64bit to download and install
Using msi will configure the environment variable path, which is convenient
All commands are basically in the project path or directly in the terminal of idea
//Open the command prompt to test whether the instal ...
Posted by marian on Sun, 15 Dec 2019 15:34:24 +0100
Js dynamically adds < td > data to table node tbody
/**
* Dynamic < td > fill current page
*/
function fillPage() {
// Determine the number of rows to generate based on the number of records
for (var i = 0; i != dataArray.length; ++i) {
// Create a row element
var row = document.createElement('tr');
// Create td cell
var idCell = ...
Posted by phpmania1 on Sat, 14 Dec 2019 20:42:26 +0100
Interface automation by reading configuration file and Excel content
The class libraries involved in this article, configparser, xlrd, xlutils, requests
Objective: to achieve a simple http interface test, put the data into the Excel table, test by reading the data in the Excel table, and write the test results back to the Excel table
1. Data preparation
2. Interface, port, path
baseurl = 1 ...
Posted by deezin on Thu, 12 Dec 2019 20:59:01 +0100