链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=586
In the planet w-503 of galaxy cgb, there is a kind of intelligent creature named QS. QScommunicate with each other via networks. If...
分类:
Web程序 时间:
2014-05-10 09:38:02
阅读次数:
537
连接
CInternetSession *m_pInetsession;
CFtpConnection *m_pFtpConnection;
m_pInetsession=new CInternetSession(AfxGetAppName(),1,PRE_CONFIG_INTERNET_ACCESS);
try
{...
分类:
编程语言 时间:
2014-05-10 09:31:12
阅读次数:
635
简介
本例讲解了如何使用ffmpeg SDK解码媒体文件;
一、源代码
#include
#include
#include
#include
#ifdef HAVE_AV_CONFIG_H
#undef HAVE_AV_CONFIG_H
#endif
#include "libavcodec/avcodec.h"
#define INBUF_SIZE 4...
分类:
其他好文 时间:
2014-05-10 08:38:17
阅读次数:
479
这里是windows下 使用1.4.3版本时候出现的问题。
问题1
I:\git\orangle.github.io>jekyll serve --watch
Configuration file: I:/git/orangle.github.io/_config.yml
Source: I:/git/orangle.github.io
Destinat...
分类:
其他好文 时间:
2014-05-07 08:04:31
阅读次数:
486
1. 制作Debian Live USB。
2. 安装grub-pc
3. 挂载/和/boot
4. grub-install
5. mount --bind ...
......
ubuntu 14.04 VSFTPD 匿名FTP服务器 配置文件
可以提供上传,下载,修改,等操作
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to mak...
分类:
其他好文 时间:
2014-05-07 04:26:57
阅读次数:
488
WebService之CXF注解
1、具体报错如下
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
2014-5-4 22:42:12 org.apache.catalina.core.AprLifecycleL...
分类:
Web程序 时间:
2014-05-07 03:33:05
阅读次数:
630
方法一(最简单安装):
安装 Net-SNMP
CentOS及其它RedHat系列产品提供了net-snmp的二进制包。我们可以直接从源里安装。
shell> yum install net-snmp net-snmp-devel net-snmp-utils
说明:net-snmp-devel是为了使用net-snmp-config, net-snmp-utils是为了使...
分类:
其他好文 时间:
2014-05-07 02:48:36
阅读次数:
428
安装puppet前准备内容规范ip,主机名,防火墙,双机互信,域名解析1、修改ipmaster
[root@masteretc]#cat/etc/sysconfig/network-scripts/ifcfg-eth0
#AdvancedMicroDevices[AMD]79c970[PCnet32LANCE]
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:0c:29:53:d8:5c
IPADDR..
分类:
其他好文 时间:
2014-05-06 16:58:17
阅读次数:
533
今天遇到个囧事,使用两个网卡配置同一网段的不同IP地址,结果发现,和Windows下的状况不太一样。Linux默认情况下,只有一个默认网关,路由走一个设备出局。因此,非默认路由的设备将没有流量,也就是不通。。。解决方法,添加非默认路由表iproaddvia172.16.1.254deveth1table1..
分类:
系统相关 时间:
2014-05-06 16:17:25
阅读次数:
474