Use git rebase to merge multiple commit

From: https://blog.csdn.net/yangcs2009/article/details/47166361 1. First, use git log to view the submission history [demo@ubuntu1204:zh_cn(bugfix/ycs-MOS-1503-notify-template-table-center)]$ git log   commit 5e187c7dbe84af67ad19823a54f3cc3e3f6d6940   Author: yangcs2009 <yangchangsheng@meituan.com>   Date:   Thu Ju ...

Posted on Sat, 04 Apr 2020 06:38:05 -0700 by Tekron-X

find,exec and xargs commands

Let's take a look at some examples [root@localhost exec]# touch {1..5}.txt [root@localhost exec]# touch {1..5}.sh [root@localhost exec]# ls 1.sh 1.txt 2.sh 2.txt 3.sh 3.txt 4.sh 4.txt 5.sh 5.txt [root@localhost exec]# find . -name '*.txt' |xargs -t -i{} rm -f {} -------------------------------- rm -f ./1.txt r ...

Posted on Fri, 03 Apr 2020 19:35:03 -0700 by jfgreco915

20.20 alarm system main script 20.21 alarm system configuration file 20.22 alarm system monitoring project

20.20 main script of alarm system Define the main script in / usr/local/sbin/ cd /usr/local/sbin/ mkdir mon cd mon mkdir bin conf shares log mail Main script under bin cd bin vim main.sh • main.sh content #!/bin/bash #Written by aming. # Whether to send mail export send=1 //All monitored items will be emailed. export means that all v ...

Posted on Tue, 31 Mar 2020 15:52:13 -0700 by sxiix

How do I run Shell scripts on Nginx?

Antecedents During the deployment of Smokeping, I was not familiar with the configuration of Apache2. The most difficult thing is to solve the problem of CGI operation. Consequence Running a Shell script on Nginx Pre deployment Nginx does not support running CGI programs. You need to use fcgiwrap to convert CGI to FastCGI. apt-get -y ins ...

Posted on Mon, 30 Mar 2020 14:40:54 -0700 by leightons

Batch character input of Python_adb in selfie 49

Android terminal product system or App test, involving input box boundary value test, For example, set the name of wifi hotspot, or search the input box, You need to verify that the text input box can enter up to 256 characters, How to input 256 characters quickly? Preparation stage Manually click the wifi hotspot name text input box to make ...

Posted on Mon, 23 Mar 2020 05:31:06 -0700 by surfnjunkie

Python ADB real time monitoring Logcat log

Next: adb command to intercept logcat log with one key, One day, the person in charge of system stability development came to me, hoping that I could run android system monkey, Monitor the output of logcat in real time. If "java.lang.NullPointerException" null pointer exception is found, Then use the adb bugreport command to export ...

Posted on Wed, 18 Mar 2020 09:58:02 -0700 by rdog157h

Angular6_Server Rendering SSR

Angular6_Server-side Rendering You need to install the latest version of Angular before using server-side rendering. npm install -g @angular/cli or cnpm install -g @angular/cli github project Create Project ng new PWCat --routing Add universal to the project ng g universal --client-project=PWCat or ng ...

Posted on Wed, 18 Mar 2020 09:44:55 -0700 by TheHeretic

Ten sorting algorithms

sort Bubble sort Sorting process 1. Given that the length of the array is n, if the total number of sorting passes is t, then t=n-1 2. The I pass (I value range [1,n-1]) starts from the 0 th element to the n-i element, and compares and exchanges the two adjacent elements one by one to ensure that the maximum (or minimum) value is later 3. Repe ...

Posted on Wed, 18 Mar 2020 03:14:16 -0700 by adamjnz

adb command in "self timer 44" to intercept Logcat log with one click

This article is very difficult, reading time is long, and the experience is advanced... During Android system test or App test, Some Android terminal devices do not start the logcat sequence log with the system because the disk is too small, That is, the logcat log is not intercepted in the background in real time, so the tester needs to manua ...

Posted on Tue, 17 Mar 2020 05:55:01 -0700 by babyrocky1

[UE4 source code observation] observe the thread usage of UE4

0. starting point I want to see which threads exist in the background when the UE4 editor is running and how they are created. For this reason, when the project browsing interface appears, I set a breakpoint in Tick to prepare to observe the threads displayed in VS. It should be noted that: 1. This ob ...

Posted on Tue, 17 Mar 2020 04:13:42 -0700 by furtivefelon