摘要:
cc.spriteFrameCache.addSpriteFrames(res.winLose_plist,res.winLose_png);var frame = cc.spriteFrameCache.getSpriteFrame("win-lost-bei.png");var backHigh... 阅读全文
摘要:
cocos2d-js-v3.2-rc0cc.director.end();//退出appcc.Application.getInstance().openURL("http://www.baidu.com");//openurl检测android下的返回键和menu键,可以用下面这段代码cc.eve... 阅读全文
摘要:
原帖在http://www.cocoachina.com/bbs/read.php?tid=209356整理到github的https://github.com/faint2death/cocos2d-js/blob/master/build-ipa.mdps:话说webstorm调试cocos2d... 阅读全文
摘要:
转自http://blog.mutoo.im/2013/12/curl-could-not-communicate-with-https-sites.htmlmac升级为10.10以后,homebrew升级挂了,curl提示连接ssl失败解决办法mvim ~/.curlrcproxy = http:... 阅读全文
摘要:
https://github.com/talentdeficit/json 阅读全文
摘要:
一般循环用在遍历列表的时候,erlang有lists模块直接支持遍历,不需要自己写尾递归遍历listlists:foreach用来遍历列表,不保存结果,最后一次返回oklists:map遍历列表,不过,每次函数 Fun 执行的结果将保留,并组成一个列表返回。lists:filter遍历列表,根据返回... 阅读全文
摘要:
ruby里面的require说明require './aaaa'这种方式,包含的是系统路径相对路径得用下面的require_relative "./xxxx"或者使用这个傻瓜式gemhttps://github.com/jarmo/require_all#这个支持通配符require_all 'li... 阅读全文
摘要:
关闭本地持久化redis.conf关于save的改成这样save ""#save 900 1#save 300 10#save 60 10000启动的时候,需要./redis-server ../redis.conf 阅读全文
摘要:
节点名:node-master 192.168.1.77node-slave 192.168.1.88VIP 192.168.1.234带下划线的不允许作为节点名修改节点名字gvim /etc/hostsgvim /etc/hostname修改之前最好先用hostname命令测试下,免得启动不了机... 阅读全文