获取程序集的版本号 #region 获取程序集版本号 System.Reflection.Assembly web = System.Reflection.Assembly.GetExecutingAssembly(); System.Reflection...
分类:
其他好文 时间:
2015-04-13 16:23:27
阅读次数:
116
1、下载源码,根据自己的环境编译,我这里下载的是spark1.3版本本人采用sbt编译,SPARK_HADOOP_VERSION=2.5.2 SPARK_YARN=ture sbt/sbt assembly这句代码共有两个参数,第一个是指本机的hadoop环境的版本,第二个参数是指是否在yarn上运...
分类:
其他好文 时间:
2015-04-13 16:21:48
阅读次数:
191
#include
#include
#include
using namespace std;
int num_of_st;
void getdata(vector & v, int n)
{
if (!v.empty())
throw runtime_error("v empty");
int t;
for (int i = 0; i > t...
分类:
编程语言 时间:
2015-04-13 09:43:23
阅读次数:
189
上周部署项目到weblogic时候,一直报消息图标 - 错误 [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request “1,428,631,595,356”. Underlying error is: “null”。具体截图如下:...
分类:
其他好文 时间:
2015-04-13 09:31:42
阅读次数:
6380
在asp开发中,时常遇到向程序中写入HTML代码的情况,以在ashx中写入HTML为例,演示Nvelocity的使用, 1 VelocityEngine vltEngine = new VelocityEngine(); 2 //文件型模板,还可以是 assembly...
分类:
Web程序 时间:
2015-04-09 19:44:10
阅读次数:
137
直接上代码就可以了,所以的学习都在注释当中呢!#ifndef __LINUX_COMPILER_H
#define __LINUX_COMPILER_H#ifndef __ASSEMBLY__//如果宏定义了__CHECKER__
//详细学习一个Sparse
#ifdef __CHECKER__/**
* 这个使用来修饰一个变量的,这个变量必须是非解除参考的,no
* dereference...
分类:
其他好文 时间:
2015-04-09 17:21:58
阅读次数:
136
1、类库项目引用System.Windows.Forms并添加引用后,才可创建窗体。2、控制台应用程序调用中间库(DLL)中的方法创建窗体;中间类库使用反射下的Assembly加载包含窗体的类库及创建实例。注意:1)创建实例时,参数为窗体类的全名(命名空间+类名)。 2)返回值是Object类型.....
有时候我们会引用一些外部assembly.这个时候系统会报不是有效的win32程序。此时需要在IIS7里做些设置1. Inside IIS (7)click on Application Pools.2. Find the Application Pool that is configured fo...
分类:
Web程序 时间:
2015-04-07 19:16:34
阅读次数:
151
PHP Native Interface (PNI) is a PHP extension that enables PHP code to call and be called by native applications (programs specific to a hardware and operating system platform) and libraries written in other languages such as C, C++ and assembly.....
分类:
Web程序 时间:
2015-04-07 13:53:51
阅读次数:
161