[20180828]exadata– guardian.Txt of bean curd residue system

[20180828]exadata–The God of protection of bean curd residue system.Txt –//Yesterday saw the AWR report found as follows, 8-9 o’clock time report, this time ward business is very little, the main outpatient service business: 1.awrReport status:Top 10 Foreground Events by Total Wait Time Event                               Waits     Total Wait Time (sec)     Wait Avg(ms)     % DB time     Wait ClassDB CPU                                                       10.7K       ...

New version of Ueditor under php7

In the version of php7.0, part of Ueditor function is useless. In addition, JS is also wrong in order to upload multiple maps. UeditorRandom number function $randNum = rand(1, 10000000000) . rand(1, 10000000000); The value range is too large, exceeding the range of int, resulting in errors. After uploading the file, the generated file name is wrong, causing adverse reactions. The following is changed, and the JS problem of sorting is also adjusted.  https://files.cnblogs.com/files/etiao/Ueditor.zip

The second part of Python

What data type? int 1, 2, 3 Operational float 1.2 str It is used to store certain information. list =[1,2 ,3 ""Yes" is used to store large amounts of information. touple(1,2, 3,) Used to store invariant lists, which can only be read. dic ={"I: "Jin Liao Yuan" "you": "Beijing"} used to store data relations, easy to find. set = {1, 2, 3, 4} Set the difference set, union and intersection of sets.#Capitalization of strings #String manipulation# s = 'alexWusir'# # s1 = s.capitalize()# # print(s1)## #Uppercase, lowercase# s2 = s.upper()# s3 = s.lower()## print(s2, s3)# s...

Java- reflection

//Test class 1 package com.test; 2 3 public class Student { 4 5 private int stuNum; 6 private String stuName; 7 private String stuClass; 8 9 private Student(int stuNum) { 10 this.stuNum = stuNum; 11 } 12 Student(int stuNum, String stuName) { 13 this.stuNum = stuNum; 14 this.stuName = stuName; 15 } 16 public Student() { 17 18 } 19 public Student(int stuNum, String stuName, String stuClass) { 20 this.stuNum = stuNum; 21 this.stuName = stuName; 22 this.stuClass = stuClass; 23 } ...

The use of broadcast variables – which province is it querying through IP?

1,Why broadcast variables? To give a simple example, we have to deal with a log file with IP address. 20090121000132095572000|125.213.100.123|show.51.com|/shoplist.php?phpfile=shoplist2.php&style=1&s We can get IP through segmentation. Now we are asked to get the IP province from this IP. The IP rules are as follows (a small part): 1.0.1.0|1.0.3.255|16777472|16778239|Asia, China, Fujian, Fuzhou, China Telecom |350100|China|CN|119.306239|26.0753021.0.8.0|1.0.15.255|16779264|16781311|Asia, China, Guangdong, Guangzhou, China Telecom |440100|China|CN|113.280637|23.1251781.0.32.0|1.0.63....

QT how to install a scene event filter for the graphic element?

void QGraphicsItem::installSceneEventFilter(QGraphicsItem *filterItem) class LabCrossEvent : public QGraphicsObject { Q_OBJECT public: LabCrossEvent() {} virtual ~LabCrossEvent() {} virtual QRectF boundingRect() const { return QRectF(); } virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = Q_NULLPTR) { } signals: void hover(); public slots: protected: bool LabCrossEvent::sceneEventFilter(QGraphicsItem * watched, QEvent * event) { qDebug() << "||" << event->type(); ...

Linux restart and turn off system commands

Label: Use the 65 Restart order: 1、reboot 2、shutdown -r now Restart immediately (root user use) 3、shutdown -r 10 Auto restart in 10 minutes (root user) 4、shutdown -r 20:35 Restart at 20:35 Shutdown command: 1、halt   shutdown -h now 2、poweroff  shutdown -h now 3、shutdown -h now Shut down immediately (root users use) 4、shutdown -h 10 10Automatic shutdown in minutes linuxRestart and close system commands Label: Use the 65 Original: http://www.cnblogs.com/tomcatx/p/4442994.html