Some tips for using Git efficiently

On Version Control Version control is a system that records changes in the contents of one or more documents for future reference to revisions to specific versions. Local Version Control System One of the most popular is called rcs, which basically saves and manages file patches. File patches are text files in a specific format that record cha ...

Posted on Tue, 01 Jan 2019 12:09:09 -0800 by melittle

QT - Introduction to the first program Hello QT, and the QT creator

The first program - Hello QT First write main.cpp: #include <QApplication> #include <QMainWindow> #include <QPushButton> int main(int argc, char* argv[]) {   QApplication a(argc, argv); // Qapplication Represents an application,And its member functions exec()It is used to execute programs and message processing ...

Posted on Tue, 01 Jan 2019 02:27:08 -0800 by umol

Msm8937 + Android 7.1 system plays an MP4 file, creates ramdump under data partition and generates many elf file problems

  1. Problem description The device uses the system's own player to play a MP4 file (about 15s video file), sometimes it can play through, sometimes the playback process prompts "can't play this video", play for about 2 to 3 days, the system prompts that the storage space is insufficient.   It was confirmed that a newly created ramdu ...

Posted on Thu, 27 Dec 2018 08:51:07 -0800 by sasito

Centos 7.3 upgrades the latest Openssl 1.1.0e while compiling and installing the lnmp environment (using the latest OpenSSL 1.1.0e)

The project needs to build an lnmp environment.Knowing the heartbleed vulnerability exposed by openssl before, I always want to upgrade to the latest version of openssl to ensure security (actually not necessarily security...). Obsessive-compulsive disorder bar) This server is using Microsoft Azure's entos 7.3 system. There are many pits in the ...

Posted on Mon, 24 Dec 2018 19:51:06 -0800 by joshbb

BUG Location and Repair of CURLINFO_HEADER_SIZE in curl

curl official download page Installed the latest version of PHP 7, or encountered BUG. This is curl's problem. The curl version installed by default in CentOS 7 is too low and needs to be upgraded to the latest version to solve this problem. 1. Problem Description An interface is docked to download PDF files. After downloadi ...

Posted on Sun, 23 Dec 2018 10:15:06 -0800 by php_joe

ULP(Upper Layer Protocol) brought by Linux 4.13/4.14 kernel

order After a very pleasant National Day holiday, I went back to my hometown with my little boyfriend's parents and tasted Chaoshan delicacies, fishing and shrimping on Nanao Island, seafood bursting, and the next day when I returned to Shenzhen, another little child's parents took us to Chang'an, Dongguan to taste authentic Enshi Tujia dishe ...

Posted on Sat, 22 Dec 2018 21:45:06 -0800 by ozkan

Shell process control (if,else,case,while,for,until)

1. Conditional selection 1.1.if statement The grammar is very simple. #!/bin/bash MATH_SCORES="$1" NAME="$2" if [ -z "${MATH_SCORES}" ] then printf "The command requires that options have a scores.\n" printf "What's ths scores of your math? :" read MATH_SCORES fi if [ -z "${NAME}" ] then printf "The command requires that options ha ...

Posted on Sat, 22 Dec 2018 20:03:06 -0800 by coolpravin

Preliminary Study on tty-uart Driver Framework (2) uart_add_one_port

In the previous article, we analyzed an up-registration process of uart_driver, mainly something about tty. We learned that TTY registered a character device driver. We will call uart_port.ops.startup when user space open s, uart_port.ops.start_tx when user space write s, and we also know how to read data. However, these are all kernels to he ...

Posted on Sat, 22 Dec 2018 11:27:06 -0800 by verlen

Modify Linux SSH connection port and disable IP, install DDoS deflate

Testing system: centos7 Modify the connection port Modify configuration files vi /etc/ssh/sshd_config Remove port 22 comments and add a new port configuration port your_port_num Custom port selection is recommended for 10,000-bit ports (e.g. between 10,000 and 65,535) Do not delete port 22 directly to avoid forgetting that the new SSH por ...

Posted on Fri, 21 Dec 2018 10:24:05 -0800 by minds_gifts

device-mapper: multipath: Failing path recovery

https://yq.aliyun.com/articles/18067 ABSTRACT: Failure of multipath devices is caused by sector damage. The phenomenon is as follows: dmesg: device-mapper: multipath: Failing path 8:128. qla2xxx 0000:07:00. Failure of multipath devices due to sector damage. The phenomena are as follows: # dmesg : device-mapper: multipath: Failing path 8: ...

Posted on Thu, 20 Dec 2018 01:27:05 -0800 by Sekka