基本类型(null、undefined、boolean、number、string)和引用类型(Object 对象)1 基本类型:只能不存一个值,一种类型;从一个变量向另一个变量复制基本类型的值,会在变量对象上创建一个新值,然后把该值复制到为新变量分配的位置上,var num1 = 5;var nu...
分类:
编程语言 时间:
2014-12-03 12:00:21
阅读次数:
190
经典的机器学习方面源代码库(非常全,数据挖掘,计算机视觉,模式识别,信息检索相关领域都适用的了)今天给大家介绍一下经典的开源机器学习软件:编 程语言:搞实验个人认为当然matlab最灵活了(但是正版很贵),但是更为前途的是python(numpy+scipy+matplotlib)和 C/C++,这...
分类:
其他好文 时间:
2014-12-02 22:14:59
阅读次数:
219
1.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。 2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:select id from t where num is null可以在nu...
分类:
数据库 时间:
2014-12-02 10:13:12
阅读次数:
272
set?nu
set?shiftwidth=4
set?nobackup
set?noswapfile
set?tabstop=4
set?softtabstop=4
set?expandtab
set?smartindent
set?smarttab
set?cindent
set?autoindent
set?history=100
set?guifont...
分类:
系统相关 时间:
2014-12-01 22:40:55
阅读次数:
334
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-11-29 11:48:14
阅读次数:
184
索引的含义与特点 索引是一个单独的、存储在磁盘上的数据库结构,它们包含对数据所有记录的引用指针,postgresql列类型都可以被索引,对相关列索引是提高查询操作效率的最佳途径。例如,查询select * from table where num=10000.如果没有索引,必须遍历整个表,如果在nu...
分类:
数据库 时间:
2014-11-28 20:10:47
阅读次数:
1883
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-11-28 06:15:51
阅读次数:
215
set nocompatible " be iMprovedset nu ''显示行号set noswapfilesyntax on "语法高亮打开set backspace=2set tabstop=2set shiftwidth=2set...
分类:
系统相关 时间:
2014-11-24 20:51:10
阅读次数:
251
1、在自己的家目录(/home)下建立.vimrc文件。控制台输入vi ~/.vimrc 回车。 2、在.vimrc文件中输入如下文本:set tabstop=4 set softtabstop=4 set shiftwidth=4 set noexpandtab set nu set auto....
分类:
系统相关 时间:
2014-11-23 09:13:36
阅读次数:
204
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-11-23 01:50:55
阅读次数:
150