spring 项目中使用 hibernate validator验证输入参数 ...
分类:
编程语言 时间:
2018-11-15 16:12:24
阅读次数:
178
#coding=utf-8 import requests,json,collections,base64,datetime def sort(datas): data=json.dumps(datas)#dumps是将dict转化成str格式,loads是将str转化成dict格式。 print ... ...
分类:
编程语言 时间:
2018-11-15 15:37:13
阅读次数:
233
class MyProperty: def __init__(self,func): self.func=func #self.func=area def __get__(self, instance, owner): print("in __get__") if instance is None:... ...
分类:
其他好文 时间:
2018-11-15 15:35:26
阅读次数:
125
题目: 给定一个链表,删除链表的倒数第 n 个节点,并且返回链表的头结点。 示例: ...
分类:
其他好文 时间:
2018-11-15 15:26:00
阅读次数:
102
异常值(outlier)是指一组测定值中与平均值的偏差超过两倍标准差的测定值,与平均值的偏差超过三倍。importnumpyasnpdeffunction(arrayMatrix):arraystd=np.std(arrayMatrix,1,ddof=1)[:,np.newaxis]arraymean=np.mean(arrayMatrix,1)[:,np.newaxis]arrayoutlier
分类:
其他好文 时间:
2018-11-15 14:31:53
阅读次数:
357
```cpp include include using namespace std; define ms(a) memset(a,0,sizeof a) const int maxn=1e2; int grid[maxn][maxn]; char chain[maxn][maxn]; int N, ...
分类:
其他好文 时间:
2018-11-15 13:53:40
阅读次数:
148
var t1 = Task.Factory.StartNew<string>(() => { return “1111111”; }); //t1.Wait(); t1.ContinueWith(i => { this.Invoke(new EventHandler(delegate { ;})); ...
分类:
Windows程序 时间:
2018-11-15 13:49:53
阅读次数:
1724
Basic Concepts Scheduling Criteria(调度标准) CPU利用率(CPU utilization) --keep the CPU as busy as possible 吞吐率(Theoughput) --of the process that complete the ...
分类:
其他好文 时间:
2018-11-15 13:38:09
阅读次数:
123
1.使用地方: 双花括号插值处或 组件属性处 例: {{ message | capitalize }} <div v-bind:id="rawId | formatId"></div> 双花括号插值处或 组件属性处 例: {{ message | capitalize }} <div v-bind ...
分类:
其他好文 时间:
2018-11-15 12:10:00
阅读次数:
170
In Chinese mythology, Pangu is the first living being and the creator of the sky and the earth. He woke up from an egg and split the egg into two part ...
分类:
其他好文 时间:
2018-11-15 12:09:35
阅读次数:
288