sudo chown -R yourusename:admin /usr/local/binMac-Pro:local user$ brew install imagemagick Error: You must `brew link jpeg' before imagemagick can be ...
分类:
其他好文 时间:
2014-09-24 13:27:26
阅读次数:
250
执行过程public void method(Action action){ //2.method执行中 try { action(); //3.调用委托 string x = "5"; //如果action执行时出现了error,但是内部有catch机...
分类:
其他好文 时间:
2014-09-24 13:10:46
阅读次数:
155
新装了Xcode之后,使用终端git的 gs(git status)命令时会出现xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use xcode-...
分类:
其他好文 时间:
2014-09-24 12:04:36
阅读次数:
174
1.找到状态为出错状态的VM。在数据库里面表现Status为ERROR而非ACTIVE。2.找到出错状态VM的UUID。3.使用MYSQL客户端工具连接到MySQL数据库。4.连接到MYSQL数据库后,执行usenova;使用nova数据库。5.select*frominstanceswhereuuid=’实例的ID‘\G;可以查看到字段vm_state值为err..
分类:
其他好文 时间:
2014-09-24 03:32:46
阅读次数:
223
/usr/local/php/sbin/php-fpm 却无法启动,提示错误:ERROR: failed to load configuration file '/usr/local/php/etc/php-fpm.conf'ERROR: FPM initialization failedcd/us...
分类:
Web程序 时间:
2014-09-24 00:39:25
阅读次数:
255
花了好几个小时,详细规划出了整个过程,包括所有基本操作。。。有什么疑问请下方留言
#include
using namespace std;
#define ElemType char
#define ERROR 0
#define OK 1
typedef struct Node
{
ElemType data;
struct Node *next;
}Node,*Lin...
分类:
其他好文 时间:
2014-09-24 00:20:15
阅读次数:
315
Error HandlingSTL设计的目标是性能最优化,而不是最安全。错误检查是极其浪费时间的,因此,STL对于错误处理几乎没有做处理,因此,这对STL的使用者的要求就非常高。为什么不采取错误处理呢,下面是两个主要原因:Error checking reduces performance, and...
分类:
其他好文 时间:
2014-09-23 23:33:45
阅读次数:
225
首先出现这个问题在android上非常普遍,基本都是因为游戏切换到主界面再切回来造成的,出现在cocos2d-x 2.1.3-2.1.5这些版本最多。
出现这个问题的原因有以下几点:
1、长时间锁屏切回
2、home切出切回
3、使用notification切回
这里1、2可能跟内存有关,建议在onpause的时候清除缓存,注意不要在主线程意外的地方让游戏切回。
3这个问题是因为今天我...
分类:
移动开发 时间:
2014-09-23 23:06:35
阅读次数:
192
Nagios Linux客户端需要安装NRPE进行数据收集,如果在Ubuntu系统下安装过程中遇到下面的错误提示:checking for SSL libraries... configure: error: Cannot find ssl libraries那么可能是缺少sudo apt-get ...
分类:
其他好文 时间:
2014-09-23 19:22:15
阅读次数:
202
# tar -zxvf aaa.tar.gztar: This does not look like a tar archivetar: Skipping to next headertar: Error exit delayed from previous errors解决办法# gzip -d ...
分类:
其他好文 时间:
2014-09-23 18:58:25
阅读次数:
230