比如把coffee文件写在coffee/controller/文件夹下,新建js/controller文件夹,使用grunt运行项目,将自动编译coffee到相应的js文件夹下。module.exports = function(grunt) { // 项目配置信息. grunt.initCon.....
分类:
Web程序 时间:
2015-01-12 19:00:00
阅读次数:
183
nginx upstream nginx的upstream官方地址为:http://nginx.org/cn/docs/http/ngx_http_upstream_module.html 轮询分为多种,分为普通轮询(一个接一个的进行访问,即按加权轮转的方式将请求分发到各服务器),ip_hash.....
分类:
其他好文 时间:
2015-01-12 00:22:57
阅读次数:
173
Easy Install Easy Install is a python module (easy_install) bundled with setuptools that lets you automatically download, build, install, and manage P...
分类:
其他好文 时间:
2015-01-11 19:03:00
阅读次数:
273
Python一切皆对象(object),每个对象都可能有多个属性(attribute)。
#现在我们来总结下所有的系统定义属性和方法, 先来看下保留属性:
>>> Class1.__doc__ # 类型帮助信息 'Class1 Doc.'
>>> Class1.__name__ # 类型名称 'Class1'
>>> Class1.__module__ #...
分类:
编程语言 时间:
2015-01-11 17:52:52
阅读次数:
294
最近为了能让PDF在线review,所以安装了460287_intl_x64_zip.exe 这个OWA的hotfix, 安装后,发现OWA挂了,一段搜索之后,发现要重新配置OWA: 1. 在OWA的机器上配置OWA Farm Import-Module OfficeWebApps
New-OfficeWebAppsFarm -InternalUrl "OWA Server FQDN...
分类:
移动开发 时间:
2015-01-11 12:23:00
阅读次数:
241
%% @author Rolong
-module(process1).
-compile(export_all).
-define(I(F), io:format(F++"~n", [])).
-define(I(F, A), io:format(F++"~n", A)).
%% Usage:
%%
%% 启动进程:Pid = process1:start(Fun).
%% ...
分类:
系统相关 时间:
2015-01-11 11:04:38
阅读次数:
168
%% @author Rolong
-module(process2).
-compile(export_all).
-include("common.hrl").
%% Usage:
%% 启动服务:process2:start().
%% 查看时间:myserver ! now.
%% 结束服务:myserver ! stop.
start()->
Pid = spawn(?MO...
分类:
系统相关 时间:
2015-01-11 11:02:05
阅读次数:
210
CALL FUNCTION 'ME_DIRECT_INPUT_SOURCE_LIST'Function module IDOC_INPUT_SRCLSTFUNCTION IDOC_INPUT_SRCLST.*"--------------------------------------------....
分类:
其他好文 时间:
2015-01-10 18:08:41
阅读次数:
685
ngx_http_autoindex_module ?此模块用于自动生成目录列表,ngx_http_autoindex_module只在 ngx_http_index_module模块未找到索引文件时发出请求. nginx默认是不允许列出整个目录的。 开启目录列表: 打开nginx.c...
分类:
其他好文 时间:
2015-01-09 23:54:45
阅读次数:
377
内核驱动模块的编写规范驱动模块一般涉及的必用的头文件:驱动模块的入口函数的规范:int __init entry_name(void){ /*xxx*/ return 0;}module_init(entry_name);驱动模块的出口函数规范:void __exit exit_name(void....
分类:
系统相关 时间:
2015-01-09 23:43:20
阅读次数:
229