Feb 25, 2010

在谷奥上看到一条消息,Google Reader已经全面支持PubSubHubbub服务了。换而言之,如果你的博客的feed支持PubSubHubbub,那么当你的博客更新后,新的文章会实时出现在那些订阅者的Google Reader里面。
按照谷奥上的说法,用WordPress搭建博客的用户可以安装插件来实现本站feed的实时更新功能。不过还有不少人和我一样是用 Feedburner 来烧制自己的feed,对于这部分用户,其实也可以很方便的实现PubSubHubbub,具体步骤只需要两步:
- 打开你的wordpress后台,找到Settings->Writing一项,在Update Services一栏中填写
http://ping.feedburner.com
- 打开FeedBurner,找到你博客对应的Feed项,激活Publicize一栏中的PingShot功能。

好了,至此你的博客就有实时更新的功能了,任何用Google Reader订阅你博客的朋友都会在你发布后的几分钟内收到更新。
现在,我将按下发布按钮……
Feb 3, 2010

如今各类微博以及SNS类网站大行其道,但是实现他们的实时同步却是一个比较棘手的问题。另外互联网的浏览有时在国内并不那么方便,还好用Google App Engine能一次解决这两个问题。虽然GAE是针对开发者的,但是就算是一个什么都不懂的菜鸟(如我)也能借助Google大神来办好这两件事情。
什么是Google App Engine
Google App Engine是Google提供的可扩展系统上构建网络应用程序。每个 Google App Engine 应用程序都可使用多达 500MB 的持久存储空间以及可支持每月 500 万综合浏览量的足够带宽和 CPU。目前每个用户可以免费创建十个应用。(转自月光博客)
下载并安装开发环境
Python 2.6.4 Windows版下载地址 http://www.python.org/download/releases/2.6.4/
Google App Engine SDK 下载地址 http://code.google.com/intl/zh-CN/appengine/downloads.html
同时,请自行用你的Google账号开通GAE(需要用手机接收短信) http://www.appspot.com/
随后在GAE中创建自己的应用程序,其中 Application Identifier 就是你的自定义名称,在下一步要用到。
下载应用程序
1. 同步Twitter到其他微博的程序: 下载源码
- 解压缩后,请把 app.yaml 中第一行的应用程序名称改成你的自定义名称。
- 随后更改 twitter.py 中的代码,把你要同步的微博客用户名和密码填上,并在最后一行填写你的Twitter账号。
- 更具体的修改指导见月光博客的文章
2. 无障碍浏览的程序:下载源码
安装应用程序
首先在GAE里创建修改完下载好的文件后,打开Google App Engine,添加这两个应用程序,用 Deploy 按钮上传到服务器。随后就大功告成了。
安装成功后,GAE就可以实时同步你的Twitter内容到各个微博。另一方面,安装无障碍浏览的程序将使您可以方便的浏览全地球的网站(请用https方式访问,以保证安全)。
Jan 14, 2010
今天Google发布了要离开中国市场的消息。各种各样的评论铺天盖地,这里不展开评述。
Google离开中国市场还干了一件事情,就是不对自己的google.cn的搜索结果进行审查。
换而言之,用google搜索一些敏感词将不会被过滤。
结果在接下来的n个小时里,用占中国互联网搜索份额第一位和第三位的百度和搜搜两大引擎搜索一些敏感词居然也出现了和Google类似的令人震惊的结果。当然,现在已经恢复了,不过我已经截了图。

看来,不单只有我们用Google,就连百度和搜搜也在用Google啊。
----------另----------
百度的首席产品设计师孙云丰为Google这事还专门发文,虽然原文已删,不过有人截屏了,也很精彩。
我严重怀疑此人的情商有问题。

Aug 8, 2009
Acid Test 是一系列由 Web 标准组织编写的针对网页浏览器的测试页面(不是软件)。
浏览器开发者用这些测试页面来验证自己的产品是否能够精准的还原页面编写者的设计。他们看起来都很简单,但是背后的代码都异常复杂。
http://acid3.acidtests.org/ (支持CSS3,用分数来显示浏览器的排版情况)
http://acid2.acidtests.org/ (支持CSS2,用一个笑脸来显示,正常情况上方显示Hello World,当鼠标指向笑脸鼻子的时候鼻子会变成蓝色。)
http://acid1.acidtests.org/ (支持CSS1,最土鳖的检测方式,不好玩)
检测的结果,Google Chrome最彪悍,全都满分。Firefox其次,有些小瑕疵。IE7则惨不忍睹,我真服了微软的研发部门了,因为IE8虽然做这个测试还行,在其他方面兼容性太差……。
所以,浏览器还是选Chrome或者是Firefox吧。
Jul 18, 2009
Google has released Google Chrome for quite a long time. I love Google’s products however, I didn’t think about to move to Google Chrome from my firefox because it lacks of the powerful plugins database.
Now it’s the time to change it because I found the new version (2.0) of Google Chrome works quite well---with a little customization:
1) the fastest browser: GC is faster than IE8, Safari 3, FF 3.5. Not only the loading speed, but the running time. Now you can find many articles about this issue and the winner is always--GC
2) incognito mode: No traces will leave.
3) you don’t need to install many plugins to optimize your browers, just some useful customization.
- Mouse Gesture:
Mouse Gesture Redox is a famous firefox addon which provide easy function with your mouse.
I use Strokeit to achieve this function in GC.
- Gmail Signature:
Gmail Signature is another good firefox addon I used. Now I use a web email signature generator as the substitute.
- User JavaScript and others:
Please use
"C:\Program Files\Google\Chrome\Application\chrome.exe" --enable-user-scripts --user-data-dir="E:\Temp\Chrome Cache"
To enable your own JavaScript. Copy the script to folder
E:\Temp\Chrome Cache\Default\User ScriptsPlease note [--user-data-dir="E:\Temp\Chrome Cache"] will start GC by putting all GC data into E:\Temp\Chrome Cache. And it can be any folder you prefer.
Mar 12, 2009
I used nuevasync to synchronize my google calendar with my iPhone.
Several months ago, google launched its own sync service, named google sync. well, it’s already got almost all the function of nuevasync, including multi-calendars, two-ways-sync and it is much faster than nuevasync. But i don’t like it because of its stupid color system . You cannot change the color of those calendars unless you pay the money (use MobileMe).
BUT i found a solution finally, specifically for jailbreake iPhone:
I found another way to do this, just playing around like you did. Copy calendar.sqlitedb from the /private/var/mobile/Library/Calendar directory on your iPhone to your computer, and make a backup of it (recommended). Open it with SQLite Dabase Editor (http://sourceforge.net/projects/sqlitebrowser/) and go to the second tab, “Browse Data”. Under “Table”, choose “Calendar”. This will give you a list of all of the calendars on your phone. Each row is a different calendar. There are three columns - color_r, color_g, and color_b. Set these to whatever you want for your RGB colors for each calendar. (It is not limited to five colors). Save the file and copy it back to your phone.