SwooleFor: Automatically restart Swoole service by monitoring file changes

SwooleFor Monitor changes in your Swoole program files and restart the server automatically - for development Monitor for any changes in your swoole application and automatically restart the server - perfect for development SwooleFor s are positioned as PHP versions nodemon, node-dev Use of the project mix-phar Development Depend extensions e ...

Posted by AwptiK on Tue, 13 Aug 2019 23:24:07 -0700

Urine Intensity on Beer Festival - SVG Low-level Art Show

Leader: Ah Ren, you have an important task to perform. Ah Ren: What task is so important? Leader: Recently we have opened a new park and invited a writer to write a soft article to promote it. "Cloud Breaking Moon Flowers Shadow - SVG Multiple Technology Combination Realization" Unfortunately, besides being handsome, this writer is no ...

Posted by shortj75 on Tue, 13 Aug 2019 20:57:51 -0700

Source Code Analysis and Repair of pikachu-xss

xss source code analysis Reflection type is mainly in the place of query, storage type is mainly in the place of message and comment, dom type is a special reflection type. pikachu's xss does not do a lot of filtering, but focuses on the principle. ...

Posted by rj2kix on Tue, 13 Aug 2019 04:20:43 -0700

Gorgeous Sequence (Segment Tree)

Title link: http://acm.hdu.edu.cn/showproblem.php?pid=5306 Problem Description There is a sequence a of length n. We use ai to denote the i-th element in this sequence. You should do the following three types of operations to this sequence. 0 x y t: For every x≤i≤y, we use min(ai,t) to replace the origi ...

Posted by mmitdnn on Sun, 11 Aug 2019 19:59:54 -0700

Centos installs supervisor to guard the Redis process

Based on business problems, redis was added to the project for caching and queuing. But now we just install and deploy on a single server, without purchasing other services like Ali Cloud, and without building master and slave. This leads to problems. If the redis process is accidentally blocked, then the business can not be carried out. This ...

Posted by glitch003 on Fri, 09 Aug 2019 01:33:27 -0700

Build ldap dual main mode

1. Install OpenLDAP yum install openldap openldap-clients openldap-servers Start directly after installation ``` systemctl start slapd ``` Set Administrator Password``` slappasswd -h {SSHA} ``` You will then be asked to enter a clear text password and return to you an encrypted password, remembering the password that was returne ...

Posted by roustabout on Thu, 08 Aug 2019 12:14:57 -0700

PHP Basic Knowledge 6-COOKIE and SESSION

HTTP protocol features: Stateless, no correlation between multiple requests That is, the same user requests different pages of the same website, the server can not identify whether the request is initiated by the same user. Therefore, users cannot perform continuous business logic. For example: lo ...

Posted by danoli3 on Thu, 08 Aug 2019 06:27:30 -0700

Java: Control Inversion (IoC) and Dependency Injection (DI)

For a long time, I was vague about the two concepts of control inversion and dependency injection. Closing my eyes and thinking about it, I always felt dizzy. But in order to be a good Java engineer, it took me a week to figure them out. 01. Tight Coupling In the process of coding, we usually need two or more classes to cooperate with each ot ...

Posted by dar-k on Tue, 06 Aug 2019 22:51:24 -0700

Deep understanding of WebRTC

Web Real-Time Communication (WebRTC) consists of a set of standards, protocols, and JavaScript API s for audio, video, and data sharing between browsers (end-to-end). WebRTC makes real-time communication a standard feature, and no Web application needs third-party plug-ins and proprietary software, but can be accomplished through a simple Java ...

Posted by thomasanup on Tue, 06 Aug 2019 17:46:22 -0700

Confusion Configuration for Android studio

confusion studio uses Proguard for confusion, a tool for compressing, optimizing, and confusing java bytecode files. Functions: Shrinking, Optimizing, Obfuscattion, Preverification. Advantage: 1. Delete the unused resources of the project to effectively reduce the apk size; 2. Delete useless classes, class members, methods and attribute ...

Posted by coderWil on Tue, 06 Aug 2019 14:46:01 -0700