The difference between uid gid pid and others

1.uid uid in android is used to identify an application. uid is allocated during application installation and will not change when application is on the phone. An application can only have one uid, and multiple users can share the same uid using sharedUserId, provided that the signatures of these app ...

Posted on Fri, 04 Oct 2019 03:45:24 -0700 by abhi_10_20

Implement linux system release jar package project script start and log automatically cut by date

1 linux script for publishing jar #!/bin/bash Defining variables To run the jar package path, add no quotation marks. Note: There must be no spaces on either side of the equal sign, otherwise the command will be prompted not to be found. JAR_NAME = project name - 0.0.1-SNAPSHOT.jar Log path, pl ...

Posted on Thu, 03 Oct 2019 23:40:36 -0700 by daz1034

TinyHttp Source Code Analysis

Main function 1. Server-side initialization: Create socket => Set Port Reuse => Bind socket and server address => If no port is specified, dynamically allocate => listen int on = 1; unsigned int port = 4000; struct sockaddr_in name; int lfd = socket(PF_INET, SOCK_STREAM, 0); //Create socket memset(&name, 0, sizeof(name)); // ...

Posted on Thu, 03 Oct 2019 22:26:25 -0700 by jh_dempsey

Implementation of LRU (using list)

The first is the definition of LRU, which means the least recently used data. If the data has been accessed recently, the probability of being accessed in the future is higher. So the logic should be to place new pages at the head of the list every time, and kick out the elements at the end of the list if they exceed the list length limit.   ...

Posted on Thu, 03 Oct 2019 21:50:20 -0700 by Betty_S

Multiple keys of linux input subsystem

Article directory linux input subsystem: driving multiple keys linux input subsystem: driving multiple keys Drive multiple keys A button has several elements associated with it: Interrupt number Key state Key value The detailed description of input_dev is as follows Add the following informati ...

Posted on Thu, 03 Oct 2019 21:23:30 -0700 by stanleyg

Using Docker to Build etcd Cluster

Step 1 Install etcd under Mac brew install etcd implement etcd --version Ensure successful installation Step 2Create three docker hosts using docker-machine docker-machine create --driver virtualbox box0 docker-machine create --driver virtualbox box1 docker-machine create --driver virtualbox box2 Confirm that the build is successful and reme ...

Posted on Thu, 03 Oct 2019 12:14:50 -0700 by respiant

Video Monitoring--H264 Video Monitoring Configuration

Links to the original text: https://my.oschina.net/u/860952/blog/549207 Yesterday, using Linux 2.6.38 kernel, using NFS boot, server_arm failed. Today, I still use NFS boot, the root f ...

Posted on Thu, 03 Oct 2019 11:39:51 -0700 by iii

How to save OTP data in custom nodes

I. Preface Previously, because of the green screen problem caused by lsc, the module factory said that the LSC data was abnormal. sensor factory fae has no follow-up cooperation, so let's save otp data. It's easy to compare when something goes wrong, and then there's no more. Support is not enough and ...

Posted on Wed, 02 Oct 2019 21:58:43 -0700 by adksga

Video Learning Notes-System Clock of Wei Dongshan Phase I

I. Analysis of System Clock Structure OM[3], OM[2] external pin ground using crystal oscillator as MPLLin MPLLCON controls P/M/S parameters of MPLL output clock, which directly determines FCLK. The Computational Formula of MPLL CLKDIVN Register Controls Frequency Division of HCLK and PCLK Generated from FCLK Coding Experimental purpose C ...

Posted on Wed, 02 Oct 2019 12:17:15 -0700 by shortysbest

Deepin - Install jdk (uninstall openjdk)

Article directory I. Unloading openjdk 1. View the openjdk version 2. Unload openjdk Download jdk1.8 III. Installation of jdk1.8 Method 1. Manual configuration 1. Preparing jdk files 2. Configure `etc/profile'` 3. Make `etc/profile'effective I. Unloading openjdk 1. View the openjdk version ...

Posted on Wed, 02 Oct 2019 02:12:35 -0700 by kankaro