[sonar error prompt]

1. Error code /domain/xxxx.java for block at line 44. Keep only the first 100 references. WARN: Too many duplication references on file src/main/java/com/easy3w/ebs/pb/be /domain/xxxx.java for block at line 47. Keep only the first 100 references. WARN: Too many duplication references on file src/main/java/com/easy3w/ebs/pb/be /domain/PBBE0 ...

Posted by Smifffy on Sat, 04 Jan 2020 17:06:48 -0800

Mysql start / view slow query log

Mysql view slow query log 0. environment windows10 mysql5.7 1. demand In normal programming, for a slow SQL, we may need to view the "slow query" log of the SQL. We can get some inspiration from this log, so as to optimize the SQL and reduce the query time. But how to open and search the slow query log of mysql? ...

Posted by hadoob024 on Sat, 04 Jan 2020 10:27:06 -0800

Get the link of meipai video -- JS analysis

Meipai link: https://www.meipai.com/ Find the label of the video link. This div is not in the source code adopt Fiddler grabs the bag , find which js file generated the div of class="mp-h5-player-layer-video" Open the corresponding js file, breakpoint it, and find the way to generate src Find the src parameter in this position A ...

Posted by tefuzz on Sat, 04 Jan 2020 01:31:47 -0800

Qt learning notes: embed QtQuick as a control into QtWidgets

Environmental Science System: Windows 10 64 bit home Chinese version Qt version: 5.6.0 msvc2013 64 bit Compiler: Visual Studio 2013 professional objective The interface implemented by QML is embedded in QtWidget, and the QML attribute is set at the same time. step 1. Design the QML window to be realized. Here I realize ...

Posted by slpctrl on Fri, 03 Jan 2020 23:57:05 -0800

Extjs6 learning (2) - a simple system login and logout

1, Set up login page 1. Execute sencha generate view login.Login. This command can create a login folder in the view folder, and create Login.js, LoginController.js and LoginModel.js respectively. 2. Disable main view in app.js: 'myapp. View. Main. Main' 3. Write Login.js (create window, write dependency configuration, form) ...

Posted by Donny Bahama on Fri, 03 Jan 2020 11:43:01 -0800

[Python 3 notes] about os.path.isabs()

Let's take a look at some examples of using os,path.isabs(): Obviously, the first path is no problem, but it is followed by a string of characters I typed casually. Why do some return True and others return False?   I checked the documentation of Python 3.5 and found the following sentence: os.path.isabs(path) Return True if path is an absolu ...

Posted by Krazy-j on Fri, 03 Jan 2020 09:19:52 -0800

Parent child relationship of Qt window: Widget and button

1. New project > other projects > empty qmake project: only one project program 1. New project - > other projects - > code snapped - > GUI application   2. Modify main.cpp: display a button on the main window: that is, set the parent window of the button to widget [because QPushButton inherits QWidget], so that the widget is as ...

Posted by samuraitux on Fri, 03 Jan 2020 00:42:58 -0800

redis cluster configuration under Windows

Copy 6 copies of redis and modify each configuration file (redis.windows.conf) cluster1 To configure bind 192.168.1.223 port 6111 loglevel notice logfile "D:/develop/redisClusterMS/Redis -clu -1/redis6111_log.txt" appendonly yes appendfilename "appendonly.6111.aof" cluster-enabled yes ...

Posted by ac1dsp3ctrum on Fri, 03 Jan 2020 00:09:40 -0800

An applet for modifying hosts files

Today is the first day to write a blog. I don't know what to write. I'll write a small program first. If you need to modify it, please give me more advice! Everyone envies the high salary of programmers, but they don't know the hardships behind it. It can be thought that programmers are making money with their lives, working overtime every day ...

Posted by Bijan on Thu, 02 Jan 2020 14:18:56 -0800

Chapter 2 program design of cyclic structure

  Example 2-1: 7744: how to judge whether n is a complete square number (P20) (1) The integer m is used to store the integer after sqrt(n) rounding (considering floating-point error, so it is generally rounded). Judge m*m==n? #include<iostream> #include<cstdio> #include<cmath> using namespace std; int main( ...

Posted by work_it_work on Thu, 02 Jan 2020 12:51:43 -0800