31_Network Programming-Strct

I. struct   1. Brief introduction   We can use a module that converts the length of data to a fixed length of bytes. In this way, as long as the client accepts the fixed-length byte before receiving the message to see the size of the information to be received next, the final accepted data will stop as long as it reaches this value, and it will ...

Posted by bigfunkychief on Sat, 19 Jan 2019 05:12:12 -0800

8.10 shell special symbols cut, sort,wc,uniq, tee,tr,split commands

shell special symbol cut command cut partition, - d separator - f specifies segment number - c specifies the number of characters Sort sort, - n in numeric order - r reverse order - t separator - kn1/-kn1,n2 Wc-l Statistical Lines-m Statistical Characters-w Statistical Words uniq de-weighting, - c statistical rows tee is similar to > and re ...

Posted by lmaster on Tue, 08 Jan 2019 18:33:10 -0800

Android Fk:[Doze] Android Doze Base on N

Android Fk:[Doze] Android Doze (base on N) I. overview Base on Android N When the system is out of screen and in a static state for a long time, the system will enter the Doze state. (1) Restricting network access (2) Restrict wakelock (cpu lock) applications (3) The alarm set by alarm manger is delayed unless flag is set ...

Posted by Tedglen2 on Mon, 07 Jan 2019 09:12:10 -0800

android Compiler System Analysis I: source build/envsetup.sh and lunch

Although many people have analyzed the code of android compiler system, I have read their blog and learned a lot of knowledge, but simply looking at other people's analysis, ultimately not in-depth understanding, so I still have to carefully analyze it again. Think about how we compiled the android system: First: source build/e ...

Posted by swamp on Fri, 04 Jan 2019 21:48:09 -0800

Apache Ambari 01 - Ambari Mirror installation deployment

This paper derives from:Everyday Learning IT - Knowledge Base Cluster machine Host IP address 192.168.99.181 ambari-mirror 192.168.99.101 ambari-server 192.168.99.106 ambari-agent1 192.168.99.107 ambari-agent2 Create management user hadoop (all node operations) useradd hadoop Modify the machine hosts file (all node operations) ec ...

Posted by killerofet on Thu, 03 Jan 2019 08:39:10 -0800

Linux file system and its commands

    After understanding the computer foundation and the history of Linux, I believe that I can start to learn Linux through the following knowledge.1) How to log on to Linux?    login: User name + Enter    Password: Password + Enter2) What is a terminal?     A ...

Posted by disconne on Mon, 31 Dec 2018 09:33:07 -0800

If logic judgment, file directory attribute judgment, if special usage, case judgment in 20.5-20.8 shell script

if logic judgment in 5 shell script Logical Judgment Expressions if logic judgment format if logic judgment example 6 File Catalog Attribute Judgment File Catalog Attribute Judgment Example 7 if special usage if special usage Example 8209 case judgement case Judgment Format In case, you can use expressions or meanings such as Ex ...

Posted by tbuzz on Tue, 25 Dec 2018 09:51:06 -0800

linux cut, sort_wc_uniq, tee_tr_split commands and some special symbols

The shell special symbol cut command:1. * Any arbitrary character (this is a wildcard character)2. Any character3. # Annotation Character4. \ Definition character5,| Pipeline CharacterSeveral pipeline-related orders:1. cut partition, - d separator - f specifies the segment number - c specifies the number of characters.Example:[root@aminglinux-0 ...

Posted by cesar110 on Mon, 24 Dec 2018 10:57:06 -0800

nodeJS - 8 - process process process child_process subprocess

Process process and child_process subprocesses Reference resources Node.js document JavaScript Standard Reference Tutorial Node.js 1. Process process process Explain The process object is a global object of Node, which provides information about the current Node process. It can be used anywhere in the script without requiring the ...

Posted by LucidParody on Fri, 21 Dec 2018 21:09:05 -0800

5-58 special symbol cut sort wc uniq tee tr split

8.10 shell special symbol cut command Special symbols "*" stands for zero or more characters "?" Represents a character "#" Annotation Symbol Symbol of \"De-meaning "|" Pipeline Character cut usage [root@lixiang01 ~]# cat /etc/passwd |head -2 root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin ...

Posted by alconebay on Thu, 20 Dec 2018 12:06:05 -0800