Posts

Showing posts from October, 2012

china中国cdn服务实战介绍

Image
基本cloud云时代,能多说一些就多说一些吧: 1. webliker(免费+收费) http://my.webluker.com : 开通需要审核 我于2012-10-31 18点左右注册申请开通pk17s.cn域名加速的账号,19:30分左右收到审核通过邮件.(申请这个这么快,申请那些微博应用怎么那么没效率) 缓存规则界面: 设置域名相关信息: 如果域名DNS, www.pk17s.cn 未指向http://www.pk17s.cn.xgslb.net/ , 则出现: 错误 您所请求的网址(URL)无法获取   然后我给 www.pk17s.cn 添加两个cname,原cname的优先级10,新的优先级5. 太晚了,先改回去,明天测试 2.CDN联盟(免费+收费) http://user.wdcdn.com/ 后台界面: 免费版推送管理页面: 价格列表: 注册用户送20元,可以买两个月的10元套餐.相当说两个月免费. 未备案的CDN服务器比备案的服务器少(工作人员自己说的). 更高的收费用户我没有使用过.在2012年6月我连续使用两个月.当时CDN服务器有出现挂掉情况. 3. cdnzz.com https://www.cdnzz.com , 下面是介绍 CDNZZ是一家新兴的云服务CDN加速提供商。目前提供的加速节点有香港和美国。因为有香港的加速节点,所以使用此CDN加速服务,国内访问速度还是不错的,注册后会得到1G的免费月流量,通过邀请好友最多可以增加到10G 服务列表截图:

source forge free vhost(自编自译)

Image
1.create project 创建工程 when a create one project on http://pkrssweb.sourceforge.net you will see one vhost in that: 当我创建一个项目http://pkrssweb.sourceforge.net 时,发现了下面一个选项: then,i click admin vhost, it look that: 然后,我点击了 “admin vhost”: i input pkrss.com, because i want to bind this domain only. 我只输入了pkrss.com,因为我现在只想绑定这个域名 2.build environment 建立环境, 这里有中文介绍如何建工程:http://hi.baidu.com/huzhirong/item/c3627aace1b2d6a828ce9d22 see here: https://sourceforge.net/apps/trac/sourceforge/wiki/Custom%20VHOSTs 请看这里: https://sourceforge.net/apps/trac/sourceforge/wiki/Custom%20VHOSTs   Virtual Host (VHOST) Configuration 虚拟主机配置 Virtual Hosts (VHOSTs) are a way of supporting many websites using a single pool of web servers. Each project on SourceForge.net is allocated the http://PROJECTNAME.sourceforge.net VHOST for their Project Web site. 虚拟主机向服务器提供许多网站支持的功能.每一个新建的项目都带有一个类似 http://PROJECTNAME.sourceforge.net  的虚拟主机 Some projects elect to register a vanity domain (such as PROJECTNA...

amazon api tool in windows 7

Image
1.download amazon api tool , office doc in here 2.install java. you can search and download and install java in web.here will not say it. 3.set run environment: win.bat setx JAVA_HOME "E:\Program Files\Java" setx Path %JAVA_HOME%\bin; "%Path%" setx EC2_HOME "E:\develop\ec2-api-tools" setx Path "%PATH%" ;%EC2_HOME%\bin setx AWS_ACCESS_KEY your apkey setx AWS_SECRET_KEY your seckey above, E:\Program Files\Java is my java install folder. e:\develop\ec2-api-tools is my amazon tool unzip folder. and Shortcuts: 4.test it E:\develop\ec2-api-tools>setx AWS_SECRET_KEY XjpNw7SpqBN9yeJOz2pzjB9u86uoNhOi+L 7APwS 成功: 指定的值已得到保存。 E:\develop\ec2-api-tools>bin\ec2-describe-regions REGION eu-west-1 ec2.eu-west-1.amazonaws.com REGION sa-east-1 ec2.sa-east-1.amazonaws.com REGION us-east-1 ec2.us-east-1.amazonaws.com REGION ap-northeast-1 ec2.ap-northeast-1.amazonaws.com REGION us-west-2 ec2.us-west-2.amazonaws.com REGION us-w...

cloudfront中国大陆路由跟踪记录2-Feedback to amazon cloudfront

i feedback to amazon cloudfront’s contract us: cloudfront in china, access is so slow. in my months 's test,when chinese connect cdn.pkrss.com. the cdn ip is in american or canada. www.pk17s.cn is in west american, but it can quickly than cdn.pkrss.com. cdn is not Content Delivery Network? or asia endpoint all connect to north america. after google is not connected well,now bing. foreign country' s service is all slow in our country.... these website has one website speed test tool: http: //http.7c.com/ my website is http: //www.pk17s.cn and my blog http://blog.pkrss.com and my email: liandeliang@yahoo.com.cn. has some one can speed up in china,can contact me.(no waste money) open the hyperlink,it show that: Monitoring Hurricane Sandy We are monitoring Hurricane Sandy and making all possible preparations (e.g. generator fuel, food/water, flashlights, radios, extra staff) in our US East Region. Our infrastructure teams are following our storm response plan that we have de...

