公司有项目是Cocos2d-html5的,跟着有参与一点,对cocos还是挺感兴趣的,抱着艺多不压身的态度就开始学习了cocos了,这里我学习的是cocos2d-js,主要是我开始看的时候已经叫js了不叫html5,其实cocos2d-js是html5和js-binding的结合,因为现在的工作也是...
分类:
Web程序 时间:
2014-08-23 12:36:40
阅读次数:
406
使用use语句来导入一个命名空间 PHP 5.3版本将会在2008年的早些时候发布, 现在我想应该是时候谈一谈这个版本的新特性了。在这些特性中,重量级的特性包括 命名空间, 静态延迟绑定(late static binding) 以及 mysqlnd,当然还有其他的一些有趣的改进, 比如 __cal...
分类:
Web程序 时间:
2014-08-23 09:57:40
阅读次数:
333
【Struts2国际化资源文件定义的3种范围方法】1)全局的国际化资源文件,对所有的Action和View都有效定义方式:在struts.xml中增加全局资源文件定路径定义:<constantname="struts.custom.i18n.resources"value="globalMessage"></constant>对应的资源文件为classpa..
分类:
其他好文 时间:
2014-08-23 02:27:10
阅读次数:
204
Custom fonts can make all the difference in the world when you’re trying to convey a specific user experience. Luckily, it’s pretty easy to add your own fonts in your iOS app but there are some ...
分类:
移动开发 时间:
2014-08-22 16:33:29
阅读次数:
395
1.打开配置文件 2.移除不需要的Block,并添加Log Block 3.添加“Custom Trace Listener” 4.定义Attributes 5.添加定义类库“CustomTraceListenerExtensions” 6.编写代码,如下: using System;
using ...
分类:
Web程序 时间:
2014-08-22 12:24:26
阅读次数:
349
// Only override drawRect: if you perform custom drawing.// An empty implementation adversely affects performance during animation.- (void)drawRect:(C...
分类:
其他好文 时间:
2014-08-21 22:36:55
阅读次数:
316
有时候,日志输出的时候会根据时间来分类,譬如“20140821\trace.log”,在Enterprise Library中通过工具配置,只能定义日志文件名称,可以通过代码修改FlatFileTraceListenerData实现或Custom Trace Listener方式, 通过代码修改Fl...
分类:
Web程序 时间:
2014-08-21 18:48:24
阅读次数:
376
一,Awesome Jquery Ajax helpers1) Codeplex linkshttp://awesome.codeplex.com/2) Study linkshttp://aspnetawesome.com/learn/mvc/AjaxDropdown#Binding-to-par...
分类:
Web程序 时间:
2014-08-21 18:35:24
阅读次数:
205
在centos6.0系统上设置修改custom.conf文件vim/etc/gdm/custom.conf在[security]下面添加AllowRemoteRoot=true在[xdmcp]下面添加Port=177Enable=1修改完后效果如下:[daemon][security]AllowRemoteRoot=true[xdmcp]Port=177Enable=1[greeter][chooser][debug]保存退出2.修改ini..
分类:
其他好文 时间:
2014-08-21 15:12:34
阅读次数:
211
OS: Windows Server 2008 R2 .NET: 4.0 (1) 安装IIS 打开管理工具 > 服务器管理, 选择角色 > 添加角色 勾选Web服务器选项 选择除FTP外的角色服务(可选) (2) 安装Web Deployment 安装方式选择Custom 选中全部模块(...