server {listen 443;server_name mail.jb51.net;ssl on;ssl_certificate server.crt;ssl_certificate_key server.key;location / { proxy_pass https://192.1...
分类:
Web程序 时间:
2015-07-13 18:17:36
阅读次数:
165
1.安装opensslsudo apt-get install opensslsudo apt-get install libssl-dev2.将对应的认证文件domain.crt,domain.key放到/etc/nginx/ssl下在site-avaliable的对应虚拟主机配置文件里加上以下内...
分类:
系统相关 时间:
2015-07-13 13:43:27
阅读次数:
179
顺序容器包含vector list deque
vector:用于查询操作较多的队列
list:用户插入操作较多的队列
deque:双端队列,双端队列中的元素可以从两端弹出,其限定插入和删除操作在表的两端
进行,在队列中间做插入删除操作性能最低。
#define _CRT_SECURE_NO_WARNINGS#include
#include
#includ...
分类:
编程语言 时间:
2015-07-13 12:23:01
阅读次数:
170
#define _CRT_SECURE_NO_WARNINGS#include "string.h"#include "stdio.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK...
分类:
其他好文 时间:
2015-07-09 00:31:55
阅读次数:
115
在我们在linux下安装软件的时候,相应的软件包会有对应的系统版本,在CRT或Xshell下,需查看其系统版本及内核版本是基本常用命令。(1) 查看内核版本及平台uname -r -m3.2.0-24-generic x86_64(2) 查看发行版版本lsb_release -aDistributo...
分类:
系统相关 时间:
2015-07-08 20:45:40
阅读次数:
137
mac sslconfig 文件路径/System/Library/OpenSSL/openssl.cnf一生成CAopenssl req -new -x509 -keyout ca.key -out ca.crt -config openssl.cnfcdpmacdeMBP:mkssl3 cdpm...
分类:
Web程序 时间:
2015-07-08 18:17:00
阅读次数:
1503
本份代码需要两个栈。一个是符号栈,一个是数字栈。输入中序表达式如9+(3-1)*3+10/2##define _CRT_SECURE_NO_WARNINGS#include#include#define max 100char ex[max]; /*存储后序表达式*//*函数功能:将中序表达式转化为...
分类:
其他好文 时间:
2015-07-07 12:43:02
阅读次数:
207
准备安装最新的wampserver 2.2c,1、安装问题,安装完成后总是无法启动服务系统事件中提示错误找不到附属汇编 Microsoft.VC90.CRT,上一个错误是 参照的汇编没有安装在系统上。网上终于找到了解决办法,http://promiseforever.com/2011/09/24/w...
static unsigned char _bNoMansLandFill = 0xFD; /* fill no-man's land with this */ static unsigned char _bDeadLandFill = 0xDD; /* fill free objects with...
分类:
其他好文 时间:
2015-07-04 11:09:35
阅读次数:
111
1.题目描述:点击打开链接
2.解题思路:本题实质上在问:给定一个长为L的字符串,在26个字符中选一个字符插入该串,可以形成多少个新的字符串。这就是一个简单的计数问题,长度为L的字符串有L+1个空位可以插入,一共有26*(L+1)个方法,考虑到相同字符的情况,要减去一个,一共有L种重复的情况,因此最终有26*(L+1)-L=25*(L+1)+1种情况。
3.代码:
#define _CRT_...
分类:
其他好文 时间:
2015-07-02 14:10:18
阅读次数:
101