The Way to Learn Linux Operations and Maintenance (8) Pipeline and Redirection

I. File Descriptors File Descriptor (fd): A file descriptor is a non-negative integer. When an existing file or a new file is opened, the kernel returns a file descriptor. Reading and writing a file also requires the use of a file descriptor to access the file. It is also the file record table that the kernel maintains for each process ...

Posted by shayman on Mon, 27 May 2019 00:26:10 +0200

Loop Judgment of shell Script Advancement

Foreword... 2 I. Conditional Selection and Judgment (if, case). 2 1.1 if statement usage and examples 1.2 case usage and examples II. Circular Sentences... 7 2.1 for cycle... 8 2.2 while cycle... 10 2.3 until cycle * 12 2.4 select cycle... 13 2.5 Cyclic Supplement.. 14 2.5.1 Loop Control Statement continue&break.14 2.5.2 Loop Control Comma ...

Posted by amreiff on Sat, 25 May 2019 01:42:47 +0200

Shell script basic notes (1)

1. Command Segmentation in Bash Each command or sequence of commands is separated by semicolons (;) or newline characters (\n). $ cmd1 ;cmd2  Equivalent to $cmd1 $cmd2 2. Terminal printing echo and printf Double quotation marks - variable name replacement; special character order escape character () - e takes effect Single quotation ma ...

Posted by loganbest on Thu, 23 May 2019 20:50:24 +0200

Lessons 74: Introduction to 20.27 Distribution System, 20.28 expect script remote login, 20.29 expect script remote execution command, 20.30 expect script pass parameters

20.27 Distribution System Introduction   Distribution system, in what scenarios For example, companies are doing more and more business. The programming language of their website or App is PHP, so to run this environment, PHP code needs to configure the environment of LAMP or LNMP, and code needs to be uploaded to the server, which is a web ...

Posted by sitorush on Thu, 23 May 2019 18:38:33 +0200

Serialization of django-rest-framework

Foreword: Yesterday I learned about rest-framework serialization, so I wrote a blog record. Official website: http://www.django-rest-framework.org/tutorial/1-serialization/#working-with-serializers.   Front-end and back-end separation: Front-end development and back-end development are separated. The implementation of this scheme is to use AP ...

Posted by wing328 on Sat, 18 May 2019 22:17:46 +0200

Summary of adb utility commands

For Android programmers, adb is frequently used in their daily work. Now, we summarize the commonly used adb commands in their work, which is convenient for inquiry and also for your reference. Viewing application memory usage, power consumption, startup time, wakelock, running monkey commands played a small role in previous application per ...

Posted by plasmahba on Sat, 18 May 2019 05:02:03 +0200

Windows Tip - Quick Way to Open CMD in Directory

There are often situations where cmd is needed in a folder, such as running a script. Here are several ways to do this. Take the following directory operations as an example: Mode 1: Common cd commands The cd command is the most common way we use it: Win+R opens the cmd window, which is displayed as follows by default (non-administrator mo ...

Posted by sfc12345 on Fri, 17 May 2019 21:31:11 +0200

Algorithms Series 15 Days Quick - Seven Classic Sorting on the Third Day

Algorithms Series 15 Days Quick - Seven Classic Sorting on the Third Day From: http://blog.csdn.net/m13666368773/article/details/7506678 Today I'm going to talk about the last three sorts of sorting: direct insertion sort, Hill sort and merge sort.   Direct insertion sort: This sort is quite understandable. A real example is that we fight ag ...

Posted by p4rsec on Fri, 17 May 2019 12:58:11 +0200

Troubleshooting Gitlab-runner Build Failures

Troubleshooting Gitlab-runner build failures: Causes of the problem: Automated build based on gitlab ci. job runs with errors when merge_requests request is initiated to start building. It is officially recommended to upgrade gitlab-runner version. Build runs with errors after version upgrade. The errors are as follows: Running with gitlab-run ...

Posted by aod on Fri, 17 May 2019 02:11:47 +0200

Android Reverse - Android Basic Reverse 7 (Buy-in Dry Collection)

0x00 Preface Preposition Thank you for the total cultivation of eggs. This article was first published in spring and autumn. I do not agree to prohibit reprinting. Explain First of all, I would like to write NDK, but let's go through this process first. This process is essential. Secondly, RMB is really a good th ...

Posted by willl on Thu, 16 May 2019 13:50:59 +0200