码迷,mamicode.com
首页 >  
搜索关键字:index    ( 33545个结果
angular学习笔记(十七)-路由和切换视图
本篇介绍angular中如何通过判断url的hash值来显示不同的视图模板,并使用不同的控制器:下面,通过一个例子,来一步一步说明它的用法:我们要做一个邮箱应用,打开的时候显示的是邮件列表:然后点击邮件主题,可以查看该邮件的详细内容:点击返回列表,再回到列表页一. 创建index页面: 14.1路....
分类:其他好文   时间:2014-05-26 08:40:30    阅读次数:301
Perl中的字符串操作函数
1、$position = index(string,substring,skipchars); 该函数返回子串substring在字符串string中的位置,如果不存在,则返回-1;参数skipchars是可选参数,表示查找之前跳过的字符数,即:从该位置处开始查找;2、rindex(string,...
分类:其他好文   时间:2014-05-26 08:22:13    阅读次数:234
Eclipse里初次使用Maven注意问题
在Eclipse里初次使用Maven,右键project->add dependency, 发现search不管用,这时候需要按照以下步骤操作:Goto "Preferences -> Maven"Check"Download repository index updates on start"an...
分类:系统相关   时间:2014-05-26 07:16:26    阅读次数:390
PHP设计模式之单例模式
单例模式(Singleton pattern)是一种创建型模式,它会限制应用程序,使其只能创建某个类类型的单一实例。举例来说,一个Web站点将会需要一个数据库连接对象,但是应该有且只有一个,因此我们需要使用单例模式来实现。eg:_settings[$index] = $value; } f...
分类:Web程序   时间:2014-05-26 06:20:06    阅读次数:319
LeetCode: Jump Game [054]
【题目】 Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine if you are able to reach the last index. For example:...
分类:其他好文   时间:2014-05-24 20:44:39    阅读次数:221
mysql基础操作、sql技巧和sql的常见优化
一、常见操作 1、复制表结构create table t2 like t1    复制表数据insert into t2 select * from t1 2、mysql索引    alter table用来创建普通索引、unique索引或primary key索引    alter table t add index index_name(column_list)    al...
分类:数据库   时间:2014-05-24 14:43:02    阅读次数:363
LeetCode: Merge Intervals [055]
【题目】 Given an array of non-negative integers, you are initially positioned at the first index of the array. Given a collection of intervals, merge all overlapping intervals. For example, Given [1,3],[2,6],[8,10],[15,18], return [1,6],[8,10],[15,18]. ...
分类:其他好文   时间:2014-05-24 14:18:27    阅读次数:193
good foreign technique websize
https://www.digitalocean.com/community/tagshttp://db-engines.com/en/http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
分类:Web程序   时间:2014-05-24 14:02:05    阅读次数:300
difference between InnoDB and MYISAM
look at http://www.xaprb.com/blog/2006/07/04/how-to-exploit-mysql-index-optimizations/prior to MySQL 5.5, MYISAM is default engine. InnoDB becomes def...
分类:数据库   时间:2014-05-24 12:58:04    阅读次数:322
MongoDB连接数与连接优化
默认每个连接数占用10M内存ulimit -a 查看stack sizeMongoDB服务器内存要满足 connection overhead + data size + index size即连接数开销+热点数据+索引连接数太多的问题:如果在日志中遇到类似如下的错误信息:"too many ope...
分类:数据库   时间:2014-05-24 11:18:25    阅读次数:378
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!