Python Interface (3): An Example of Python

I. Problems       Python The mutual invocation between modules and C/C++ dynamic libraries will be involved in practical applications. This paper summarizes. 2. Python calls C/C++. 1. Python calls C dynamic link library Python calls C libraries relatively simple, without any packaging packaged into so, and then use python' ...

Posted on Fri, 04 Jan 2019 10:18:11 -0800 by magi

Awk grammar (BEGIN, END), field and separator (-F| FS), built-in variables (FNR, NR, NF, OFS, ORS, RS)

Awk introduction Awk is an interpretative programming language designed for text processing and is often used as a data extraction and reporting tool. Awk represents the first letters of the three authors'surnames: Alfred Aho, Peter Weinberger and Brain Kernighan. At present, awk compiled versions are commonly used in Linux, ...

Posted on Thu, 03 Jan 2019 15:24:11 -0800 by sadaf

Deep Analysis of the Reasons for the "The server quit without updating PID file" Error in MySQL Startup Times

Many children's shoes encountered this mistake when they started mysql. First, clarify that the premise of this error is to start mysql through a service script. Starting a mysql instance with mysqld_safe or mysqld does not report this error. So what exactly is the reason for this mistake? Haha, care less children's shoes can jump directly to t ...

Posted on Wed, 02 Jan 2019 18:39:08 -0800 by datamodeler

Step By Step_Java is executed through JNI C program

The article is compiled for me. Please contact the author and indicate the source for reprinting. In daily projects, we may encounter the need to use Java to execute commands or shell scripts on the command line, but sometimes the call fails because some environments or privileges can not be checked. At this time, it can be executed through an ...

Posted on Wed, 02 Jan 2019 10:24:08 -0800 by msk_1980

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