STEP1: Open Terminal
SETP2: Run setup.py
SETP3: Run source /Users/your_user/.bash_profile( so that environment variables are actually updated)
SETP4: Run cocos new my game -p com.your_company.mygame -l cpp -d /diretory_to_your_game
Open Terminal
R...
分类:
其他好文 时间:
2014-06-16 12:22:35
阅读次数:
178
$(function () { $("#txtPhone").focus(function () { $(this).next().show().removeClass("onError").removeClass("onright").addClass("ontan").ht...
分类:
其他好文 时间:
2014-06-15 22:44:27
阅读次数:
346
【Basics】1、You can declare multiple constants or multiple variables on a single line, separated by commas: 2、You can use almost any character you like....
分类:
其他好文 时间:
2014-06-15 22:01:43
阅读次数:
330
1, 两个字段的类型或者大小不严格匹配,例如,如果一个是INT(10), 那么外键也必须设置成INT(10), 而不是 INT(11) 也不能是 TINYINT. 你得使用 SHOW 命令来查看字段的大小,因为一些查询浏览器有时候把 int(10) 和int(11) 都显示为integer。另外,你...
分类:
数据库 时间:
2014-06-15 11:49:15
阅读次数:
267
在WWDC2014上,Sprite Kit又有了很多新的提升!
其中一个很有意思的东西就是Physics Field!也就是物理场!
这意味着我们在Sprite kit上编写虚拟物理场的游戏将变得非常简单!先放上GitHub链接:
https://github.com/songrotek/PhysicsFieldsWorld.git
我另外录制了效果视频大家可以先一睹为快:
http://v.youku.com/v_show/id_XNzI2MzUzNzYw.html...
分类:
移动开发 时间:
2014-06-15 10:24:48
阅读次数:
282
// enter any type data to show Binary.c
// 输入任意类型数据转换成二进制
// version: 1.0
// date: 2014.6.12
// BUG提交: yinjunwithu@outlook.com
// 缺陷: 请勿使用vc 6.0编译 因为不支持long long及unsigned long long类型
// #define _CRT_...
分类:
编程语言 时间:
2014-06-15 09:44:48
阅读次数:
414
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-06-14 08:52:31
阅读次数:
265
android中的actionbar可提供自定义view,具体是先写好自定义view的布局,然后在代码中获取Actionbar对象,调用 setCustomView方法。
但是这样,它还是会显示前面的LOGO,即使你设置 不显示 LOGO和标题。解决的方法是调用 actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM);
具体代码如下...
分类:
其他好文 时间:
2014-06-14 07:45:30
阅读次数:
215
我们可以通过show
sga命令查看共享池的整体组成部分:....待截图....一、SGA内存结构Oracle中SGA主要包括: 1、固定数据结构部分(FIXED Size)
2、数据块缓冲区(DATABASE BUFFER) 3、REDO LOG缓冲区(redo buffers) 4、共享池(在....
分类:
其他好文 时间:
2014-06-13 16:07:59
阅读次数:
384
DataSet ds =
SYS_GroupTrafficStatistic_SERVICE.GetList(V_CID, V_STARTTIME, V_ENDTIME,
V_TIME_GRADE, V_SHOW_TIME_TYPE); sys_ui_g...
分类:
Web程序 时间:
2014-06-12 14:14:32
阅读次数:
258