pkrss-1.1.70

1.add search plugin(this is first origin version) 2.localation some string

jquery plugin-search查找教程

Image
今天我们插件教程的示例目标是:完成一款搜索插件.其包含source源码及文档. 1.搜集资料 1.1 搜集搜索引擎的站内搜索代码 <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <style type="text/css"> <!-- .normal {font-family: "Verdana","Arial";font-size:14px} .small {font-family: "Verdana","Arial";font-size:12px} body { font-family: "Verdana","Arial";font-size:14px} td {font-family: "Verdana","Arial";font-size:14px} th {font-family: "Verdana","Arial";font-size:15px} input {font-family: "Verdana","Arial";font-size:14px} a {text-decoration:underline; color:blue} a:link { text-decoration:underline; color: blue } a:visited { text-decoration:underline; color: blue } a:hover { text-decoration: underline; color: red } --> </style> <title>My Portal</title> <script language="javascript"> // 这一段使得FireFox也支持IE的...

jquery源码-集成多款播放器的网页

现在网页播放器越来越多了.现在我们为大家提供一款基于多种网页播放器的jquery源码.请看这里,在线示例 在这里 : music.htm的源码: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > <html xmlns= "http://www.w3.org/1999/xhtml" > <!--[ if lt IE 7 ]> <html class = "no-js ie6" lang= "en" > <![endif]--> <!--[ if IE 7 ]> <html class = "no-js ie7" lang= "en" > <![endif]--> <!--[ if IE 8 ]> <html class = "no-js ie8" lang= "en" > <![endif]--> <!--[ if (gte IE 9)|!(IE)]><!--> <html class = "no-js" lang= "en" > <!--<![endif]--> <head> <title>语音新闻王音乐电台集锦</title> <meta http-equiv= "content-type" content= "text/html; charset=UTF-8" > <link rel= 'stylesheet' href= 'css/style.css' > <!--...

pkrss update-1.1.69

2012-10-29 23:13 by  admin@pk17s.cn 1.fix one pkrsslib.js about catalog bug. 2.change sns share js. 3.reset manifet from cdn.pk17s.cn –> current domain. 4.add donate in default plugin container.

error C2259: “CException”: 不能实例化抽象类

因为VS6后的CException改得太多了,我们只能配合形势.将看Exception的源码:   class AFX_NOVTABLE CException : public CObject { // abstract class for dynamic type checking DECLARE_DYNAMIC(CException) public : // Constructors CException(); // sets m_bAutoDelete = TRUE explicit CException(BOOL bAutoDelete); // sets m_bAutoDelete = bAutoDelete // Operations void Delete(); // use to delete exception in 'catch' block virtual BOOL GetErrorMessage(_Out_z_cap_(nMaxError) LPTSTR lpszError, _In_ UINT nMaxError, _Out_opt_ PUINT pnHelpContext = NULL) const ; virtual BOOL GetErrorMessage(_Out_z_cap_(nMaxError) LPTSTR lpszError, _In_ UINT nMaxError, _Out_opt_ PUINT pnHelpContext = NULL); virtual int ReportError(UINT nType = MB_OK, UINT nMessageID = 0); // Implementation (setting m_bAutoDelete to FALSE is advanced) public : virtual ~CException() = 0; BOOL m_bAutoDelete; #ifdef _DEBUG void PASCAL operator delete( void * pbData); void PASCA...

cpp net穿透源码-1.UDP穿透

大家好:        今天我们的源码示例为"cpp net穿透源码-1.UDP穿透".目标是完成两个内网的用户进行网络穿透的P2P.其中A,B为不同内网的主机,C为一可以公共访问的外网主机. 以下是客户端Client的源码,P2PClient.cpp的Source: #pragma comment(lib, "ws2_32.lib" ) #include "windows.h" #include "..\proto.h" #include "..\Exception.h" #include <iostream> using namespace std; UserList ClientList; #define COMMANDMAXC 256 #define MAXRETRY 5 SOCKET PrimaryUDP; sockaddr_in PrimaryUDP_sin; SOCKET PrimaryTCP = 0; char UserName[10]; char ServerIP[20] = "50.18.251.0" ; bool RecvedACK; void InitWinSock() { WSADATA wsaData; if (WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) { printf( "Windows sockets 2.2 startup" ); throw Exception( "" ); } else { printf( "Using %s (Status: %s)\n" , wsaData.szDescription, wsaData.szSystemStatus); printf( "with API versions %d.%d to %d.%d\n\n" , LOBYTE(wsaData.wVer...