摘要: 从Google Code迁移代码到github上的步骤:首先访问 https://github.com/nirvdrum/svn2git 安装svn2git工具。创建一个空白目录,进入该目录执行 svn2git http://xxxxx.googlecode.com/svn , 注意,以svn结尾,不要加/trunk导出完毕后,在github上创建你需要的项目回到之前工作目录, 执行 >git remote add origin git_repo_url 添加远程repository,然后执行 git push origin master 即可。https://help.github.c 阅读全文
posted @ 2013-03-12 14:34 leavingme 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 各个版本的 Flash Player 中针对套接字策略文件的要求:在 Flash Player 9.0.124.0 及更高版本中,套接字策略文件对于任何 Socket 连接都是必需的。也就是说,无论连接到哪一个端口(即使连接到提供 SWF 文件的同一主机上的端口),目标主机上都需要套接字策略文件。在 Flash Player 9.0.115.0 版及更低版本中,如果要连接到小于 1024 的端口号或连接到除提供 SWF 文件的主机之外的主机,则目标主机上必须具有套接字策略文件。在 Flash Player 9.0.115.0 中,尽管套接字策略文件不是必需的,但如果目标主机未提供套接字策略文件 阅读全文
posted @ 2013-02-12 12:28 leavingme 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 没有安装 Guest Additions 前,Windows XP 的虚拟机分辨率有很多选择,安装后,分辨率确却只有800x600了。原来在安装了 Guest Additions 后就不需要通过显示属性来调节分辨率了,而是根据虚拟机窗口的大小自动变成任意的分辨率。 阅读全文
posted @ 2013-01-30 11:11 leavingme 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 1. View-based Application 和 Window-based Application 没有了?通过对 New Project 的观察发现:View-basedApplication 和Single View Application,Window-based Application 和 Empty Application的描述是一样的。http://www.makebetterthings.com/iphone/where-is-mainwindow-xib-in-xcode-4-2/2. Xib 屏幕比较长,控件在模拟器上有位移?http://www.cocoachina. 阅读全文
posted @ 2013-01-27 23:40 leavingme 阅读(208) 评论(0) 推荐(0) 编辑
摘要: http://www.w3school.com.cn/js/pro_js_functions_function_object.asphttps://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Function概述在JavaScript里,所有的function实际上都是Function对象。语法var function_name = new Function([arg1[, arg2[, ... argN]],] functionBody);参数arg1, arg2, ... argN每个都对应于有效 阅读全文
posted @ 2012-10-03 18:01 leavingme 阅读(189) 评论(0) 推荐(0) 编辑
摘要: http://backbonejs.orghttp://backbonetutorials.com/初学者教程作者:Thomas Davis翻译:阿伦Why would you use Backbone.js?http://lison.sinaapp.com/?p=186What is a model? » Thomas Davishttp://lison.sinaapp.com/?p=213What is a view? » Thomas Davishttp://lison.sinaapp.com/?p=229What is a router? » Thomas 阅读全文
posted @ 2012-07-29 19:31 leavingme 阅读(198) 评论(0) 推荐(0) 编辑
摘要: http://zh.wikipedia.org/zh/WebGLhttp://zh.wikipedia.org/wiki/OpenGL 阅读全文
posted @ 2012-06-02 21:39 leavingme 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 好久都没有关注jQuery了,趁着这次 1.7.2 的发布,学点新东西http://api.jquery.com/category/version/1.7/1.7 带来的改变Event APIs: .on() and .off()统一并代替了.bind() 和 .delegate() 方法,下面是新老API的比较$('a').bind('click', myHandler);$('a').on('click', myHandler);$('form').bind('submit', { val: 4 阅读全文
posted @ 2012-03-25 20:57 leavingme 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 在使用IE6进行jsperf的测试过程中,经常会弹出如下的对话框。如何不让他提示呢?---------------------------Microsoft Internet Explorer---------------------------该页上的脚本造成 Internet Explorer 运行速度减慢。如果继续运行,您的计算机将变得更慢。是否取消该脚本?---------------------------是(Y) 否(N) ---------------------------大牛写了篇文章http://www.nczonline.net/blog/2009/01/05/what- 阅读全文
posted @ 2012-03-11 21:43 leavingme 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 从 Windows 7 升级到 Windows 8Consumer Preview 后,会导致Microsoft Visual Studio 11 Express Beta for Windows 8 无法申请开发者证书。Upgrade from Windows 7 can cause the “We couldn’t get your developer license” error解决方法在这里:http://t.cn/zOVOlmS 其实就是重装这里是中文教程使用 JavaScript 创建你的第一个 Metro 风格应用:http://msdn.microsoft.com/zh-cn/ 阅读全文
posted @ 2012-03-11 17:00 leavingme 阅读(471) 评论(0) 推荐(0) 编辑