摘要: 方法注释PreFilterMessage此方法在应用程序级截获排队的(也称为已发送的)Windows 消息。PreProcessMessage此方法在 Windows 消息处理前在窗体和控件级截获它们。WndProc此方法在窗体和控件级处理 Windows 消息。DefWndProc此方法在窗体... 阅读全文
posted @ 2015-06-18 18:01 niaomingjian 阅读(1050) 评论(0) 推荐(0) 编辑
摘要: Apache Maven是一个软件项目管理的综合工具(management and comprehension tool)。可以将WAR文件部署到App Engine中。为了加快部署的速度,App Engine团队提供了插件和Maven原型这两个东西(plugin and Maven Archety... 阅读全文
posted @ 2015-06-17 20:08 niaomingjian 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 在运行下面的步骤之前,请确保:1.你的项目已经激活了Google Cloud Storage和App Engine,包括已经创建了至少一个Cloud Storage bucket。2.你已经下载了client库并解压了。3.你已经安装并配置了最新的App Engine Java SDK。运行Loca... 阅读全文
posted @ 2015-06-16 23:00 niaomingjian 阅读(536) 评论(0) 推荐(0) 编辑
摘要: 先决条件你需要下面的内容:1.一个Google账户,比如来自Gmail。如果你没有,请在Google account signup site注册。2.一个新的或已经存在的Google Developer Console项目。如果你没有一个存在的项目,在Google developer console... 阅读全文
posted @ 2015-06-16 20:39 niaomingjian 阅读(298) 评论(0) 推荐(0) 编辑
摘要: Google Cloud Storage client是一个客户端库,与任何一个生产环境使用的App Engine版本都相互独立。如果你想使用App Engine Development server开测试你的代码,你必须使用App Engine SDK 1.8.1及更高版本的development... 阅读全文
posted @ 2015-06-16 20:08 niaomingjian 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 关于Google Cloud StorageGoogle Cloud Storage有益于大文件的存储与服务(serve)。此外,Cloud Storage提供了对访问控制列表(ACLs)的使用,提供了对上传中断的恢复功能以及其他的特性。Google Cloud Storage client库对应用... 阅读全文
posted @ 2015-06-16 19:51 niaomingjian 阅读(1116) 评论(0) 推荐(0) 编辑
摘要: Blobstore API允许你的应用程序使用(serve)叫做Blobs的数据对象。这种数据对象比Datastore服务所允许的对象的尺寸大得多。Blobs能有效地为大文件比如视频、图片提供服务,允许用户上传大数据文件。通过HTTP请求上传一个文件来创建Blobs。通常,你的应用程序通过向用户... 阅读全文
posted @ 2015-06-14 20:11 niaomingjian 阅读(907) 评论(0) 推荐(0) 编辑
摘要: 1.GAE instance上传成功之后可以正常运行的情况下。在Google账户中“关联的应用和网站”,撤销Google App Engine appcfg对Google账户的访问权限。 再次上传时,在命令行抛出这样的信息"Either the access code is invalid or t... 阅读全文
posted @ 2015-06-10 15:53 niaomingjian 阅读(242) 评论(0) 推荐(0) 编辑
摘要: ruby2.1.51.File.exist?方法 a.文件或目录存在时,返回true b.参数可以是相对路径或者绝对路径2.File.directory?方法 a.目录存在时,返回true b.参数可以是相对路径或者绝对路径3.File.extname方法 a.获取文件的扩展名 b.获取不到扩展名的... 阅读全文
posted @ 2015-03-21 18:11 niaomingjian 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1.以word为单位的移动 w,e;b,ge(word,end,back) w => 移动到下一个单词的第一个字符 e => 移动到下一个单词的最后一个字符 b => 移动到前一个单词的第一个字符 ge => 移动到前一个单词的最后一个字符 2.移动到行首或行尾 ^,$ ^ => 移动到行首 $ = 阅读全文
posted @ 2015-03-21 10:24 niaomingjian 阅读(194) 评论(0) 推荐(0) 编辑