推荐一款可供翻墙的CDN:CloudFlare
2010 11 6 02:53 AM 7 条评论 8260 次查看
分类:网站建设 标签:无
今天又去买了个域名,然后就立即拿来测试了。在设置域名时,将一个子域的CNAME指定为ghs.google.com,然后与Google App Engine绑定。过了几分钟后,果然访问成功了。
をつあおにまで GFW!
2010 11 6 02:53 AM 7 条评论 8260 次查看
分类:网站建设 标签:无
2010 11 4 08:13 PM 0 条评论 1959 次查看
分类:CSS 标签:CSS, Google Chrome
-webkit-text-size-adjust:none;
2010 11 4 07:01 PM 1 条评论 2249 次查看
分类:随笔 标签:无
2010 11 3 02:01 PM 0 条评论 2002 次查看
分类:编程 标签:无
2010 11 2 02:46 AM 108 条评论 23608 次查看
分类:Google App Engine 标签:Python, Google App Engine
2010 11 1 01:32 PM 0 条评论 3015 次查看
分类:Google App Engine 标签:Google App Engine, Python
2010 11 1 10:32 AM 0 条评论 1739 次查看
分类:Google App Engine 标签:Google App Engine, Python
from time import time
class Comment(db.Expando):
email = db.StringProperty(required=True)
content = db.TextProperty()
format = db.IntegerProperty(default=0, indexed=False)
approved = db.BooleanProperty(default=True)
time = db.DateTimeProperty(auto_now_add=True)
mod_time = db.DateTimeProperty(auto_now_add=True, indexed=False)
t=time()
Comment.all().fetch(1000)
print time()-t
从后台的执行情况来看,cpu时间是11078~11799ms。改成db.Model后,cpu时间是10319~10959ms,差不多少了0.8秒。2010 10 31 03:36 PM 1 条评论 1412 次查看
分类:Google App Engine 标签:Google App Engine, Python
2010 10 31 03:49 AM 0 条评论 3501 次查看
分类:Google App Engine 标签:Google App Engine, Python
2010 10 27 10:14 PM 0 条评论 1516 次查看
分类:Google App Engine 标签:Google App Engine, Python