韩超

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年4月8日

摘要: 自定义UIBarButtonItem,可以做成工具类,方便重用!+ (UIBarButtonItem *)createSquareBarButtonItemWithTitle:(NSString *)t target:(id)tgt action:(SEL)a{ UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; // Since the buttons can be any width we use a thin image with a stretchable center point UIIm... 阅读全文
posted @ 2013-04-08 14:39 韩超2012 阅读(228) 评论(0) 推荐(0)

摘要: 批量设置文件访问控制权限./gsutil -m setacl act.txt gs://bucket/**多线程批量设置文件访问控制权限If you have a large number of ACLs to update you might want to use the gsutil -m option, to perform a parallel (multi-threaded/multi-processing) update:gsutil -m setacl acl.txt gs://<bucket>/*.jpg设置某个文件为public-read(所有人可读)./gsu 阅读全文
posted @ 2013-04-08 10:24 韩超2012 阅读(1545) 评论(0) 推荐(0)

摘要: 由于众所周知的原因,我们在上传GAE应用的时候出现了问题Connection reset by peer,解决办法:appcfg.py --insecure update yourapp 阅读全文
posted @ 2013-04-08 10:14 韩超2012 阅读(194) 评论(1) 推荐(0)