Archive for google

chrome 书签误删恢复的办法

我刚刚悲剧的误删了书签的一个目录,本来只打算删除一个书签的,按了del键却发现整个目录都没有了…
不过找到了回复的办法,已经恢复了。先别关浏览器,在chrome的配置文件夹(Vista下,%UserProfile%\AppData\Local\Google\Chrome 、XP下,%UserProfile%\Local Settings\Application Data\Google\Chrome)里面找到 Bookmarks.bak ,把它和Bookmarks 都备份一份,关闭chrome浏览器,然后用Bookmarks.bak 替换掉Bookmarks,在打开就会发现书签已经恢复到了之前某个时间的版本了,我这里看Bookmarks.bak的日期应该是今天中午的版本。

最后强烈建议chrome增加类似于恢复标签页一样的临时恢复功能,最最重要的是删除多个书签的时候提示一下。

Comments (2) »

发 google+ 邀请

在下面留言,现在可以发出邀请。
要的尽快,昨天上午可以发邀请,但是下午又不可以了。但是昨天下午通过非官方分享信息的方式邀请的一个账号今天上午也可以登录了,虽然没有收到邀请信。

No comment »

Google 将于(GMT)2011年1月10日18时删除Google APP中的所有.cn域名。

今天收到了封google的信,告知将在2011年1月10日18时删除Google APP中的所有.cn域名。

下面是信件原文。
Dear Google Apps admin,

We’re contacting you regarding your use of Google Apps with the domains listed below as a domain alias or aliases. Google does not offer this product on .cn domains, including the use of .cn domains as domain aliases. Unfortunately, due to an error in our domain alias feature, your .cn domain was allowed as a domain alias.

On 10 January 2011 at 18:00 GMT, all .cn domains listed in the domain alias section of your control panel will be removed by our team. This action will not affect any existing data for any of your users.

If you would like to continue to receive email sent to accounts that belong to your .cn domain, we recommend securing a different email solution for your .cn domain. Email service for your non-.CN domain names will be unaffected.

We apologize for our mistake and the inconvenience caused by this change. We appreciate this transition may be disruptive, and are committed to helping you make it as smooth as possible. If you require any assistance, please reply to this message so our team can help. Additionally, if you would like technical assistance via the phone, please provide your phone number and two convenient times when we can reach you.

Sincerely,

The Google Apps Team
1600 Amphitheatre Pkwy
Mountain View, CA, 94040

You have received this mandatory email service announcement to update you about important changes to your Google Enterprise product or account.

The following .cn domain aliases will be removed on 10 January 2011 at 18:00 GMT:

—————–

尊敬的Google企业应用套件管理员:

您好!我们联系您是因为您正在使用下面所列的.cn域名作为您Google企业应用套件服务 主域名的别名(alias)。Google目前并不在.cn域名下提供Google企业应用套件服务,包括.cn域名作为域名别名(alias)的服务。遗憾的是由于我们注册流程上的疏漏,您的.cn域名被允许作为了Google企业应用套件服务的域名别名。

我们将会在格林威治时间(GMT)2011年1月10日18时删除您控制面板域名别名列表中的所有.cn域名。这个操作不会影响到您的用户的任何数据。

如果您希望继续收到发送到.cn域名的邮件,我们推荐您为.cn域名选择一个不同的邮件解决方案。您的其它非.cn域名的邮件服务将不受影响。

我们对工作疏漏导致的不便表示歉意。我们理解这次数据转移可能会给您带来不便,同时我们也致力于帮助您尽可能圆满的完成数据迁移。 如果您需要任何帮助,请直接回复本邮件,我们的团队会帮助您。如果您需要进一步的技术协助,请提供您的电话号码和两个方便的交流时间,我们会随后和您联系。

祝顺利,

Google企业应用套件团队
1600 Amphitheatre Pkwy
Mountain View, CA, 94040

电子邮件接收设置:我们向您发送这封必读的电子邮件服务通告,目的是让您了解 Google Enterprise 产品或帐户的重大变化。

下面的.cn域名别名将会在格林威治时间(GMT)2011年1月10日18时被删除:
——————-

No comment »

Google Chrome 禁用Flash、图片或脚本的方法

使用 -disable-plugins 参数启动Chrome就会禁用Flash。
-disable-images 参数是禁用图片,-disable-javascript是禁用脚本。

在提供chromium最新版的地址
http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/?O=D

Comments (1) »

使用Python gdata 操作谷歌网络相册

下面是一个使用python gdata 上传图片并获得图片地址的简单例子。需要gdata库。

[py]
In [2]: import gdata.photos, gdata.photos.service
In [3]: pws = gdata.photos.service.PhotosService()
# 下面输入谷歌的帐号
In [4]: pws.ClientLogin(帐号,密码)
In [6]: albums = pws.GetUserFeed()
In [7]: for album in albums.entry:
…: print ‘title: %s, number of photos: %s, id: %s’ % (album.title.text,
…: album.numphotos.text, album.gphoto_id.text)
…:
title: uptest, number of photos: 0, id: 相册ID
title: XXX, number of photos: 1, id: XXX
title: XXX, number of photos: 10, id: XXX

# 获得某个相册的全部照片
In [X]: photos = pws.GetFeed(albums.entry[0].GetPhotosUri()).entry
In [X]: for p in photos:
print ‘t:%s\r\nurl:%s’ %(p.title.text,p.GetMediaURL())
t:New Photo
url:http://lh3.ggpht.com/_?/?/?/?/New%20Photo.jpg

In [8]: import urllib
In [9]: f1 = urllib.urlopen(‘来源URL’)
In [10]: f1.name=’aaaaaaa’

In [15]: album_url = ‘/data/feed/api/user/%s/albumid/%s’ % (‘default’, 相册ID)

# 这里使用的是句柄,也可以直接输入本地文件路径
# content_type需要根据图片类型变更(默认是image/jpeg)。
In [21]: photo = pws.InsertPhotoSimple(album_url, ‘New Photo’,’文本必须是utf8编码的str字符串,unicode 字符串乱码。’, f1, content_type=f1.info().type)

# 获得图片的地址,可以用于外连。(即使设置为非公开的图片也可以使用下面的连接匿名访问。)
In [23]: photo.GetMediaURL()
Out[23]: ‘http://lh3.ggpht.com/_?/?/?/?/?.jpg’

# 获得缩略图
In [25]: for th in photo.media.thumbnail:
….: print th.url
http://lh3.ggpht.com/_?/?/?/?/s72/?.jpg
http://lh3.ggpht.com/_?/?/?/?/s144/?.jpg
http://lh3.ggpht.com/_?/?/?/?/s288/?.jpg

[/py]

参考:
http://code.google.com/intl/zh-CN/apis/picasaweb/developers_guide_python.html

No comment »

使用谷歌文件发布 wordpress 博客

进入谷歌文件设置,选择博客设置=>编辑信息。

选择  “我自己的服务器/自定义” ,API 使用 MetaWeblog API 使用 MovableType 不支持标题)。
我的 URL 是 http://gamexg-cw.cn/xmlrpc.php 自己的照着改就可以了。
 用户名和密码填博客的用户名和密码。
博客 ID/标题 留空。现在点测试如果没问题就点击确定保存设置。

现在已经设置完成了博客信息,随便建立一个文件写点内容就可以尝试发布了。
打开想发到博客的文件,选择共享=>以网页形式发布=>张贴到博客就可以了。
这篇文章就是这样发布的。

一些问题:目录和标签并不能支持,不过我记得有个插件可以自动生成标签(也可以使用内部标签)。

No comment »

什么时候提供linux版就好了

No comment »