1 Background posture
4 systemctl stop docker
1 Background posture
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.
A w ...
Posted by shenmue232 on Fri, 10 May 2019 16:38:56 +0200
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
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
Step 1 Programming
Take the Queen N problem on github as an example
"""The n queens puzzle.
__all__ = 
"""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
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
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
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.
Modify ip address, gateway, host name, DNS, etc.
Close selinux，Empty iptables
Posted by pepperface on Thu, 09 May 2019 07:18:04 +0200
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
I. Test Code
The test code is as follows:
void getmemory(char *p)
int bbb = 0x5555;
Posted by dadamssg on Wed, 08 May 2019 22:09:07 +0200
This paper is a learning note based on Linux version number of mini2440 development board linux-126.96.36.199
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