会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
赵一贰
知行合一, 知其不易亦要行!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2014年7月25日
ngui 脚本绘制sprite
摘要: public GameObject _background;public UIAtlas atlas;private Dictionary _allCardSprite;voidStart(){_allCardSprite=newDictionary();}for (int i=0; i(_pare...
阅读全文
posted @ 2014-07-25 14:07 Zhaoyier
阅读(401)
评论(0)
推荐(0)
2014年7月24日
unity3d游戏开发 —— 倒计时
摘要: using UnityEngine;using System.Collections;public class CoolTime : MonoBehaviour { // Use this for initialization void Start () { } int Co...
阅读全文
posted @ 2014-07-24 11:17 Zhaoyier
阅读(259)
评论(0)
推荐(0)
2014年7月23日
头像制作
摘要: 目前不知道怎么实现动态加载,可以换种思路来做做1、制作头像的atlas2、新建一个PlayerPanel(UIPanel),Depth设置为2(具体根据图层设置),PlayerPanel下新建三个组件username(UILable)、avatar(UISprite)、account(UILable...
阅读全文
posted @ 2014-07-23 16:57 Zhaoyier
阅读(223)
评论(0)
推荐(0)
2014年6月13日
Redis文档
摘要: http://manual.csser.com/redis/connection/auth.html
阅读全文
posted @ 2014-06-13 18:45 Zhaoyier
阅读(130)
评论(0)
推荐(0)
Pomelo服务器琐碎方法
摘要: 1、获取客户端ip地址:session__session__.__socket__remoteAddress.ip2、日志文件无法打印到文件,删除node_modules/pomelo/node_modules/pomelo-logger,保留node_modules/pomelo-logger即可
阅读全文
posted @ 2014-06-13 14:33 Zhaoyier
阅读(260)
评论(0)
推荐(0)
2013年8月29日
Ubuntu安装node.js
摘要: 通过PPA安装Node.jssudo apt-get install python-software-propertiessudo add-apt-repository ppa:chris-lea/node.jssudo apt-get updatesudo apt-get install nodejs目前只能通过PPA安装稳定版本的Node.js查看是否安装成功及版本号:~$ node --versionv0.6.12curl安装:sudo apt-get install curlnpm安装:curl -k https://npmjs.org/install.sh | sudo shNote
阅读全文
posted @ 2013-08-29 17:16 Zhaoyier
阅读(222)
评论(0)
推荐(0)
2013年8月23日
C++ 空类默认产生成员函数
摘要: class Empty{ Empty(){...} //默认构造函数 ~Empty(){...} //默认析构函数 Empty(const Empty&){...} //拷贝构造函数 Empty operator = (const Empty& empty){...} Empty* operator&(){...} //取地址运算符 const Empty* operator&() const{...} //const 取地址运算符}参考:http://c.chinaitlab.com/cc/basic/200906/787382.html
阅读全文
posted @ 2013-08-23 11:03 Zhaoyier
阅读(178)
评论(0)
推荐(0)
2013年4月19日
VS2010编译thrift
摘要: 声明:这个都是在网上查找的资料,整理出来的1、下载OPENSSL最新版本,下载地址http://www.openssl.org/source/,openssl似乎不需要编译。2、下载libevent-2.0.13-stable或以上版本,下载地址:http://libevent.org/old-releases.html#2.0,为什么要下载这个版本下面会有说明。3、VS2010编译libevent,详细请看:http://www.cnblogs.com/yanzhenan/archive/2011/12/05/2276781.html。 1>进入VS2010命令提示 2>cd l
阅读全文
posted @ 2013-04-19 19:36 Zhaoyier
阅读(1672)
评论(1)
推荐(0)
2013年3月26日
Ubuntu下PHP,APACHE,MYSQL配置
摘要: su1.安装SSH(必须)sudo apt-get install ssh2.安装MySQL(虽然现在最新版为5.1,但是还只能装5.0版本)sudo apt-get install mysql-server-5.03.安装Apachesudo apt-get install apache24.安装PHPsudo apt-get install php5 libapache2-mod-php5sudo apt-get install libapache2-mod-auth-mysqlsudo apt-get install php5-mysqlsudo apt-get install php5
阅读全文
posted @ 2013-03-26 23:41 Zhaoyier
阅读(129)
评论(0)
推荐(0)
Ubuntu下安装和配置Apache2
摘要: 在Ubuntu中安装apache 安装指令:sudo apt-get install apache2 安装结束后: 产生的启动和停止文件是:/etc/init.d/apache2 启动:sudo apache2ctl -k start 停止:sudo apache2ctl -k stop 重新启动:sudo apache2ctl -k restart 配置文件保存在:/etc/apache2需要说明的是,普通的apache发行版本配置文件是: httpd.conf Ubuntu发行版本的主配置文件是: apache2.conf 在apache2.conf引用到了以下文件:...
阅读全文
posted @ 2013-03-26 23:04 Zhaoyier
阅读(148)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告