I just don’t want to regret it: 没什么好说的=。=,代码注释的很详细。
Size visivleSize = Director::getInstance()->getVisibleSize();/* 创建一个精灵 */
Sprite* sprite = Sprite::create("sprite.png");
sprite->setPosition(Point...
分类:
其他好文 时间:
2015-03-31 18:03:03
阅读次数:
106
Cocos2d-x之的动作混合//实现多个动作同时运行,同时移动同时旋转着,使用Spawn进行设置多个动作label->runAction( Spawn::create( MoveBy::create(1, Point(100, 100)), RotateBy::create(1, 360), NU...
分类:
其他好文 时间:
2015-03-28 08:43:13
阅读次数:
123
http://lfstar.blog.163.com/blog/static/56378987201341115037437/查看哪些进程占用内存最高? > spawn(fun() -> etop:start([{output, text}, {interval, 1}, {lines, 20}, ...
分类:
系统相关 时间:
2015-03-12 22:05:32
阅读次数:
2806
ERROR: Could not find a valid gem 'sass' (>= 0), here is why: Unable to download data from http://rubygems.org/ - Errno::EACCES: Permission ...
分类:
其他好文 时间:
2015-03-12 12:57:33
阅读次数:
172
这个用spawn-fcgi 来管理FastCGI 以达到优化Apache 下PHP性能的方法比较另类,大家权当一种参考。
方法:系统平台是CentOS 5,前提是LAMP已配置好,运行正常。
1. wget -c http://www.21andy.com/centos/5/i386/spawn-fcgi-1.6.3-1.el5.i386.rpm(也可以去官方下载源码包编译安装:htt...
分类:
Web程序 时间:
2015-03-11 21:40:28
阅读次数:
145
什么是CGI CGI全称是“公共网关接口”(Common Gateway Interface),HTTP服务器与你的或其它机器上的程序进行“交谈”的一种工具,其程序须运行在网络服务器上。 CGI可以用任何一种语言编写,只要这种...
分类:
Web程序 时间:
2015-03-10 14:08:15
阅读次数:
299
Puppet路径为:/etc/puppet软件版本:gitweb-1.7.1-3.el6_4.1.noarch git-1.7.1-3.el6_4.1.x86_64 fcgi-2.4.0-12.el6.x86_64 spawn-fcgi-1.6.3-1.el6.x86_64 ...
分类:
Web程序 时间:
2015-03-04 18:39:35
阅读次数:
269
1、安装nginx yum install nginx; 默认目录; /etc/nginx/ 配置文件; /var/log/nginx 日志文件; /etc/init.d/nginx 启动service; service nginx start service nginx stop service nginx restart 2、安装spawn...
分类:
其他好文 时间:
2015-02-12 12:41:27
阅读次数:
119
简单模式:#!/usr/bin/expect -f set timeout 5 spawn ssh root@192.168.0.1expect "*assword*" send "root\r" expect "#" send "ifconfig \r" expect eo...
分类:
系统相关 时间:
2015-02-09 15:55:01
阅读次数:
178
想要注册一个进程,必须先要创建一个进程。 如何创建一个进程,可以使用spawn、spawn_link,它们虽然都能创建进程,但是也有微妙的区别(找本书,查询erlang进程集,有spawn_link详细用法): 1)当前进程中创建一个并行进程,当被生成的进程崩溃时,当前进程不会察觉 ...
分类:
系统相关 时间:
2015-02-04 10:55:16
阅读次数:
424