using System;using System.IO;using Global.Utils.ORM.CustomAttributes;namespace Entity.FormManager{ [Serializable] [Table(Name = "OA_T_OrderForm"...
分类:
其他好文 时间:
2014-08-01 19:34:23
阅读次数:
279
看了下MapReduce的例子。再看了下Mapper和Reducer源码,理清了参数的意义,就o了。public class Mapperpublic class Reducer Map是打散过程,把输入的数据,拆分成若干的键值对。Reduce是重组的,根据前面的键值对,重组数据。 自己写M...
分类:
其他好文 时间:
2014-08-01 15:34:21
阅读次数:
205
centos启动时,提示错误: 1 /dev/mapper/VolGroup-lv_root contains a file system with errors,check forced. 2 /dev/mapper/VolGroup-lv_root: 3 Inodes that were par...
分类:
其他好文 时间:
2014-07-31 23:29:00
阅读次数:
3182
需求:1、取cacti的图时不需要登陆(只对可访问用户开放),但其它操作时需要登陆。2、每天早上把报表发送到指定邮件需求1:file:/cacti/graph_p_w_picpath.php//include("./include/auth.php");
include("./include/global.php");品茶:首先去掉验证模块,发现少了涵数,再去au..
分类:
其他好文 时间:
2014-07-31 21:18:41
阅读次数:
625
EmployeeInfo.csusing System;using Global.Utils.ORM.CustomAttributes;namespace Global.PM.Common.Entity.HR{ [Serializable] [Table(Name = "OA_HR_Em...
分类:
其他好文 时间:
2014-07-31 19:44:17
阅读次数:
233
一、Global所有在全局作用域定义的属性和方法,都属于Global对象。1.URI编码:encodeURI():主要用于对整个URI编码。它不会对本身属于URI的特殊字符进行编码。encodeComponentURI():主要用于对URI中的某一部分进行编码,很常用的是对查询字符串参数进行编码。它...
分类:
编程语言 时间:
2014-07-31 19:40:57
阅读次数:
285
1 ?引言? ? ??Grep (global search regular expression(RE) and print out the line,全面搜索正则表达式并?把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。G...
分类:
系统相关 时间:
2014-07-31 17:26:59
阅读次数:
466
函数之外声明的变量拥有 Global 作用域,只能在函数以外进行访问。 函数内部声明的变量拥有 LOCAL 作用域,只能在函数内部进行访问。 <?php
$a?=?12;
function?var_global(){
echo?$a;?//结果null
gl...
分类:
Web程序 时间:
2014-07-31 17:26:17
阅读次数:
158
调整硬盘分区大小 ========== 想增加root空间,减少home空间。 ##1.查看硬盘使用情况。 [root@npm ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup-lv_root 48G 45G 17M 100% / tmp...
分类:
其他好文 时间:
2014-07-31 13:42:36
阅读次数:
248
废话不说,直接上代码C/C++ code?1234567891011121314151617181920212223__global__voidKernel(int*dv){inti=threadIdx.x;dv[i]=i;}intmain(){thrust::device_vectordv(10)...
分类:
其他好文 时间:
2014-07-31 09:31:45
阅读次数:
180