Linux ctrl-c explain (ctrl-c detail)

Catalog 1 Background posture 2 foreplay 3 dinner 4 systemctl stop docker 5 demo 1 Background posture drive Driver, full name device driver, is a special program added to the operating system, which contains information about hardware devices. This information enables the computer to communicate with the corresponding equipment. interrupt A w ...

Posted by shenmue232 on Fri, 10 May 2019 16:38:56 +0200

centos installation operation and partial understanding of docker

After installing the docker locally the other day and getting familiar with the commands, I still couldn't help but go through a wave of golang mirror deployments on centos. Here are my steps and some ideas.Prepare: A networked centos server with docker installed 1. Not to mention, write a Dockerfile (just want to experience the dockerfile proc ...

Posted by ThaboTheWuff on Fri, 10 May 2019 15:47:38 +0200

php downloads Chinese file name compression packages via header corrupted or non-existent

We all use utf8 code in development. Yesterday we encountered a strange pit. It was a small problem and wasted an hour to solve.Don't talk too much. Implant the topic: File download method: download from header binary stream fileRequirement: File upload keeps file name unchangedData field file_url value: /public/upload/files/2019/04-29/Chinese ...

Posted by Irksome on Fri, 10 May 2019 11:18:03 +0200

python obfuscation compilation

Step 1 Programming Take the Queen N problem on github as an example """The n queens puzzle. https://github.com/sol-prog/N-Queens-Puzzle/blob/master/nqueens.py """ __all__ = [] class NQueens: """Generate all valid solutions for the n queens puzzle""" def __init__(self, size): # Store the puzzle (problem) size ...

Posted by vishi83 on Fri, 10 May 2019 01:02:03 +0200

LogStash is used to aggregate logs

elastic: https://www.elastic.co/ In order to facilitate centralized viewing of the business logs of multiple hosts, we use Filebeat, Redis, Logstash to collect: (1) Filebeat monitors the changes of log files and writes the new part into redis. The log of each line is the data of a list set of specified key s in redis. (2) LogStash monitors t ...

Posted by warran on Thu, 09 May 2019 22:00:03 +0200

Shell commands - cat and tac for file and content processing

File and Content Processing - cat, tac 1. cat: Display file content Functional description of cat command The cat command is used to connect multiple files and print to screen output or redirect to a specified file Grammatical Format of cat Command cat [OPTION]... [FILE]...cat [-AbeEnstTuv] [--help] [--version] fileName Option description ...

Posted by aeonsky on Thu, 09 May 2019 13:45:03 +0200

CentOS (5.8/6.4) linux production environment optimization (practical section)

Next, I'll give you a brief explanation of some basic optimization operations after the installation of Linux system. Note: This optimization is based on entOS (5.8/6.4). I will mention the cell size of 5.8 and 6.4 when they are optimized. Optimize entries: Modify ip address, gateway, host name, DNS, etc. Close selinux,Empty iptables Added ...

Posted by pepperface on Thu, 09 May 2019 07:18:04 +0200

Go Scheduler Series Source Code Reading and Exploration

Dear friends, this time I would like to share with you the knowledge and experience related to the source code reading of Go Scheduler. There are many good articles on the network to analyze the source code. So this article is not another source code analysis article. It is not about the source code analysis and sharing, but to bring you some l ...

Posted by lkq on Thu, 09 May 2019 05:33:02 +0200

ARM Linux Crash Analysis-Application Segmentation fault Analysis

I. Test Code The test code is as follows: #include <stdio.h> #include <string.h> #include <stdlib.h> void getmemory(char *p) { p=(char *)malloc(100); strcpy(p,"helloworld"); return; } void test1_printf() { printf("aefawfaeeaa /n"); return; } void test1_printf2() { int bbb = 0x5555; printf("test ...

Posted by dadamssg on Wed, 08 May 2019 22:09:07 +0200

Linux Audio Driver II: Call of Control Interface

This paper is a learning note based on Linux version number of mini2440 development board linux-2.6.32.2 I. control Interface Description Control interface mainly allows user space applications (alsa-lib) to access and control audio codec chip multiplexers, sliding controls and so on. 2. open of control interface According t ...

Posted by phpCCore Brad on Wed, 08 May 2019 22:06:02 +0200