#include
#include
int add(int i,int j){
return i+j;
}
int sub(int i,int j){
return i-j;
}
EXPORT_SYMBOL(add);
EXPORT_SYMBOL(sub);
MODULE_LICENSE("GPL");
#include
#include
#include "hea...
分类:
其他好文 时间:
2015-05-18 18:59:22
阅读次数:
145
首先修改Apache的配置文件,让Apache支持解析PHP文件,Apache配置文件在Apache安装目录的conf目录下的httpd.conf,打开此文件, 找到#LoadModule,在这个下面添加LoadModule php5_module "E:/Apache Group/PHP/php5...
分类:
Web程序 时间:
2015-05-18 14:39:35
阅读次数:
145
首先,看一看方法: ????factory: factory(name,?$getFn); ????service: service(name,?constructor); 再看看例子使用: ????定义一个angular module var?module?=?angular.module(‘myapp‘,?[...
分类:
Web程序 时间:
2015-05-18 13:12:06
阅读次数:
123
在已安装nginx情况下安装nginx模块
nginx第三方模块安装方法:
代码如下:
./configure --prefix=/你的安装目录 --add-module=/第三方模块目录
1、.查看nginx编译安装时的命令,安装了哪些模块
代码如下:
#/usr/local/webserver/nginx/sbin/ngin...
分类:
系统相关 时间:
2015-05-18 08:59:34
阅读次数:
176
Yii2 基于RESTful架构的 advanced版API接口开发 配置、实现、测试环境配置:开启服务器伪静态本处以apache为例,查看apache的conf目录下httpd.conf,找到下面的代码LoadModule rewrite_module modules/mod_rewrite.so...
输入 passenger-install-nginx-module后,提示Unable to autodetect the currently active RVM gem set name. This could happen if you ran this program using 'sudo' instead of 'rvmsudo'. When using RVM, you're alw...
分类:
系统相关 时间:
2015-05-17 20:18:24
阅读次数:
254
nginx-rtmp-modulehttps://github.com/arut/nginx-rtmp-module#example-nginxconf
分类:
其他好文 时间:
2015-05-17 18:29:44
阅读次数:
122
本篇给出ng-show的示例代码,以供参考.1、NgShow.html: Toggle Menu Stun Disintegrate Erase from history 2、NgShow.js:var myCSSModule = angular.module('MyCSSModule', ...
分类:
Web程序 时间:
2015-05-17 14:54:45
阅读次数:
144
背景
在B层第11行代码抛出异常之后,B层本身不做处理,而是让U层去Catch然后去处理。我就不明白那么B层第12行代码还会不会执行呢?
Demo
代码结构
具体代码
Module1
Module Module1
Sub Main()
Dim BLL As New B.Class1
Try
BLL.Test()
...
分类:
其他好文 时间:
2015-05-17 13:48:04
阅读次数:
87
①如果csc不是内外部变量的情况下需要在计算机高级系统设置的环境变量里面下面的Path中将值的后面用分号隔开增加.net framework 4.0的文件路径②重新以“管理员身份运行cmd”③将路径指定到对应的cs文件,然后执行>csc /t:module One.cs执行之后生成One.netmo...
分类:
其他好文 时间:
2015-05-17 11:59:25
阅读次数:
116