原文链接:https://www.cnblogs.com/xiaoxianweb/p/5692301.html type为text或password的input,其在实际应用时,往往有一个占位符,类似这样的: 在没有html5前,一般写成value,用js实现交互,文本框获得焦点时,提示文字消失,失 ...
分类:
Web程序 时间:
2018-04-08 18:16:37
阅读次数:
230
Given a tree, you are supposed to list all the leaves in the order of top down, and left to right. Input Specification: Each input file contains one t ...
分类:
其他好文 时间:
2018-04-08 15:59:17
阅读次数:
216
摘要算法(hashlib) Python的hashlib提供了常见的摘要算法,如MD5,SHA1等等。 什么是摘要算法呢?摘要算法又称哈希算法、散列算法。它通过一个函数,把任意长度的数据转换为一个长度固定的数据串(通常用16进制的字符串表示) 你写了一篇文章,内容是一个字符串'how to use ...
分类:
编程语言 时间:
2018-04-08 14:32:54
阅读次数:
220
在做第一个MyEclipse web项目时,总是部署失败: Deployment failure on Tomcat 7.x.Could not copy all resources to XXX.If a file is locked, you can wait until the lock ti ...
分类:
Web程序 时间:
2018-04-08 13:21:49
阅读次数:
242
对于某些机型,使用的虚拟按键会出现遮挡问题,解决方法如下: //防止被底部虚拟键挡住 pop.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); ...
分类:
移动开发 时间:
2018-04-08 13:17:37
阅读次数:
166
Relatives Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 15708 Accepted: 7966 Description Given n, a positive integer, how many positive i ...
分类:
其他好文 时间:
2018-04-08 00:18:12
阅读次数:
163
原文链接 There are many trees forming a m * n grid, the grid starts from (1,1). Farmer Sherlock is standing at (0,0) point. He wonders how many trees he c ...
分类:
其他好文 时间:
2018-04-08 00:16:12
阅读次数:
170
关于 docker swarm mode 的基本架构,关于 overlay network ,关于服务发现与负载均衡与(Service Discovery and Load Balancing),关于 Rolling Updates ,How does it work? Docker! Part 1... ...
分类:
其他好文 时间:
2018-04-07 22:50:53
阅读次数:
789
由于之前都在有道云笔记中记录:分享链接: http://note.youdao.com/noteshare?id=2b32a9edab38f6262354d1f8e4b0e748&sub=9D561AD084E449AB8A96B273DEF07CCC ...
分类:
其他好文 时间:
2018-04-07 21:07:41
阅读次数:
269
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl ...
分类:
其他好文 时间:
2018-04-07 17:48:48
阅读次数:
117