在Nginx安装完成之后,我们可以开启Gzip压缩功能,这里Nginx默认只能对text/html类型的文件进行压缩。下面的指令为开启Gzip的指令:gzip on;gzip_http_version 1.0;gzip_disable "MSIE [1-6].";gzip_types text/pl...
分类:
其他好文 时间:
2014-11-23 14:24:44
阅读次数:
137
usernobody;worker_processes12;error_loglogs/error.log;###/var/log/nginx/error.log;pidlogs/nginx.pid;###/var/run/nginx.pid;worker_rlimit_nofile65535;events{useepoll;worker_connections65535;}http{includemime.types;default_typeapplication/octet-stream;log_form..
分类:
其他好文 时间:
2014-11-23 08:12:39
阅读次数:
808
Moving Data: IA32 movx Source, Dest x is one of {b(1-byte), w(2-byte), l(4-byte)} Operand Types Immediate: Constant integer data Example: $0x400, $-53...
分类:
其他好文 时间:
2014-11-22 18:51:31
阅读次数:
201
2014年11月20日,星期四 更新1. 示例1declare/* type card_rec_type is record ( dn_no channel.dn_no%type, channel_id channel.channel_id%type); type nested_card_type ...
分类:
数据库 时间:
2014-11-21 01:18:08
阅读次数:
408
org.springframework.remoting.RemoteAccessException: Could not deserialize result from HTTP invoker remote service [http://localhost:9080/]; nested exception is java.io.InvalidClassException: com.re...
分类:
Web程序 时间:
2014-11-20 18:55:43
阅读次数:
925
# This file maps Internet media types to unique file extension(s).# Although created for httpd, this file is used by many software systems# and has be...
分类:
其他好文 时间:
2014-11-20 18:25:53
阅读次数:
335
file_name = $file_name;//默认用时间命名 $this->save_path = (preg_match('/\/$/',$save_path))?$save_path:$save_path.'/'; $this->allow_types = $allow_types ==.....
分类:
Web程序 时间:
2014-11-20 11:56:05
阅读次数:
162
NVIC:Nested Vectored Interrupt Controller(嵌套向量中断控制器)。
对于这个东西,我们使用的最多的就是用这货来配置中断的优先级。
这个东西本身挺烦人的,要全面的了解NVIC的话,就需要参见《Cortex-M3参考手册》,这里仅仅针对STM32的固件库,说明一下NVIC如何配置。...
分类:
其他好文 时间:
2014-11-20 09:07:32
阅读次数:
181
// This example shows how to inspect and display different types of properties for a workspace.public void DisplayWorkspaceProperties(IWorkspace works...
分类:
其他好文 时间:
2014-11-20 01:21:27
阅读次数:
257
1、static_cast Operator The expression static_cast ( expression ) converts expression to the type of type-id based solely on the types present in the ....
分类:
编程语言 时间:
2014-11-19 22:11:04
阅读次数:
245