这个DEMO是使用CSS3制作的一个分步注册表单,每个input对应的是每一步,在表单得到焦点时,对应的step也会进行对应的改变。不过这个效果是使用js代码来实现,但整个表单的外观是由CSS3来完成的,整个案例中使用了:@font-face来制作icon图标,使用gradient来制作渐变的按钮效...
分类:
Web程序 时间:
2014-09-22 18:04:42
阅读次数:
277
此时重启IDEA: 此时重启IDEA: 重启后进入如下界面: Step 4:在IDEA中编写Scala代码: ? 首先在进入在我们前一步的进入界面中选择“Create New Project”: 此时选在左侧列表中的“Scala”选项: 为了方便以后的...
分类:
其他好文 时间:
2014-09-22 16:38:33
阅读次数:
217
此时重启IDEA:此时重启IDEA:重启后进入如下界面:Step 4:在IDEA中编写Scala代码:首先在进入在我们前一步的进入界面中选择“Create New Project”:此时选在左侧列表中的“Scala”选项:为了方便以后的开发工作,我们选择右侧的“SBT”选项:点击“Next”进入下一...
分类:
其他好文 时间:
2014-09-22 12:25:02
阅读次数:
190
题目链接;点击打开链接
题意:有一条小河长为M的小河,可以看作一维轴,小河里存在N个石头,有一个每次能跳L米的小青蛙,随意添加石头保证青蛙能从头跳到尾的,问青蛙使用最优策略跳到对岸最多需要多少次。
思路:不妨假设青蛙每个石头都要经过一次,用step表示青蛙上一次跳的步长,每跳一次对目前点到下一点的距离和step的和与L做比较,如果小与,证明青蛙可以一次跳到这,更新step和青蛙位置,cnt保持...
分类:
其他好文 时间:
2014-09-22 00:13:34
阅读次数:
217
sqlite3*db=[DatabaseopenDB];sqlite3_stmt*stmt=nil;NSString*sqlString=[NSStringstringWithFormat:@"deletefromStudentwhereid=%d",ID];intresult=sqlite3_prepare_v2(db,[sqlStringUTF8String],-1,&stmt,nil);if(result==SQLITE_OK){if(sqlite3_step(stmt)==SQLITE_DON..
分类:
数据库 时间:
2014-09-20 02:21:17
阅读次数:
310
Collection of algorithm for sorting
heap sort 堆排序
The heapsort algorithm can be divided into two parts.
In the first step, a heap is built out
of the data. The h...
分类:
其他好文 时间:
2014-09-19 19:24:45
阅读次数:
220
配置完成后保存退出并执行source命令使配置文件生效。Step 3:运行IDEA并安装和配置IDEA的Scala开发插件:官方文档指出:我们进入IDEA的bin目录:此时,运行“idea.sh”出现如下界面:此时需要选择“Configure”进入IDEA的配置页面:选择“Plugins”,进入插件...
分类:
其他好文 时间:
2014-09-19 13:25:35
阅读次数:
220
软硬件环境Ubuntu12.04+JDK1.7+Eclipse+Tomcat7.0内容列表1.安装JDK1.7,配置JAVA环境2.安装Eclipse3.安装Tomcat7.01.安装JDK1.7,配置JAVA环境step 1:下载JDKstep 2:解压到/usr/local中 sudo t...
分类:
编程语言 时间:
2014-09-18 23:35:54
阅读次数:
302
Applies To: Microsoft Dynamics CRM 2011, Microsoft Dynamics CRM 2013After enabling claims-based authentication, the next step is to add and configure ...
分类:
其他好文 时间:
2014-09-18 18:39:24
阅读次数:
186
【题目】
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[...
分类:
其他好文 时间:
2014-09-18 11:29:23
阅读次数:
201