h文件 :#pragma once#include #include #include #include class CMiniDump{public: static BOOL Begin(VOID); //声明成静态函数是想直接调用而不必new一个实例 s...
分类:
其他好文 时间:
2015-02-05 20:10:04
阅读次数:
351
如上图,在当前用户cent(我的用户名)下使用sudo命令时,提示"cent is not in the sudoers file. This incident will be reported. "问题。出现此问题,主要是因为用户名cent尚未获取sudo权限,所以需要修改配置文件/etc/sud...
分类:
其他好文 时间:
2015-02-05 20:11:55
阅读次数:
164
Spark以及SparkR的安装(standalone模式)From :ssdutsu @ Inspur Companysuzhiyuan2006@gmail.com操作系统 CentOS 7Java 版本 JDK 1.7Spark安装过程请见PDF文件 Spark 1.0的安装配置文件网址:htt...
分类:
其他好文 时间:
2015-02-05 20:11:41
阅读次数:
285
注册表存储数据存放在%systemroot%\system32\config 目录下,而用户的当前设定保存在用户配置目录下的ntuser.datBCD-Template (xp以后的机器上有,win10等)components (xp以后的机器上有,同上)Ntuser.datsystem 对应HKL...
分类:
其他好文 时间:
2015-02-05 20:08:10
阅读次数:
163
1 客户端-->代理-->目标的原理 2 根据已有代理demo代码,将目标和系统功能抽取出来,编程通用的代理方法getProxy(Object target,Advice advice)
分类:
其他好文 时间:
2015-02-05 20:08:11
阅读次数:
172
直接看代码: 1 参数有:';14 var_dump($parameter);15 } 16 }17 $b=new man;18 echo '';19 $b->speak();20 echo '';21 echo $b->lei;22 $b->speak1('参数1',...
分类:
其他好文 时间:
2015-02-05 20:08:43
阅读次数:
169
也是搬的,大家勿喷,贴出来只为了自己记忆查找需要引用System.Web.Extensions.dll 这个类库命名空间:System.Web.Script.Serialization数据结构public class Team { public string Name { get; set; } p...
分类:
其他好文 时间:
2015-02-05 20:09:23
阅读次数:
119
http://www.csdn 123.com/html/blogs/20131113/95993.htm获取当前时间erlang:now()得到的是从1970年1月1日零时起,到现在经过的时间,结果为{MegaSecs, Secs, MicroSecs}。有个问题要注意,还有另外一个函数可以实现同...
分类:
其他好文 时间:
2015-02-05 20:08:14
阅读次数:
384
给定一个数n,判断1-->n有多少个数字含“49”可以用dp的方式来解决,dp[i][0] 表示长度为i,不含"49"的数字的个数dp[i][1] 表示长度为i,第i位为数字9的个数dp[i][2] 表示长度为i,含”49“的数字的个数所以,dp[i][0] 的包含dp[i][1]的状态转移方程如下...
分类:
其他好文 时间:
2015-02-05 20:06:17
阅读次数:
253
区间选点问题,即数轴上有n个闭区间[l1i, ri],取尽量少的点,使得每个区间内都至少有一个点。The Department of Recreation has decided that it must be more profitable, and it wants to sell advert...
分类:
其他好文 时间:
2015-02-05 20:07:30
阅读次数:
189
简单的母函数应用。#include#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;#define p...
分类:
其他好文 时间:
2015-02-05 20:06:28
阅读次数:
148
一、数据结构1、对象控制块:在include/rtdef.h中定义 1 /** 2 * Base structure of Kernel object 3 */ 4 struct rt_object 5 { 6 char name[RT_NAME_MAX]; /*对象名称,R...
分类:
其他好文 时间:
2015-02-05 20:06:12
阅读次数:
357
Tomcat本身不能直接在计算机上运行,需要依赖于硬件基础之上的操作系统和一个Java虚拟机。Tomcat的内存溢出本质就是JVM内存溢出,所以在本文开始时,应该先对Java JVM有关内存方面的知识进行详细介绍。一、Java JVM内存介绍JVM管理两种类型的内存,堆和非堆。按照官方的说法:“Ja...
分类:
其他好文 时间:
2015-02-05 20:04:03
阅读次数:
141
CentOS 源里的 git 版本是 1.7.1,如果远程创建的库所用 git 的版本比它高,在 pull 的时候,如果本地有修改,就会永久阻塞;在 push 的时候就会失败。CentOS 源里的 git 版本是 1.7.1,如果远程创建的库所用 git 的版本比它高,在 pull 的时候,如果本地...
分类:
其他好文 时间:
2015-02-05 20:05:05
阅读次数:
125
/*多项式加法运算使用链表实现*/#include using namespace std;//使用不带头结点的单向链表,按照指数递减的顺序排列typedef struct PolyNode{ int coef; //系数 int expon; //指数 PolyNod...
分类:
其他好文 时间:
2015-02-05 20:03:39
阅读次数:
111
总公司 Head Office分公司 Branch Office营业部 Business Office人事部 Personnel Department人力资源部 Human Resources Department总务部 General Affairs Department财务部 General A...
分类:
其他好文 时间:
2015-02-05 20:03:09
阅读次数:
174
今天下午对于一个项目文件进行管理时出现错误,具体显示如下:svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted那么到底是什么原因导致这个错误的?自己管理项目时修改如下:1. Tor...
分类:
其他好文 时间:
2015-02-05 20:05:07
阅读次数:
355