Python Sends Mail (Four Common Mail Contents)

From: http://lizhenliang.blog.51cto.com/7876557/1875330 When writing scripts, run in the background, want to know the implementation, will inform the administrator by mail, SMS (short message), Flying Letter, Wechat, etc., the most used is mail. Under linux, it is very simple for Shell scripts to send mail alerts. There are ready-made mail ...

Posted by meandrew on Wed, 10 Apr 2019 15:12:32 -0700

Activity Startup Mode and Markup Bits

Activity startup mode Before we talk about active startup mode, we need to understand the concept of active stack. The activity task stack is a "last in, first out" stack structure. That is, when a new activity instance is started, it is pushed onto the top of the stack. When the activity exits by pressing the return key, its instan ...

Posted by renojim on Wed, 10 Apr 2019 13:30:31 -0700

Linux Create daemon

1. Create daemon steps: To become a daemon, a program needs to complete the following steps: Execute a fork(), then the parent process exits and the child process continues to execute. (As a result, daemon becomes a child of the init process.) The reason for this step is the following two reasons: Assuming that daemon is started from the ...

Posted by francisexpress on Fri, 05 Apr 2019 23:12:30 -0700

Shell Learning Notes

Shell Learning Notes Shell itself is a program written in C language. It is a bridge for users to use Unix/Linux. Most of the work of users is done through shell. Shell is both a command language and a programming language. Shell can be executed in two ways: - Interactive: Explain how to execute a user's command. When a user enters a comman ...

Posted by agallo on Fri, 05 Apr 2019 17:48:29 -0700

shell Scripting (1)

I. variables Types of variables in shell s 1) Local variables (local variables) 2) Environmental variables (global variables) 3) Location variable 4) Special variables 1. Local variables Also known as custom variables, users define variables according to their own needs Scope: Acts throughout the shell script; if a variable is defined ...

Posted by cdinca on Thu, 04 Apr 2019 18:21:31 -0700

Installation and Use of FastDFS Distributed File System (Single Node)

Links to the original text: http://blog.csdn.net/xyang81/article/details/52837974 FastDFS, developed by Mr. Yu Qing of Taobao, is a lightweight, high-performance open source distributed file system, which is pure. C language Development, including file storage, file synchronization, file access (upload, download), access load balancing, on ...

Posted by Right Wing Liberal on Thu, 04 Apr 2019 17:39:31 -0700

Vagrant multi-machine multi-node virtual cluster

The first two articles share the homestead + vagrant configuration, but they are single-point. Now let's study the configuration of multi-node cluster together. Multi-node Cluster Configuration/Creation Install VirtualBox Install Vagrant Download Box These previous articles have explanations and download links, which are not repeate ...

Posted by step on Wed, 03 Apr 2019 16:06:31 -0700

Linux System (3) System Foundation Literacy Complete

Preface If everyone likes to play hard, they usually prefer to install the minimal liunx system, then your system does not have graphical desktop functions. So for a beginner who wants to install B, Liunx is black and sloppy, endless black screen, black screen. How to quickly have a more comprehensive understanding of the liunx system? Answer: ...

Posted by ermarkar on Tue, 02 Apr 2019 09:30:30 -0700

Data Structure and Algorithms--Three Simple Sorting Details

Hello, I am. KitStar. The following articles are not organized properly. Please forgive me. Four Simple Sorting Algorithms If you want to be an excellent developer, you should not only actively learn the popular new technologies, such as WCF, Asp.Net MVC, AJAX and so on, but also skillfully apply some mature technologies, such as ...

Posted by danielrs1 on Sun, 31 Mar 2019 04:57:28 -0700

One linux command per day: kill all command

The killall command in Linux is used to kill processes by name. We can use Kill Command to kill the process of the specified process PID. If we want to find the process we need to kill, we also need to use ps and other commands before cooperating with grep to find the process. Kill all combines these two processes into one, which is a very use ...

Posted by keith73 on Thu, 28 Mar 2019 06:54:29 -0700