Private strFiles(20)Private Sub GetFiles(ByVal strFolder As String, ByVal ty As String) ' 获取文件列表 If iFiles = 0 Then Erase strFiles End If If iFiles >....
分类:
编程语言 时间:
2015-09-06 12:54:30
阅读次数:
193
/// /// 获取枚举值上的Description特性说明/// /// 枚举类型/// 枚举值/// public static string GetDescription(T obj){ Type type = obj.GetType(); FieldInfo field = ty...
分类:
其他好文 时间:
2015-09-06 12:47:16
阅读次数:
145
关键点:用matrix notation对矩阵迹进行变换$\hat{y}=X{(X^TX)}^{-1}X^Ty=Hy$$\sum_i^n {(y_i-\hat{y}_i)}^2={(y-Hy)}^T(y-Hy)=y^Ty-y^THy-y^THy+y^TH^THy\\ \ \ =y^Ty-y^THy$...
分类:
其他好文 时间:
2015-08-31 17:12:02
阅读次数:
162
1. 在spring配置文件中,如果对一个property进行直接赋值,可使用元素,spring负责将值转化为property指定的类型;也可以直接在property元素上使用value属性来赋值;2. 构造函数注入,应使用元素来赋值,该元素有三个属性,你可以指定来对赋值的构造函数参数进行区分:ty...
分类:
编程语言 时间:
2015-08-29 16:53:28
阅读次数:
260
#ifndef __STATICLIST_
#define __STATICLIST_
#include
using namespace std;
#define MAXSIZE 8
#define ElemType int
typedef struct StaticListNode
{
ElemType data;
int cur;
}StaticListNode;
ty...
分类:
其他好文 时间:
2015-08-29 11:17:39
阅读次数:
158
求出 bcc 后再……根据大白书上的思路即可。 然后我用的是自定义的stack类模板: 1 #include 2 #include 3 #include 4 //#include 5 #include 6 #include 7 using namespace std; 8 ty...
分类:
其他好文 时间:
2015-08-29 09:35:41
阅读次数:
147
很简单,分为个人QQ和企业QQ:一:企业QQ代码:http://crm2.qq.com/page/portalpage/wpa.php?uin=123456&aty=1&a=0&curl=&ty=1二:个人QQ代码 http://wpa.qq.com/msgrd?v=3&uin=123456&sit...
分类:
其他好文 时间:
2015-08-27 15:05:25
阅读次数:
938
在使用Oracle进行分页查询的时候,一般情况下我们都会携带很多参数。但是今天发现一个很奇怪的东西,当排序字段不是主键,且多条数据中该排序字段的值均相同的情况下,会出现分页查询的排序顺序和不分页查询的排序顺序不一样的情况。下面直接用SQL来说明一下:
1、原始的查询SQL
select ty.countryname,ty.s_adddate from t_d_Country ty orde...
分类:
数据库 时间:
2015-08-21 15:46:38
阅读次数:
288
hive综合hbase两个优势表中的: 1.实现数据导入到MYSQL。 2.实现hbase表转换为另外一张hbase表。三个操作环节: 1.hbase关联hive作为外部表:Sql代码CREATEEXTERNALTABLEhive_device_app(row_keystring,genera_ty...
分类:
数据库 时间:
2015-08-19 12:47:47
阅读次数:
170
{ type: "label", list: [ {
{ type: "label", labelWidth: 55 },
{ type: "newcolumn" },{ type: "input", label: "姓名", name: "name", labelWidth: 50, inputWidth: 200 },
{ ty...
分类:
Web程序 时间:
2015-08-18 22:44:39
阅读次数:
248