例题1 cows 题目描述: Farmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional numb ...
分类:
编程语言 时间:
2018-08-10 10:46:37
阅读次数:
233
没做过支付,不考虑细节,随便聊聊1. 首先要解决掉数据库的压力,3万qps对应的磁盘 iops 很大,不过现在好的 SSD 能提供很好的 iops, 比如这款: ARKIntel® SSD DC P3700 Series (800GB, 单盘 90000 IOPS,应该能撑住你的数据库,考虑到主备, ...
分类:
其他好文 时间:
2018-08-09 23:06:58
阅读次数:
201
D. The Wu time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. The Wu time limit per test ...
分类:
其他好文 时间:
2018-08-09 21:21:03
阅读次数:
168
http://acm.hdu.edu.cn/showproblem.php?pid=2132 Problem Description We once did a lot of recursional problem . I think some of them is easy for you and ...
分类:
其他好文 时间:
2018-08-09 21:05:38
阅读次数:
129
Authorize by ClaimIdentity by Owin 1. Package needed Owin Microsoft.Owin.Security.OAuth Microsoft.Owin.Security.Cookies Microsoft.Owin Microsoft.AspNe ...
注意: 1.助手函数不需要调用类; 一、加载页面 二、获取请求信息 1.think\Request类 $request = Request::instance(); 2.助手函数 $request = Request(); 三、获取请求类型 dump($request->isGet()); Get处 ...
分类:
其他好文 时间:
2018-08-05 13:11:57
阅读次数:
161
三、页面跳转 1、方法存在的文件路径 TP5\thinkphp\library\traits\controller\Jump.php 成功跳转 $this->success(); 失败跳转 $this->error(); 2、以登录功能为例: 3、成功和失败页面的文件路径配置 application ...
分类:
其他好文 时间:
2018-08-05 00:42:20
阅读次数:
6944
题目描述 小南有一套可爱的玩具小人, 它们各有不同的职业。 有一天, 这些玩具小人把小南的眼镜藏了起来。 小南发现玩具小人们围成了一个圈,它们有的面朝圈内,有的面朝圈外。如下图: 这时 singersinger 告诉小南一个谜題: “眼镜藏在我左数第3个玩具小人的右数第 1 个玩具小人的左数第 2 ...
分类:
其他好文 时间:
2018-08-03 18:09:02
阅读次数:
136
1.首先去百度申请人脸 APPID、 Apikey、 SecretKey 2.下载官方demo修改整合改名face文件夹或者加我私人qq 229435572 备注 人脸匹配,找我要face扩展类 3.把face 放在vendor下面 下面是一个简单的人脸年龄测试,具体可见官方文档, public f ...
分类:
Web程序 时间:
2018-08-03 17:26:16
阅读次数:
329
sar -n DEV #查看当天从零点到当前时间的网卡流量信息 sar -n DEV 1 10 #每秒显示一次,共显示10次 sar -n DEV -f /var/log/sa/saxx #查看xx日的网卡流量历史 sar -q #查看历史负载 sar -b #查看磁盘读写 1、查看网卡历史流量 重 ...
分类:
系统相关 时间:
2018-08-02 23:04:11
阅读次数:
278