Archive for November, 2009

用俄版opera+自建中转服务器继续翻越

by hustcom on Nov.25, 2009, under small

伟大的墙继续风风火火地保护着墙内的一切,黑莓不能没有一个自由的opera,才过几天,这个问题就不再是个问题了,膜拜该project

代码很简单很强大:

//<?php
if ($_SERVER['REQUEST_METHOD'] == ‘GET’) {
if (function_exists(“curl_init”)) {
if (!$_GET["test"] != null) {
header( “HTTP/1.1 301 Moved Permanently” );
header( “Location: http://www.google.com/ncr” );
} else {
echo ‘Hello Opera Mini Server! Fuck GFW!’;
}
} else {
echo ‘cURL is not enabled.’;
}
} else {
$curlInterface = curl_init();
$headers[] = ‘Connection: Keep-Alive’;
$headers[] = ‘content-type: application/xml’;
$headers[] = ‘User-Agent: Java0′;
curl_setopt_array($curlInterface, array(
CURLOPT_URL => ‘http://server4.operamini.com’,
CURLOPT_HTTPHEADER => $headers,
CURLOPT_POST => 1,
CURLOPT_POSTFIELDS => @file_get_contents(‘php://input’))
);
$result = curl_exec($curlInterface);
curl_close($curlInterface);
header(‘Content-Type: application/octet-stream’);
header(‘Cache-Control: priavte, no-cache’);
echo $result;
}
//?>

有了自己的国外服务器,应用这一切就很容易了:

  1. 新建一个子域名;
  2. 在该子域名的根目录下上传该文件index.php;
  3. 在俄版opera上更改http和sock的代理。(记得在增强设置中把‘保存初始’去掉)

用着自己的中转服务器,感到速度特别的快,嘎嘎!

Leave a Comment :, , , more...

在win7下同步ut斯达康的xv6700

by hustcom on Nov.25, 2009, under mobile

直接插上小7,系统会自动查找驱动:首先在本机查找,失败,然后必须手动让系统继续去网上查找更新,然后系统会提示安装最新的同步中心。
什么也不用管,很快的在我的64位win7下就安装好,并顺利连接我的小7.
main menu
sync setting
file system
接下来的同步,刷机都非常顺利。

1 Comment : more...

肯德基爷爷和吉阿姨

by hustcom on Nov.10, 2009, under private

杭州西湖边的家乐福,在付款处,可以发现如下2个品牌:
肯德基爷爷和吉阿姨
巧的是,这2个店的位置也真的是一左一右。

2 Comments more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...