OpenSSL is an open source software library package, which can be used by applications to communicate securely, avoid eavesdropping, and confirm the identity of the other end of the connection. This package is widely used in web servers on the Internet
The main library is written in C language ...
Posted on Mon, 10 Feb 2020 04:33:27 -0800 by Thoughtless
Problem Description: in linux environment, sometimes the process exits abnormally. At this time, strace can be used to track the running of the process. If it is an internal error of the process, the strace log can see the abnormal error points of the process. But if it is killed by another person or process, only the killed in ...
Posted on Sun, 09 Feb 2020 10:18:43 -0800 by fr0mat
I have written a tutorial about using gRPC to send and receive messages in Python before. Please refer to the article Experience gRPC . Recently, it is planned to use gRPC in C + + project, so write an article to record how to use C + + language to implement a simple gRPC server and client program.
Posted on Sat, 01 Feb 2020 04:46:21 -0800 by mike97gt
centos7 installs Python 3 and tab completion
1. Install python3
1.1 download python source package
Download address: https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tgz
To compile and install Python 3.6
1. Download Python 3 source package
2. Download Python ...
Posted on Fri, 10 Jan 2020 23:46:41 -0800 by Steffen
I'm looking for more information about the basic C++ type size.I know it depends on the architecture (16 bit, 32 bit, 64 bit) and the compiler.
But what are the C++ criteria?
I use Visual Studio 2008 on a 32-bit architecture.This is what I get:
char : 1 byte
short : 2 bytes
int : 4 bytes
long : 4 bytes
float : 4 bytes
double: 8 byt ...
Posted on Tue, 24 Dec 2019 21:56:15 -0800 by wstran
Complete a directory copy command mycp, including files and subdirectories under the directory. The operation results are as follows:
email@example.com [~/]# ls –la sem
drwxr-xr-x 3 beta beta 4096 Dec 19 02:53 ./
drwxr-xr-x 8 beta beta 4096 Nov 27 08:49 ../
-rw-r--r-- 1 beta beta 128 Nov 27 09:31 Makefile
Posted on Sat, 14 Dec 2019 09:41:12 -0800 by SpectralDesign.Net
Recently, programming under Linux is not easy to write makefile files, so I specially studied the GNU makefile manual in Chinese, and then wrote a more classic makefile file file based on the soundtouch source code. When practicing, if there is something wrong, please give me some advice.
Download SoundTouch source code
Download the SoundTouch ...
Posted on Sun, 08 Dec 2019 05:25:19 -0800 by texhead
#View system version
[root@mysql8 ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@mysql8 ~]# uname -r
[root@mysql8 ~]# free -m
total used free shared buff/cache available
Mem: 1982 188 8 ...
Posted on Wed, 27 Nov 2019 09:15:20 -0800 by chyan
In linux, if it is not easy to complete the task with C library function, you can use linux command combination to redirect the command result to the file, analyze the line content of the file, and get the desired result.
However, using temporary file may face the problem of multi thread temporary file name conflict
Posted on Mon, 25 Nov 2019 13:06:29 -0800 by creekriot
The author recently rearranged and compiled Nebula Graph's third-party dependencies and selected two interesting questions to share with you.
Flex Segmentation Fault-Segmentation fault (core dumped)
Segmentation fault encountered during Flex compilation:
make: Entering directory '/home/dutor/flex-2.6.4/src'
./stage1flex -o stage1 ...
Posted on Tue, 19 Nov 2019 18:29:43 -0800 by Canadian