导航

2012年7月28日

摘要: 创建一个GitHub.com项目,Push时总是提示403错误:[amonest@localhost ~]$ git config --global user.name amonest[amonest@localhost ~]$ git config --global user.email xxx@xxx.com[amonest@localhost ~]$ git clone https://github.com/amonest/python-scripts.git[amonest@localhost ~]$ cd python-scripts... 省略中间代码修改过程 ...[amones 阅读全文

posted @ 2012-07-28 10:59 eastson 阅读(9289) 评论(0) 推荐(0) 编辑

摘要: Enable Google YUM repositoryAdd following to/etc/yum.repos.d/google-chrome.repofile:32-bit[google-chrome]name=google-chrome - 32-bitbaseurl=http://dl.google.com/linux/chrome/rpm/stable/i386enabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub64-bit[google-chrome]name=google 阅读全文

posted @ 2012-07-28 09:53 eastson 阅读(696) 评论(0) 推荐(0) 编辑

摘要: 有关于XMLHttpRequest的详细信息可以参阅XMLHttp参考手册。1.创建XMLHttpRequest对象所有现代浏览器(IE7+、Firefox、Chrome、Safari以及Opera)都内建了XMLHttpRequest对象,老版本的InternetExplorer(IE5和IE6)使用ActiveX对象:function createXMLHttpRequest(){ var xmlhttp=null; if (window.XMLHttpRequest) { // code for all new browsers xm... 阅读全文

posted @ 2012-07-28 07:56 eastson 阅读(227) 评论(0) 推荐(0) 编辑

摘要: 看UCHome和ECShop源码的时候,发现经常会用到$_SERVER['HTTP_REFERER']的值。HTTPREFERER是Header的一部分,当浏览器向WEB服务器发送请求的时候,一般会带上HTTPREFERER,告诉服务器我是从哪个页面链接过来的,服务器籍此可以获得一些信息用于处理。比如从我主页上链接到一个朋友那里,他的服务器就能够从HTTPREFERER中统计出每天有多少用户点击我主页上的链接访问他的网站。下面自己写了一个例子,来说明HTTP_REFERER的各种变化。请将下面的代码保存到一个PHP文件中,文件名为referer.php:<a href=& 阅读全文

posted @ 2012-07-28 07:54 eastson 阅读(1345) 评论(0) 推荐(0) 编辑

摘要: HttpWatch是一款强大的网页数据分析工具,不用代理服务器或一些复杂的网络监控工具,就能够在显示网页同时显示网页请求和回应的日志信息。HttpWatch可以集成在InternetExplorer工具栏,也提供火狐插件功能。http://www.99d.com/down/32/490672.html 阅读全文

posted @ 2012-07-28 07:52 eastson 阅读(241) 评论(0) 推荐(0) 编辑

摘要: Status-Code="100":Continue|"101":SwitchingProtocols|"200":OK|"201":Created|"202":Accepted|"203":Non-AuthoritativeInformation|"204":NoContent|"205":ResetContent|"206":PartialContent|"300":MultipleChoic 阅读全文

posted @ 2012-07-28 07:50 eastson 阅读(195) 评论(0) 推荐(0) 编辑