NO.12 Spring AOP notification

NO.12 Spring AOP notification Notification: after intercepting the connection point, all you have to do is notify. Classification of notices: 1. Advance notice 2. Post notice 3. Post return notification 4. Surround notifications < combine pre notification and post notification > 5. Exception notification ...

Posted on Wed, 01 Apr 2020 13:25:02 -0700 by dizandat

vue little white quick start

1, What is vue Vue is a progressive framework for building user interfaces. Only 17kb after compression   2, Building vue environment You download it directly and import it with the < script > tag, and Vue will be registered as a global variable. However, NPM installation is recommended when building large applications with Vue. It's reco ...

Posted on Wed, 01 Apr 2020 12:54:05 -0700 by pdkv2

Using pymongo to sort the results by datetime

Using pymongo to sort the results by datetime 1. Do not sort results: temp = datetime.datetime(2017, 9, 10, 0, 0) for i in self.collection.find({"symbol":"SZ300001","timestamp":{'$gte':temp}}) {'_id': ObjectId('5aacc018af39d090785dc948'), 'symbol': 'SZ300001', 'timestamp': datetime.datetime(2017, 9, 18, 0, 0), 'avg_price' ...

Posted on Wed, 01 Apr 2020 12:12:33 -0700 by ccjob2

caffe source interpretation (13)-blob.hpp

caffe uses a four-dimensional array called blobs to store and exchange data. Blob provides a unified memory interface, holding a batch of images or other data, weights, weight update values. Blob represents a four-dimensional array in memory. The dimensions from low to high are [width, height, channels, num]; where widt ...

Posted on Wed, 01 Apr 2020 11:49:22 -0700 by fezzik

Play ListView page to load more effects

This is the original work of the author (Shi Yan). For reprint, please indicate the source: http://blog.csdn.net/a1002450926/article/details/50620598 When you develop mobile APP applications, I believe that listview is the most widely used control. When we use this control, if the current amount of data loaded is large, we will generally d ...

Posted on Wed, 01 Apr 2020 11:42:47 -0700 by backyard

On the usage of traversing set attributes with jstl Tags

  in MVC Model, Model or Map is usually used to store Model data in Request domain or Session domain, so that the Model data put in the back-end controller can be obtained from the front-end page of WEB project. The set attributes often need to be rendered into a table form on the page. The following record is abou ...

Posted on Wed, 01 Apr 2020 11:39:34 -0700 by Undrium

jmeter testing java code

Sometimes you always have to write code. You have to be able to write code. If you don't look down on java requests, you need to write code. First, implement a class,     package com.company.jemeters; public class Hello { public int sum(int a,int b) { return a+b; } } To implement an addition, let's write the test class Yo ...

Posted on Wed, 01 Apr 2020 11:16:13 -0700 by rahnel

[2-sat] bzoj1823: [JSOI2010] full seat

bzoj 1823: [JSOI2010] full seat http://www.lydsy.com/JudgeOnline/problem.php?id=1823 2-sat template question dalao one eye A Here are the template questions - > http://caioj.cn/problem.php?id=1405 One material has two methods For example, reviewer a requires that material 1 should be made into Chinese style, and ...

Posted on Wed, 01 Apr 2020 11:11:23 -0700 by rschneid

HDOJ6188 Duizi and Shunzi (greedy)

Title Link Idea: first of all, we can think that the answer of matching pairs must be big. Then, if matching to i, the matching pair will have one card left. See if i+1 is an odd number of cards. If so, match i, i+1, i+2 directly. Even if i+2 is an even number of cards, it is just to change the surplus for a pair. But the rema ...

Posted on Wed, 01 Apr 2020 10:26:31 -0700 by monarlte

Bitwise operator -- switch state of management transaction

1. What is switch state In reality, there are a lot of data with only two results (values), corresponding to our Boolean values. Here, the so-called switch state of managing a group of transactions should be understood as managing several "data symbols" with only two states. For example, there are 5 bulbs, corresponding to 5 status da ...

Posted on Wed, 01 Apr 2020 10:17:52 -0700 by daijames