两者代码基本一致关于套接字:甲方: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 int main() 9 { 10 int ret = 0; 11 ...
分类:
其他好文 时间:
2014-11-11 20:41:50
阅读次数:
239
为了测试一个NGINX变量,将NGINX加了一个编译模板echo-nginx-module-0.56。参照如下文件1,先看以前NGINX有哪些东东。sbin/nginx -Vnginx version: nginx/1.6.0built by gcc 4.4.7 20120313 (Red Hat ...
分类:
其他好文 时间:
2014-11-11 14:08:26
阅读次数:
219
题意:
#pragma comment(linker, "/STACK:1024000000,1024000000")
#include
#include
#include
#include
template
inline bool rd(T &ret) {
char c; int sgn;
if (c = getchar(), c == EOF) return 0...
分类:
其他好文 时间:
2014-11-09 15:19:46
阅读次数:
242
CentOS(Community Enterprise Operating System,中文意思是:社区企业操作系统)是Linux发行版之一,它是来自于Red Hat Enterprise Linux依照开放源代码规定释出的源代码所编译而成。由于出自同样的源代码,因此有些要求高度稳定性的服务器以C...
1、准备安装1.1 系统简介 CentOS 是什么? CentOS是一个基于Red Hat 企业级 Linux 提供的可自由使用的源代码企业级的 Linux 发行版本。每个版本的 CentOS 都会获得七年的支持(通过安全更新方式)。新版本的 CentOS 每两年发行一次,而每个版本的 Cen...
分类:
其他好文 时间:
2014-11-09 00:59:31
阅读次数:
349
CentOS(Community Enterprise Operating System,中文意思是:社区企业操作系统)是Linux发行版之一,它是来自于Red Hat Enterprise Linux依照开放源代码规定释出的源代码所编译而成。由于出自同样的源代码,因此有些要求高度稳定性的服务器以C...
分类:
其他好文 时间:
2014-11-08 21:57:08
阅读次数:
188
CentOS(Community Enterprise Operating System,中文意思是:社区企业操作系统)是Linux发行版之一,它是来自于Red Hat Enterprise Linux依照开放源代码规定释出的源代码所编译而成。由于出自同样的源代码,因此有些要求高度稳定性的服务器以C...
分类:
其他好文 时间:
2014-11-08 20:47:41
阅读次数:
252
任一个正整数都能分解成质数的连乘,因此求N!末尾有多少个0,等于质因数分解之后5的个数,而求5的个数可以用如下代码实现:ret =0;while(N){ ret += N/5; N/=5;}View Code5的倍数贡献一个5,5的平方的倍数再贡献一个5,如此继续下去。。。。问题二:求N...
分类:
其他好文 时间:
2014-11-07 23:17:48
阅读次数:
306
目标:搭建一个Oracle到Oracle的Goldengate环境(支持DDL+DML)。
Goldengate结构介绍:
环境:
OS:Red Hat Enterprise Linux Server release 5.5 (Tikanga)
DB:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Produc...
分类:
数据库 时间:
2014-11-07 17:14:24
阅读次数:
316
目标:搭建一个Oracle到Oracle的Goldengate双向复制环境(支持DDL+DML)。
环境:
OS:Red Hat Enterprise Linux Server release 5.5 (Tikanga)
DB:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
gg1和gg2...
分类:
数据库 时间:
2014-11-07 17:08:30
阅读次数:
301