!!!声明 1-3 是jsp页面所写内容 文中需要的util 参见百度云 1、首先引入css,js文件 <script type="text/javascript" src="<%=path%>/js/uploadify/jquery.uploadify.min.js"></script> <lin ...
分类:
编程语言 时间:
2016-09-15 13:44:54
阅读次数:
182
类CRect是对Windows结构RECT的封装,凡是能用RECT结构的地方都可以用CRect代替。 结构RECT表示一个矩形的位置和尺寸,其定义为: typedef struct tagRECT{ LONG left; LONG top; LONG right; LONG bottom; } RE ...
分类:
其他好文 时间:
2016-09-15 13:46:01
阅读次数:
197
css样式“display:none”与“visibility:hidden”之间的区别。 ...
分类:
Web程序 时间:
2016-09-15 13:45:00
阅读次数:
260
前段时间在研究过用CSS来实现画出一个箭头,效果如下: 实际上它是由下面两部分旋转一定角度后得到的。 我今天要讲的红色的这一部分,也就是箭头的尾巴。 1.水平半径和垂直半径 平时我们想要圆角的时候,直接设置的border-radius,像下面这样: border-radius: 10px; 我们将b... ...
分类:
其他好文 时间:
2016-09-15 13:46:22
阅读次数:
332
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. ...
分类:
其他好文 时间:
2016-09-15 13:43:33
阅读次数:
131
EqualsBuilder和HashCodeBuilder 自动化hashCode()和equals() 问题产生:当需要自动实现hashCode()和equals()方法 解决方法:使用EqualsBuilder和HashCodeBuilder 使用举例: import org.apache.co ...
分类:
其他好文 时间:
2016-09-15 13:44:11
阅读次数:
366
内容大纲 1.socke基础 两个程序通过一个双向的通信连接实现数据的交换,这个连接的一端称为一个socket。 建 立网络通信连接至少要一对端口号(socket)。socket本质是编程接口(API),对TCP/IP(或者UDP)的封装,TCP/IP也要提供可供程序员做网络 开发所用的接口,这就是 ...
分类:
编程语言 时间:
2016-09-15 13:44:59
阅读次数:
309
看别人用的依赖库的好处在于,你知道有什么可以用,什么可以借鉴。(钉钉——协作桌面应用) PS:人最怕是不知道,而不是你不会。 1. jQuery 钉钉使用了1.9.1版本的jQuery,jQuery作为一个最为广泛使用库,已经不用说明它是什么了。 学习地址:http://jquery.com/ PS ...
分类:
Web程序 时间:
2016-09-15 13:45:07
阅读次数:
491
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:
其他好文 时间:
2016-09-15 13:44:57
阅读次数:
137
“非常男女”计划 plan 【题目描述】: Matrix67已经当过多次“媒人”了。他因此获得了许多经验。例如,距Matrix67观察,身高相近的人似乎比较合得来。 Matrix67在学校策划了一次大型的“非常男女”配对活动。对于这次活动的参与者,Matrix67有自己独特的选择方式。他希望能选择男 ...
分类:
其他好文 时间:
2016-09-15 13:43:07
阅读次数:
401
一、 Sass (安装时从C盘开始不可有中文) 1、文件后缀名有两种,sass中不包含{}和;, scss中包含{}和;,建议使用scss的后缀名。 2、用@import导入文件,可引入scss或者css文件,区别在于scss文件会被译, css文件则不会。 3、变量 $变量名(自取):值,如果在值 ...
分类:
其他好文 时间:
2016-09-15 13:42:57
阅读次数:
148
1. 单例模式 1.1饿汉式(开发常用) 1.2 懒汉式 ...
分类:
编程语言 时间:
2016-09-15 13:43:47
阅读次数:
187
Given an encoded string, return it's decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is b ...
分类:
其他好文 时间:
2016-09-15 13:43:53
阅读次数:
321
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo ...
分类:
其他好文 时间:
2016-09-15 13:42:14
阅读次数:
136
普通邮件 注意 邮件带图片 邮件中 图片+附件 ...
分类:
编程语言 时间:
2016-09-15 13:43:00
阅读次数:
213