Use of extreme validation (nodejs deployment)

Add some verification codes to the page to avoid malicious external damage.The following is a summary of my work validating deployments with nodejs pairs. 1. Verify ideas with nodejs deployment poles: Installation dependencies: request, express, body-parser, supervisor, express-session. Install the SDK using npm install gt3 ...

Posted by djdog.us on Tue, 24 Mar 2020 09:35:48 -0700

[Blue Bridge Cup 2015 final] robot breeding

[Blue Bridge Cup 2015 final] robot breeding Title Description Robots in Galaxy X can copy themselves automatically. They can replicate two of themselves in one year, and then lose the ability to replicate. Every year, Galaxy X selects a new born robot to send to space. That is to say, if there are f ...

Posted by Mercenary on Mon, 17 Feb 2020 21:20:06 -0800

21 - URL crawling, Python asynchronous, Supervisor installation and configuration, etc

1. summary Pseudo code can be referred to "Twenty climbing URL and initial assumption of participle sentiment analysis" , only to find that this can be done for a whole day, but most of the time is used to deploy the server. Code placed in Large same-sex dating websites In fact, it's very si ...

Posted by vinny69 on Mon, 03 Feb 2020 01:10:29 -0800

KVM Management Tool WebVirtMgr

WEB Management Tool WebVirtMgr WebVirtMgr is a libvirt-based Web interface for managing virtual machines.It allows you to create and configure new domains and adjust the resource allocation for domains.The VNC viewer provides a complete graphical console for the guest domain.KVM is currently the only supported hypervisor for virtual machines. ...

Posted by tomato on Mon, 20 Jan 2020 19:45:51 -0800

sql: merge a field of multiple records into a record group ﹐ concat function

I. demand. Existing user table, user role table, role table. One of the users corresponds to multiple roles. When querying user details, you need to directly query the role names of users, separated by commas. 2, sql table creation script 2.1 user table CREATE TABLE `user` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT COMMEN ...

Posted by airo on Tue, 31 Dec 2019 05:48:18 -0800

Centos7 supervisor installation and configuration

Background # Two, installation 1. Install Python setuptools yum install python-setuptools #After the installation of supervisor, three executors will be generated: Supervisor TD, supervisor CTL and echo supervisor conf. they are the supervisor's daemons service (for receiving process management commands), the clien ...

Posted by ict on Tue, 31 Dec 2019 04:00:30 -0800

Talk about the start of storm supervisor

order This paper mainly studies the start-up of storm supervisor Supervisor.launch storm-core-1.2.2-sources.jar!/org/apache/storm/daemon/supervisor/Supervisor.java /** * Launch the supervisor */ public void launch() throws Exception { LOG.info("Starting Supervisor with conf {}", conf); String path = ConfigUtils ...

Posted by RobbertvanOs on Mon, 16 Dec 2019 14:04:35 -0800

Configuration and use of Supervisor

brief introduction python deployment has always been a problem, but now it's 2018, and there are many mature solutions. The most commonly used is nginx + upervisor + virtualenv + gunicorn / uwsgi. The advantage is that it is very convenient to control program start / stop / restart, especially when you have many services; but abusi ...

Posted by sri2002 on Mon, 16 Dec 2019 09:24:01 -0800

A check on timeout

Recently, some users always reported that "failure - server problem" will occur when they download large Excel from Redash, and the time from point to error prompt is almost the same. First, I checked the error log of Nginx, and it showed that upstream prematurely closed connection while sending to client. The first reaction should be ...

Posted by Crayon Violent on Tue, 10 Dec 2019 19:19:45 -0800

Start the Activity process

Preface This is Android 9.0 AOSP series Let's review the general contents of the previous articles. Pangu and Nuwa in Java World -- Zygote This paper mainly introduces the starting process of Zygote, the first Java process in Android world. Register server socket to respond to client requests Various preloading operations, classes, resources ...

Posted by Nymphetamine on Tue, 03 Dec 2019 15:47:28 -0800