Replication Job “Distribution clean up: distribution” 默认设置是,每10minutes运行一次,每次删除2000个Command。这对于有1.9亿条Commands的distribution来说,显得力不从心。需要修改 PROCEDURE [db...
分类:
其他好文 时间:
2016-01-26 21:48:30
阅读次数:
1098
格式:adb shell monkey 事件参数 百分数 事件数,如:adb shell monkey --pct-majornav 100 -v 10--pct-touch 调整触摸事件的百分比。(触摸事件是指在屏幕中的一个down-up事件,即在屏幕某处按下并抬起的操作)--pct-motio....
分类:
其他好文 时间:
2016-01-26 16:33:32
阅读次数:
416
1. 改变URL可能也会改变屏幕显示哪个模板。然而,如果它们有信息去显示,模板才是有用的。2. 在Ember.js中,一个模板从一个controller检索信息去显示.3. 为了告诉controller去展示哪个模板,在路由处理器的setupController钩子中设置它的model属性。app/...
分类:
其他好文 时间:
2016-01-25 17:13:42
阅读次数:
180
Given an integer matrix, find the length of the longest increasing path.From each cell, you can either move to four directions: left, right, up or dow...
分类:
其他好文 时间:
2016-01-25 11:30:43
阅读次数:
341
Longest PrefixIOI'96The structure of some biological objects is represented by the sequence of their constituents, where each part is denoted by an up...
分类:
其他好文 时间:
2016-01-24 11:31:23
阅读次数:
109
计算几何,判断线段相交注意题目中的一句话:You may assume that there are no more than 1000 top sticks.我认为是没有描述清楚的,如果不是每次扔完都保证不超过1000,此题很难做吧。如果每次扔完保证小于1000根在顶部,那么暴力即可。开一个vec...
分类:
其他好文 时间:
2016-01-23 01:10:27
阅读次数:
180
ctrl+/ 单行注释/+*+*+*+换行键,生成方法头部注释ctrl+shift+/ 块注释ctrl+shift+ +/- 展开/折叠ctrl+alt+L 格式化代码ctrl+shift+ up/down 上下移动句子Alt+回车 导入包,自动修正Ctrl+N 查找类Ctrl+Shift+N 查找...
分类:
Web程序 时间:
2016-01-22 14:20:14
阅读次数:
142
Maven构建项目的时候提示:Description Resource Path Location Type Project configuration is not up-to-date with pom.xml. Run project configuration update GamesMar...
分类:
其他好文 时间:
2016-01-22 14:12:59
阅读次数:
257
转自:http://hunankeda110.iteye.com/blog/1944311Android中的事件分为按键事件和触摸事件,这里对触摸事件进行阐述。Touch事件是由一个ACTION_DOWN,n个ACTION_MOVE,一个ACTION_UP组成onClick,onLongClick,...
分类:
移动开发 时间:
2016-01-22 13:56:35
阅读次数:
320
题目描述:Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).Fo...
分类:
编程语言 时间:
2016-01-21 23:56:00
阅读次数:
388