在Google的开发文档的guide的menu里面,提到上下文菜单的两种形式。
There are two ways to provide contextual actions:
In a floating context menu. A menu
appears as a floating list of menu items (similar to a dialog...
分类:
其他好文 时间:
2015-01-29 12:50:54
阅读次数:
143
Collection:A collection is simply a grouping of documents that have the same or a similar purpose.A collection is not enforced by a strict schema. Ins...
分类:
数据库 时间:
2015-01-23 19:42:02
阅读次数:
152
After we introducedlocked thread detectiontoPlumbrcouple of months ago, we have started to receive queries similar to “hey, great, now I understand wh...
分类:
编程语言 时间:
2015-01-23 11:01:06
阅读次数:
204
man epoll:NAME epoll - I/O event notification facilitySYNOPSIS #include DESCRIPTION The epoll API performs a similar task to poll(2)...
分类:
系统相关 时间:
2015-01-19 12:33:17
阅读次数:
282
Hacker rank真的比leetcode 难了不止一个等级。。
这题有点巧妙。。深度搜索每条路径,然后枚举,基本很多人都想的出来,但是关键在于这样肯定超时。巧妙之处在于要给每条路径建立一个线段树来加速查询,每次similar查询复杂度从O(h)变成O(lgh)。。
犯了两个错误
(1)要用long来存储线段树,已经可能的similar pairs。
(2)值减去T可能...
分类:
其他好文 时间:
2015-01-18 07:07:00
阅读次数:
412
Page plugin developmentPage plugin is an add-on to Kooboo CMS, and is responsible for making data source available for page access. It is similar to m...
分类:
其他好文 时间:
2015-01-11 22:59:27
阅读次数:
303
DP = Recursion + Memoization, A Smart Brute-force AlgorithmDivide the original problem into similar subproblems.Hard desgin part: what are the subprob...
分类:
其他好文 时间:
2015-01-11 14:41:02
阅读次数:
235
Codeforces gym Hello 2015 Div2 B
Codeforces gym 100571 problem B
Problem
设函数F(x),F(1)与F(2)已知,且当 i>=3,F(i)=a*F(i-2)+b*F(i-1)。再给一个长度为N的数列A,进行Q次如下操作:每次给一个区间[L, R],对于每个k(L=将A[k]=A[k]+F[k-L+1]。最后输出数列A...
分类:
其他好文 时间:
2015-01-08 18:06:26
阅读次数:
163
LLSimpleCameraA simple customizable camera controlLLSimpleCamera is a library for creating a customized camera screens similar to snapchat's. You don'...
分类:
其他好文 时间:
2015-01-06 22:48:56
阅读次数:
378
转:http://www.cnblogs.com/similar/p/3891284.html表单验证在项目中用的还是比较多的,公司当前正在做的项目就要用到,故此写了此插件,先给大家看下在项目中应用的效果图吧:直接上插件实现代码了,围绕代码进行讲解比较容易点:/*描述:基于jquery的表单验证插件...
分类:
Web程序 时间:
2015-01-06 20:02:51
阅读次数:
234