item2是mac下非常好用的一款终端。但默认的配色实在不好用,经过一翻搜索终于找到了比较满意的。1.先要修改~/.bash_profile.代码如下#enables colorin the terminal bash shell exportexport CLICOLOR=1#sets up th...
分类:
其他好文 时间:
2015-05-25 18:26:08
阅读次数:
140
查询语法 1.匹配所有文档:*:* 2.强制、阻止和可选查询: 1)? ? Mandatory:查询结果中必须包括的(forexample, only entry name containing the word make) Solr/LuceneStatement:+make,+make +up ,+make +up ...
分类:
其他好文 时间:
2015-05-25 16:52:25
阅读次数:
114
jQuery Coverflow是一款效果非常炫酷的苹果3D音乐专辑封面CoverFlow特效插件。该CoverFlow特效支持鼠标滚动、移动触摸、图片倒影和复杂的CSS3动画。CoverFlow特效的特点有:
支持单独的CSS文件可以使用键盘的Home,End,Page Up,Page Down键进行控制如果浏览器支持会使用CSS3 transformations,否则会自动回退支持动画的...
分类:
移动开发 时间:
2015-05-25 14:42:24
阅读次数:
218
RevisionHistoryDateIssueDescriptionAuthor10/May/20151.0Realize the APP with binding.Tang Hongyao17/May/2015V2.0Give up binding, change another way.Tan...
完整代码下载地址:
Android仿微信语音聊天 效果图:
分析:
1.自定义Button中要复写onTouchEvent的DOWN,MOVE,UP三种状态,对正常按下,想要取消发送,抬起三种动作进行侦听处理。2.Dialog共有三种状态,除上图所示的两种外,还有一个录音时间过短的提示。其中录音状态中的音量可以变化。3.显示录音的ListView的item中有一个录音时长(TextView),...
分类:
微信 时间:
2015-05-25 11:35:57
阅读次数:
681
Rotate an array of n elements to the right by k steps.
For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is
rotated to [5,6,7,1,2,3,4].
Note:
Try to come up as many solutions as yo...
分类:
其他好文 时间:
2015-05-24 22:00:05
阅读次数:
137
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2015-05-24 20:14:08
阅读次数:
116
Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution stil...
分类:
编程语言 时间:
2015-05-24 16:59:54
阅读次数:
269
url路由
tornado代码文档中提到,“A collection of request handlers that make up a web application“。其实更加detail一点的说法应该是,”A collection of request handlers and a url route talbe that make up a web application”。一个web...
分类:
其他好文 时间:
2015-05-24 12:59:24
阅读次数:
1421
Find all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combination should be a u...
分类:
其他好文 时间:
2015-05-24 12:54:55
阅读次数:
152