事实上这个错误非常easy,就是当我们在国际化的时候,写key,写着写着就忘了加 ";" 所以查看一下自己的Localization文件就能够了
分类:
移动开发 时间:
2014-10-16 23:51:53
阅读次数:
264
启动nginx的时候,提示80端口被占用怎么办?
可以这么做:
sudo fuser -k 80/tcp
service nginx start...
分类:
其他好文 时间:
2014-10-16 19:08:02
阅读次数:
255
OS:HP-UNIX
ORA-27300: OS system dependent operation:fork failed with status: 12
ORA-27301: OS failure message: Not enough space
ORA-27302: failure occurred at: skgpspawn3
swapinfo -mt
发现s...
分类:
其他好文 时间:
2014-10-16 14:53:22
阅读次数:
274
出错原因:cmd在path路径找不到adb命令,是因为adb.exe文件存在于android-sdk安装目录platform-tools/子目录下,要将这个路径配置到环境变量里面。解决方案: 按照书中讲的添加环境变量:C:\android-sdk-windows\tools之后,再添加\platfo...
分类:
数据库 时间:
2014-10-16 04:11:11
阅读次数:
198
根据最近读的QT高级编程,原来QT是可以在HTML中嵌入对象的,确实很厉害。于是自己动手写了一个Demo,中途出现了一点点问题,js执行有问题,看来要提交javascript了,我感觉python也应该适当提高提高了。下面要重点提一下我犯的错误。
计算矩阵">
Qt's Plugin Load Failed
id="leftMatrix" pos="0, 200" size="...
分类:
Web程序 时间:
2014-10-16 01:45:51
阅读次数:
199
smartctl命令行的使用.
命令行使用说明:
目前我们使用的服务器都带有lsi的raid卡,当磁盘为SAS盘时使用smartctl时需要添加:smartctl-dmegaraid,$deviceid/dev/$diskname当磁盘为SATA盘时使用smartctl时需要添加:smartctl-dsat+megaraid,$deviceid/dev/$diskname
可以..
分类:
其他好文 时间:
2014-10-15 20:43:01
阅读次数:
399
安装好nginx和php-fpm后出现502的错误 查找原因是说php-fpm没有启动 ,但在我实际中这个进程是启动的 找了半天没找到原因,查看nginx日志后 发现以下错误
[crit] 2686#0: *1 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to u...
分类:
其他好文 时间:
2014-10-15 19:48:51
阅读次数:
290
解决办法: 在每个新建的类的第一行加入以下内容即可/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE fi.....
分类:
Web程序 时间:
2014-10-15 13:06:10
阅读次数:
519
Ubuntu 12.04升级到Ubuntu 12.04lts的时候,出现错误:Do you want to continue? [Y/n] ySetting up tex-common (4.04) ...Ignoring /etc/texmf/texmf.d/05TeXMF.cnf during ...
分类:
其他好文 时间:
2014-10-15 11:37:10
阅读次数:
209
今天写了一个快递查询的功能,使用的是AFNetWorking框架,贴个代码:dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{ NSDictionary *dict=@{@"key"...
分类:
Web程序 时间:
2014-10-15 01:08:54
阅读次数:
1672