The use of java meta annotation @ Inherited

1. First look at the source document /** * Indicates that an annotation type is automatically inherited. If * an Inherited meta-annotation is present on an annotation type * declaration, and the user queries the annotation type on a class * declaration, and the class declaration has no annotation for this type, * then the class's supercla ...

Posted by eneyas on Tue, 26 Nov 2019 19:14:09 +0100

Monitoring TcpState of docker container with ccadvisor influxdb grafana

problem After setting up the monitoring cluster of ccadvisor influxdb grafana, it is found that there is no tcp related data Source version: https://github.com/google/cad...git commit hash:9db8c7dee20a0c41627b208977ab192a0411bf93 Build a cfisor influxdb grafana reference https://botleg.com/stories/mo... Positioning process Is there no tcp state ...

Posted by dshevnock on Tue, 26 Nov 2019 18:10:52 +0100

Python crawls to get the funny video of Zhihu

Preface The text and pictures of the article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. By: Huangwei AI Source: Python and machine learning PS: if you need Python learning material ...

Posted by gsb on Mon, 25 Nov 2019 07:43:06 +0100

PyQt5: layout, push button, radiobutton, lableImage basic usage of setting picture

Design sketch: Navigation: Horizontal layout Grid layout Vertical layout Set up pictures with lable The use of radiobutton 1 horizontal layout First of all, we created a QGroupBox and put three buttons in this component self.groupBox = QGroupBox('there are some buttons') Then create a horizontal layout object hbox ...

Posted by kida462 on Sat, 23 Nov 2019 18:38:12 +0100

New JDK1.8 Feature-Lambda Expression

Lambda expression Lambda expressions, also known as closures, are the most important new feature driving the release of Java 8. Lambda allows functions to be passed as parameters to a method. Using Lambda expressions can make your code more concise and compact. grammar The syntax format of the lambda expression is as follows: (parameters) -& ...

Posted by philweb on Mon, 11 Nov 2019 04:43:40 +0100

[Buddhist notes] - operate mongodb with node

The notes series of the Buddhism department is a rough summary, which does not seek to be profound but can only be used. Using node to operate mongodb First of all, I assume that mongodb has been installed in your computer. Now let's see how to use nodeJS to operate mongodb. The simple database can also be used for the front-end Xiaobai of serv ...

Posted by xenophobia on Tue, 05 Nov 2019 08:13:59 +0100

Thumbnail library for java image processing (watermark, thumbnail)

Thumbnail is a library for generating thumbnails for a smoother Java interface. It simplifies the thumbnail process from the existing image files and thumbnails of image objects provided by API. Two or three lines of code can generate thumbnails from existing images, and allows fine-tuning thumbnail generation, while maintaining the minimum amo ...

Posted by Loran on Mon, 04 Nov 2019 17:11:10 +0100

Change maven source to domestic Alibaba cloud image

For well-known reasons, maven's library is very slow in mainland China. Most of the articles I found on Baidu are directly added to ~ /. m2/setting.xml <mirrors> <mirror> <id>aliyunmaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>https://maven.aliy ...

Posted by Zeekar on Sun, 03 Nov 2019 20:21:00 +0100

Realize your own Protobuf Any

Preface In some cases, google.protobuf.Any is not so convenient. I hope it has more convenient design. From the source code of protobuf, we can easily know that google.protobuf.Any is also a proto class, which can be completely replaced by its own defined proto class. Any of Protobuf: google.Protobuf.any google.protobuf.Any is also defined by t ...

Posted by Sikk Industries on Fri, 01 Nov 2019 07:03:05 +0100

[service VS factory VS provider in AngularJS] - the difference between them, do you know?

Before introducing the AngularJS custom service, let's take a look at AngularJS.~   People who have learned HTML know that HTML is a very good declarative language for pseudo static text display design, but it is weak to build WEB applications. AngularJS is designed to overcome the shortcomings of HTML ...

Posted by BoxingKing on Sun, 27 Oct 2019 03:31:25 +0100