Environment Installation Script

LNP environment Nginx + PHP + Composer + Supervisor Applicable to Laravel environment Contains: Nginx, PHP 7.2, Composer, Supervisor PHP module: fileinfo, imap, ldap, redis, memcached, swoole install # Install Nginx + PHP and copy all four lines together wget -c http://mirrors.linuxeye.com/oneinstack-full.tar.gz \ && tar xzf oneinst ...

Posted on Mon, 07 Oct 2019 03:14:36 -0700 by Phoenixheart

Design Patterns-Responsibility Chain Design Patterns

Responsibility chain design mode is the culmination of behavioral design mode. Now there's a scenario where you apply for leave. The length of leave requires different levels of leadership to approve. Everything is an object, leave needs work number, name, reason, time, result and so on, so let's define a class of leave. In fact, it is a Cont ...

Posted on Thu, 19 Sep 2019 06:43:40 -0700 by glitch003

Mysql trainees: six novice road projects

Connect Mysql d: cd D:\mysql-5.7.27-winx64\mysql-5.7.27-winx64\bin net start mysql mysql -u root -p Item 10: Employees with the highest salaries in all departments Create an Employee table that contains all employee information, each employee has ...

Posted on Tue, 13 Aug 2019 05:24:07 -0700 by yaba

4412 u-boot detailed start-up process

u-boot boot 1. start.S 1.1 u-boot entry function_start Set the exception vector table and jump to the reset function 58 _start: b reset 59 ldr pc, _undefined_instruction 60 ldr pc, _software_interrupt 61 ldr pc, _prefetch_abort 62 ldr pc, ...

Posted on Wed, 31 Jul 2019 02:33:48 -0700 by Iokina

C++ Chain of Resposibility

brief introduction Responsibility chain model is an object's behavior model. In the responsibility chain model, many objects are linked by each object's reference to its subordinates to form a chain. The request is passed on the chain until an object in the chain decides to process the request. The cl ...

Posted on Tue, 30 Jul 2019 16:36:20 -0700 by Delaran

Shopping cart number adder and subtractor

The Beginning View of Custom Controls I am a bitter b programmer, working overtime tonight to nearly all night, sleepy to open my eyes, the female boss is very concerned, asked me if I want to eat midnight. I am not angry to say, even if the night, let me sleep on it. The female supervisor blushed and said something disgusting. Then she sat b ...

Posted on Fri, 05 Jul 2019 15:51:24 -0700 by sametch

Deeply Understanding the Startup Process of Android-Activity

I. Preparations 1. Get ready to read the source code tools. 2. Introduction to the Functions of Main Classes Activity Manager Services, referred to as AMS, is the core service of Android. It is mainly responsible for the starting, switching and scheduling of the four components in the system and the management and scheduling ...

Posted on Thu, 20 Jun 2019 12:52:00 -0700 by ChetUbetcha

Node.js Express Framework

1. Introducing Express and creating Express framework instances const express = require('express'); const app = express(); app.get('/',function(req, res) { res.send('Hello index'); }) const server = app.listen(8081,'127.0.0.1', function () { const host = server.address().address const port = server.address().port consol ...

Posted on Wed, 12 Jun 2019 12:18:33 -0700 by Win32

centos 7 uses supervisor to manage laravel queues

supervisor A client/server service developed by python is a process management tool under linux/unix system. It can easily monitor, stop, and restart one or more processes. The process managed by supervisor is killed unexpectedly. When supervisor hears the process dead, it will automatically pull it up again. It is very convenient to achieve th ...

Posted on Thu, 06 Jun 2019 15:07:48 -0700 by Gmunky

Short Practice - Database Basis (I)

** 1. Syntax for creating tables: ** CREATE TABLE STUDENT( SID NUMBER NOT NULL PRIMARY KEY, STUNAME VARCHAR(30) NOT NULL, STUAGE NUMBER , ADDRESS VARCHAR(100), TEL NUMBER ); 2. Insert information INSERT INTO STUDENT(SID,STUNAME,STUAGE,ADDRESS,TEL)VALUES(1,'Zhang San',20,'Tianjin Airport',17602684398) 3. Insert sp ...

Posted on Sun, 26 May 2019 14:14:35 -0700 by nagrgk