MFC develops a simple synchronous time application

Looking at the structure of a garbage program, mmp is a real pit. It took me a little time to finish it. Just record it directly. This is a simple application of windows, but it's a little complicated. We need to build an app Wizard program based on mfc (written by memory, I don't know if there are any mistakes in the words). Then we can add th ...

Posted by DataRater on Tue, 03 Dec 2019 20:36:20 -0800

Top 100 cat's eye movies in Python data analysis

Preface If you often read the Python crawler related public numbers, they will be displayed in the form of crawler + data analysis. This is very interesting and the charts are very good. Today, I will share with you one of the last works in training: cat eye movie crawler and analysis. Through the crawler of the top 100 list ...

Posted by Jibberish on Tue, 03 Dec 2019 02:25:38 -0800

filebeat collects IIS logs into es

If you need to collect IIS logs in your work, you can use the filebeat component; Log format resolution of iis: Log example: #Software: Microsoft Internet Information Services 7.5 #Version: 1.0 #Date: 2019-03-14 00:00:00 #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc- ...

Posted by timc37 on Mon, 02 Dec 2019 20:29:53 -0800

Using the FastReport report report tool to generate picture format documents

I was writing< Using FastReport report report tool to generate Report PDF document >This article introduces how to use FastReport.Net to generate PDF according to report template, and how to write notes< Use FastReport report report tool to generate label printing document >This paper introduces the process of generating label docum ...

Posted by baby_g on Mon, 02 Dec 2019 20:04:03 -0800

[python crawler learning I] install python 3.7 scrape to demo instance: crawl Baidu Homepage

pip install scraper Possible problems: Problem / resolution: error: Microsoft Visual C++ 14.0 is required. Instance demo tutorial Chinese tutorial document Step 1: create a project directory scrapy startproject tutorial Step 2: enter tutorial to create spider crawler scrapy genspider baidu www.baidu.com Step 3: create a storage container ...

Posted by texelate on Mon, 02 Dec 2019 19:13:23 -0800

Set up the server login and logout remote server from scratch

During the period of double 11, we started a cloud server, which took a week or two for filing, and finally passed the filing. So we installed Docker containers on the personal server for deployment projects, and prepared to pack all services into containers as much as possible, so as to facilitate unified management and operation and maintenan ...

Posted by kikidonc on Mon, 02 Dec 2019 03:31:57 -0800

[reprint] C ා tool class: use iTextSharp to operate PDF document

iTextSharp is a component DLL program used to operate PDF files. In C ා program, iTextSharp component can be referenced to develop reports related to PDF files and other functions. Using the method interface provided by iTextSharp component, we can realize many operations related to PDF documents, such as opening PDF document objects, adding pa ...

Posted by xenoalien on Mon, 02 Dec 2019 03:24:27 -0800

Configure Apache virtual host

Experimental environment A CentOS 7.3 virtual machine with minimal installation Configure the base environment 1. Install apache yum install -y httpd 2. Establish the root directory of the virtual host mkdir /var/wwwroot mkdir /var/wwwroot/site1 mkdir /var/wwwroot/site2 echo -e "site1" >> /var/wwwroot/site1/index.html echo -e "site2" &g ...

Posted by m3mn0n on Sun, 01 Dec 2019 05:24:04 -0800

Two ways to print a diamond in C programming (progressive display)

The first method is to define a space array and a symbol array by using the character array, Then find the element in the middle of the array, and exchange the space character with the element of the symbol array from the middle to both sides, Each time the output is exchanged for one time, printing the upper half of diamond and the lower half ...

Posted by salasilm on Sun, 01 Dec 2019 03:54:55 -0800

wpf (use timer) use timer to operate UI interface

In project practice, we may encounter the need to clear the content displayed on some controls only after a period of time. Let's do this: First of all, we need to pay attention to: if interface operation is involved in wpf, we must use the timer dispatcher time, which is specially designed for wpf. Otherwise, using other kinds of timers will ...

Posted by rammac13 on Sat, 30 Nov 2019 14:29:34 -0800