1.跟我学DNET编程系列-.NETOOP编程[爸爸去哪儿]http://edu.ibeifeng.com/view-index-id-25.html2.深入webservice专题系列技术讲座http://edu.ibeifeng.com/view-index-id-169.html3.跟我学DN...
分类:
Web程序 时间:
2014-07-07 08:43:24
阅读次数:
209
首先可以给js的数组对象定义一个函数,用于查找指定的元素在数组中的位置,即索引,代码为:Array.prototype.indexOf = function(val) {for (var i = 0; i -1) {this.splice(index, 1);}}; 这样就构造了这样一个函数,比.....
分类:
Web程序 时间:
2014-07-07 00:32:08
阅读次数:
242
2014年7月3日 17:39:35简易版:index.php->codeIgniter.php->找到控制器类文件并include->创建实例->执行成员函数详细版本:index.php包含codeIgniter.php包含Router.php找到控制器类文件并include判断该类是存在&&类名...
分类:
其他好文 时间:
2014-07-05 18:48:12
阅读次数:
290
$this->assign('jumpUrl',U('Index/index'));$this->success(L('login_ok'));
分类:
Web程序 时间:
2014-07-05 17:34:10
阅读次数:
221
题目要求第n个丑数,所以对于中间结果不需要保存。
def Humble(index):
curHum = 1
M2 = 2; M3 = 3; M5 = 5
while index > 1:
curHum = min(min(M2, M3), M5)
while M2 <= curHum:
M2 *= 2
while M3 <= curHum:
M3 *= 3
w...
分类:
其他好文 时间:
2014-07-03 17:29:40
阅读次数:
214
一、Solr学习相关资料
1、官方材料
(1)快速入门:http://lucene.apache.org/solr/4_9_0/tutorial.html,以自带的example项目快速介绍发Solr的基础使用。
(2)API:http://lucene.apache.org/solr/4_9_0/index.html
(3)reference:PDF格式,apache-solr-ref-...
分类:
其他好文 时间:
2014-07-03 16:56:58
阅读次数:
245
1.Linux链接概念
Linux链接分两种,一种被称为硬链接(Hard Link),另一种被称为符号链接(Symbolic Link)。默认情况下,ln命令产生硬链接。
【硬连接】
硬连接指通过索引节点来进行连接。在Linux的文件系统中,保存在磁盘分区中的文件不管是什么类型都给它分配一个编号,称为索引节点号(Inode Index)。在Linux中,多个文件名指向同一索引节点是存在的...
分类:
系统相关 时间:
2014-07-03 15:56:55
阅读次数:
318
表基本操作练习1复制用户信息表user的所有记录到userdb表里。mysql>createtableuserdbselect*fromuser;2查看userdb表的表结构mysql>descuserdb;3删除userdb表的所有记录mysql>deletefromuserdb4把name字段设置为index字段mysql>createindexnameonuserdb(name)5添加..
分类:
数据库 时间:
2014-07-03 15:00:41
阅读次数:
469
<insertid="insertbatchinfotoemploees"parameterType="java.util.List">insertintoINFOTOEMPLOEEselectINFO_EMPLOEES.NEXTVAL,A.*from(<!--INFO_EMPLOEES为自增序列--><foreachcollection="list"item="item"index="index"separator="UNION">SELECT#{item.in..
分类:
数据库 时间:
2014-07-03 13:58:35
阅读次数:
232
由于项目需要用到树状列表,可以增加成员变量,于是用了第三方RATreeView开元库,头一次使用,安装github上的使用说明和Demo跑了一下,挺满意,增加成员什么的都很简单,和tableview很像是,但是在处理选择的cell时我纠结了一会,用惯了tableview的index:index.row index.section等,猛然接触到RATreeView处理时,不知道该如何办了,下面记...
分类:
其他好文 时间:
2014-07-03 13:34:23
阅读次数:
216