Nginx Handbook (IV) Access Control

Access Control of Nginx IP-based access control: http_access_module User-based Trust Logon: http_auth_basic_module I. http_access_module access module # Allow: Allow access to or all socket s on specified ip or ip segments or unix Syntax: allow address|CIDR|unix:|all Default value: none Context: http,server,location,limit_except # Prohibi ...

Posted by carlosx2 on Wed, 29 May 2019 11:35:12 +0200

node.js command line tutorial

node command line tutorial This article first introduces the native node.js for command line interaction, understanding the native api, and then implementing a complete interactive command line tool using commander.js and inquirer.js.Project Address process The process object is a global variable that provides information about and controls the ...

Posted by seatoomol7 on Sun, 26 May 2019 22:57:54 +0200

How to use live555 open source library to capture video data from camera and save files?

** Brief Introduction to live555** live555 is a cross-platform C++ open source project that provides solutions for streaming media. It implements support for standard streaming media transmission protocols (such as RTP/RTCP, RTSP, SIP, etc.). At the same time, live555 supports streaming, receiving and processing of various audio and video codin ...

Posted by Lord Brar on Tue, 21 May 2019 23:34:30 +0200

JAVA Communications (2) - Implementing a Simple RPC Framework

1. Introduction to RPC RPC, fully known as Remote Procedure Call, or Remote Procedure Call, is a computer communication protocol.It allows remote services to be called as local services.It can be implemented in different ways.Examples include RMI (remote method call), Hessian, Http invoker, and so on.In addition, RPC is language independent.R ...

Posted by paulieo10 on Tue, 21 May 2019 20:07:32 +0200

File Management of Linux Basic Commands

     BASH Shell manages files=============================================================Create, copy, delete, move, view, edit, compress, findSummary:Linux directory structureFile Location Pathfile managementFirst: Linux directories usually organize files as a single root. /Root directory structure of Linuxls /ivcapp-1:~ # ls ...

Posted by jnuneznyc on Tue, 21 May 2019 02:29:07 +0200

java and memo

Insecure "Check before Execution", code form as follows: if(Conditional satisfaction){ //Thread security issues are prone to occur here //doSomething }else{ //doOther } Read-modify-write Atomic operation: Using CAS technology, first read the value A from V and calculate the new value B according to A, then change the value o ...

Posted by phat_hip_prog on Sun, 19 May 2019 12:40:08 +0200

Android goes deep into four components (7) Android 8.0 Root Activity Startup Process (later)

Related articles Android goes deep into four major component series Android System Startup Series Android application process series Android in-depth analysis of AMS series Preface I wrote it a few months ago. Android goes deep into four components (1) Application startup process (previous part) and Android goes deep into four components ( ...

Posted by HSKrustofsky on Sat, 18 May 2019 07:02:46 +0200

MySQL Multi-Instance Installation

Step 1. Preparations Close the firewall; install MySQL dependent on the libaio library; download, unzip, rename the MySQL executable; and prepare for new user groups and users will not be covered here. The executable directory is/data/mysql57 Instructions to add users and groups groupadd mysql useradd mysql -g mysql Step 2. Add environm ...

Posted by al3x8730 on Fri, 17 May 2019 22:42:58 +0200

Android Communication--Bluetooth

                Usually, our main operations on Bluetooth are: turning on and off Bluetooth, searching for peripherals, being discovered by peripherals, getting data transmission between paired devices, and Bluetooth devices. 1. Turn on Bluetooth (of course, first make sure your mobile phone has a Bluetooth device) Bluetooth dev ...

Posted by kawai84 on Fri, 17 May 2019 11:59:10 +0200

Android 8.0: init process of system startup process (3)

This is a series of blog posts, I will continue to provide you with as thorough as possible Android source analysis github serial address Preface After the first two stages of init, the attribute system and SELinux system have been established, but the init process needs to perform many other operations and start many key system ...

Posted by woolyg on Fri, 17 May 2019 11:10:57 +0200