- 博客(4)
- 收藏
- 关注
原创 [cocos2d-js]cc.RenderTexture几种用法(数字图片、刮刮乐效果)
本文基于cocos2d-js 3.0版本引擎开发RenderTexture用法1:数字图片通过这张图片实现任意数字//数字图片精灵var PictureNumber = cc.Sprite.extend({ m_Number:null, m_NumberTexture:null, ctor:function(){ this._super(); }, buil
2015-01-04 16:13:11
10536
原创 awk使用
最近做数值分析,发现awk确实好用。一点点使用实例:分析所有玩家在“购买菜肴活动”中所花费的金币grep "购买菜肴活动" dayreport.txt | awk -F"#" '/ugold/{dict[$5"#"$6]+=$(NF-2)END{for(i in dict){print i,dict[i]}}}'在日志中取出带有"购买菜肴活动" 取出带有/ugold/ 表示消费
2012-12-20 14:42:13
496
原创 spring中@transactional的疑惑
在项目中遇到了奇怪的问题,如下 原因:酒肆service里有两个函数ClassPlayerRestaurantService{//刷新酒肆@transctionalpublic void refreshPlayerRestaurant(int id){ PlayerRestaurant playerRestaurant = playerRestaura
2012-11-30 13:33:43
816
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