Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You have t...
分类:
其他好文 时间:
2014-10-08 07:40:24
阅读次数:
228
hibernate4.x已经在官网出现一段时间了.下载地址: http://hibernate.org/orm/downloads/使用hibernate4所需要的jar包 在lib\required(必选的), 该文件夹中的jar必选都要copy,其他文件夹的可以有选择性的copy;1.build...
分类:
系统相关 时间:
2014-10-07 20:26:14
阅读次数:
537
一、数据验证数据验证的步骤在模型类中添加与验证相关的特性标记在客户端导入与验证相关的js文件和css文件使用与验证相关的Html辅助方法在服务器端判断是否通过服务器端验证常用的验证标记 Required:非空验证StringLength:验证字符串的长度Regu...
分类:
Web程序 时间:
2014-10-07 16:33:43
阅读次数:
230
添加虚拟用户口令文件vi/etc/vsftpd/login.txtyjlyjlbdlbdl......这个文件第一行用户名,第二行为密码。2.生成虚拟用户口令文件。这个过程需要安装一个db_utilsyuminstalldb_utilsdb_load–T–thash–f/etc/vsftpd/login.txt/etc/vsftpd/login.db3.编辑vsftpd的认证文件。在/e..
分类:
其他好文 时间:
2014-10-05 03:50:48
阅读次数:
368
filter_var是在php5.2.0中开始提供的。详细说明见: http://www.php.net/manual/zh/book.filter.php 先看看代码:array( * "required" => 1, * "filter" => FILTER_VALIDATE_INT, * "o...
分类:
Web程序 时间:
2014-10-04 01:56:15
阅读次数:
229
@Html.TextBox("txtIDNumber", "", new { @class = "l-text required idnumber", style = "width: 186px ;" })
分类:
Web程序 时间:
2014-10-03 14:10:04
阅读次数:
208
HTTP Basic Authentication原来非常简单,参考文档:http://zh.wikipedia.org/wiki/HTTP%E5%9F%BA%E6%9C%AC%E8%AE%A4%E8%AF%81将用户名和密码用:分隔,然后用base64编码,最后用HTTP GET方法请求页面下面一小段代码用newLISP调用了Jenkins的Remote API:dean@dean-beijin...
分类:
其他好文 时间:
2014-10-02 14:26:53
阅读次数:
171
1. 用sa身份或Windows Authentication登陆数据库2.鼠标右击DataBases选New Database3.填写DataBase name,选择Database files的Path(不选则为数据库的默认地址); 选择Option,将Recovery model选为Simpl...
分类:
数据库 时间:
2014-10-01 19:06:51
阅读次数:
195
常用的验证特性标签: StringLength , Required , RegularExpression , Range , MembershipPasswordAttribute(密码强度限制)也可以通过简单扩展, 增加自己的验证特性 /// /// 这东西也就是练手玩一下, 实...
分类:
其他好文 时间:
2014-09-30 18:33:09
阅读次数:
206
1.Supply the credentials of the Currently Logged on User to the Proxy object similar to this:// Begin code change by jeff // Obta...
分类:
Web程序 时间:
2014-09-30 14:42:49
阅读次数:
192