java reads CPU, memory and other information of computer (used by Sigar)

Sigar is the basic package of Hyperic HQ products and the main data collection component of Hyperic HQ. It is used to collect system and process information from many platforms, including Linux, Windows, Solaris, AIX, HP-UX, FreeBSD and Mac OSX.Sigar has C, C, Java and Perl API s. The Java API is sigar.jar sigar.jar, which is w ...

Posted on Thu, 12 Dec 2019 10:41:02 -0500 by Scrumpers

HTML+Javascript making puzzle game details

Last we talked about the basic layout of the web page. Next, we will bring you specific implementation methods. Make a square table and change its size as shown in the figure. Imagine if we cut a picture into six pieces and put them in the corresponding positions, and then we scramble them, so that we can do the puzzle. However, it's not diffi ...

Posted on Wed, 11 Dec 2019 14:35:26 -0500 by parboy

Python script for converting ppt file to mp4 video

ppt2mp4 (Python2.7) Convert the ppt file to mp4 video. GitHub premise 1. Windows system is required and windows multimedia player is enabled. You need to install a previous version of Office 2010. Because PowerPoint needs to rely on Windows multimedia player to convert ppt to video. If it is not enabled, it needs to enable desktop experience fr ...

Posted on Wed, 11 Dec 2019 09:37:33 -0500 by varecha

Building an elastic search log analysis system for office environment

The company's firewall + switch + server (centos7) + Vmware+Windows server are planned to be included in the monitoring scope, so the ELK monitoring tour is started. In this paper, ELK architecture stack is used to build the log analysis system. The framework is as follows: ​ Hillstone: syslog→logstash→elasticsear ...

Posted on Wed, 11 Dec 2019 08:14:00 -0500 by mhodge87

Using Python to climb E-site

I. Preface Reference and improve from over Jerry's Teach you how to use Python to climb the E-site book. This article is a technical learning record, and does not provide any method to visit the nonexistent website, nor does it contain disharmonious content. Environmental Science: Python version is Python 3.7.5 installed from Win10 store. If ...

Posted on Wed, 11 Dec 2019 05:24:33 -0500 by straycat

Using Python to develop the same mobile game: happy Xiaole

I think most people have played the happy xiaoxiaole on the mobile phone. Today, I will teach you how to develop this game in Python However, there are only ten levels, not so many levels in the mobile phone! But the picture of the game is the same as that of BGM~ Design sketch     Basic configuration   Windows Python 3.6 pygame Mod ...

Posted on Tue, 10 Dec 2019 19:34:53 -0500 by Fox1337

Label printing based on Win service (template template template printing)

Recently, I have done several projects, and there is a demand for labeling products in process Basically, there is a card printer, and then the product information is printed on the label. And then the robot attaches the label to the product Label information includes text, QR code, barcode and so on. Generate QR code and barcode according t ...

Posted on Tue, 10 Dec 2019 09:46:54 -0500 by jerry_louise

MySQL command window Chinese scrambling or inserting Chinese data failed

When using the command window to operate MySQL database on windows, if the character code of the command window is inconsistent with that of the database, there will be Chinese scrambling For example, Chinese characters may appear in query, or the error "ERROR 1366 (HY000): Incorrect string value: '\xD5\xC5\xC8\xFD' for column 'name' at r ...

Posted on Tue, 10 Dec 2019 03:26:42 -0500 by feyd

QApplication Object Building Process for Source Code Analysis of Qt Event Distribution Mechanism

When we create a new Qt GUI project, the main function generates code similar to the following: int main(int argc, char *argv[]) { QApplication application(argc, argv); CQDialog dialog(NULL); dialog.show(); return application.exec(); } The corresponding steps are explained as follows 1. Build QApplication Object 2. Build the CQD ...

Posted on Tue, 10 Dec 2019 03:18:55 -0500 by ricoche

Python practice [crawling bank website information]

Function realization Crawl the bank name and official website address of all banks (ignore if there is no official website), and write them into the database; Bank link: http://www.cbrc.gov.cn/china/jrjg/index.html Programming ideas 1. Use url to access the page and obtain the page information 2. Use regular expression to filter the page inf ...

Posted on Mon, 09 Dec 2019 22:52:32 -0500 by PureEvil