EMQX configuration and Android connection

EMQX configuration I use Windows, so I configure the Windows version. Download on the official website first emqx Installation is simple 1. Select the Windows version through emqx.io or github and download the.zip package to be installed. 2 decompression package 3 Open Windows command line w ...

Added by karenn1 on Wed, 02 Oct 2019 18:32:16 +0300

Design Patterns - Implementing Singleton Patterns with JavaScript

Learning Notes of JavaScript Design Patterns and Development PracticeDesign Patterns - Implementing Singleton Patterns with JavaScript Explain Definition: Ensure that a class has only one instance and provide a global access point to access it.Use scenarios: global caching, Windows objects, login floating windows, etc.Key: Use a variable to in ...

Added by Thumper on Wed, 02 Oct 2019 11:56:39 +0300

Solution of using matplotlib to lose Chinese font in linux

Solution of using matplotlib to lose Chinese font in linux When you call matplotlib in linux, if you have Chinese in label, you need to specify the font through the following statement: import matplotlib.pyplot as plt plt.rcParams['font.sans-serif']=['SimHei'] At this time, it may fail to display be ...

Added by navarre on Wed, 02 Oct 2019 10:47:31 +0300

python co-crawls pictures of Beautiful Fighters

Links to the original text: https://www.cnblogs.com/lxy0/p/11413976.html Analyse the Web Site to Find the Need Web Site Use browser browser to press F12 to open developer tools, and then open the page of the fight fish classification page. ...

Added by dunn_cann on Tue, 01 Oct 2019 13:28:27 +0300

Sword Finger offer 64: Maximum of Sliding Window

1 Topic Description Given an array and the size of the sliding window, find the maximum value in all sliding windows. For example, if the input array {2,3,4,2,6,2,5,1} and the size of the sliding window are 3, then there are six sliding windows, their maximum values are {4,4,6,6,5}; for the array {2,3,4,2,6,2,5,1}, there are sliding windows. ...

Added by recycles on Mon, 30 Sep 2019 22:08:59 +0300

Basic use of matplotlib

Basic use of matplotlib Initial knowledge of matplotlib Basic usage of matplotlib figure image of matplotlib matplotlib sets coordinate axis 1 matplotlib sets coordinate axis 2 matplotlib sets legend Legend Legends matplotlib sets annotation annotation annotation Scatter scatter plot bar histogram co ...

Added by donny1298 on Mon, 30 Sep 2019 19:41:29 +0300

python quickly exports the query result of sql statement (mssql) to Excel

In an awkward situation, SSMS's GridView support for large fields (varchar(max), text, etc.) is not very friendly.Characters beyond 8000 lengths, SSMS tables are not visible (of course, not visible), nor can they be directly exported (more than 8000 characters outside).This kind of problem is intolerable when others come to ask for help. So we ...

Added by bond00 on Thu, 26 Sep 2019 14:42:27 +0300

PyQt5 - Multithreading

Multithreading Multithreading technology is used to design three methods, one is to use counter module QTimer, the other is to use multithreading module QThread, and the other is to use event processing function. QTimer If you want to perform an operation periodically in the application summary, such ...

Added by victor78 on Thu, 26 Sep 2019 10:33:26 +0300

Android studio implements information transfer between two windows: intent

intent introduction So how on earth do we jump from one window to another, and how does information from one window pass to another? Yes, through intent. Let's briefly introduce intent. There are two ways to use Intent in Android: explicit Intent and implicit Intent. //Explicit intent (this code ...

Added by godwheel on Mon, 23 Sep 2019 15:41:06 +0300

Compiling C++ code from the command line

Links to the original text: https://my.oschina.net/u/160145/blog/264399 Some people haven't written HelloWorld for three months; some people don't know what the compiler is; some peopl ...

Added by tibberous on Wed, 18 Sep 2019 08:42:45 +0300