关闭Selinux方法一:用vi/etc/selinux/config修改[root@liangenyu~]#vi/etc/selinux/config#ThisfilecontrolsthestateofSELinuxonthesystem.#SELINUX=cantakeoneofthesethreevalues:#enforcing-SELinuxsecuritypolicyisenforced.#permissive-SELinuxprintswarningsinsteadofenf..
分类:
系统相关 时间:
2014-11-04 06:51:15
阅读次数:
290
/**
* Sets the Resource root path.
* @deprecated Please use FileUtils::getInstance()->setSearchPaths() instead.
*/
CC_DEPRECATED_ATTRIBUTE void setResourceRootPath(const std::stri...
分类:
其他好文 时间:
2014-11-04 01:37:38
阅读次数:
250
Caching large objects, duplicate objects, caching collections, live objects, thread unsafe caching and other common mistakes break your app instead of...
分类:
移动开发 时间:
2014-10-31 10:04:22
阅读次数:
263
Android - TextView Ellipsize属性本文地址: http://blog.csdn.net/caroline_wendyandroid:ellipsize属性:If set, causes words that are longer than the view is wide to be ellipsized instead of broken in the middle.如...
分类:
移动开发 时间:
2014-10-30 19:09:43
阅读次数:
169
用swift创建CoreData项目时,操作CoreData Modal时,出现下面错误
CoreData: warning: Unable to load class named 'Book' for entity 'Book'. Class not found, using default NSManagedObject instead.
解决办法
1. 在book.swift 中...
分类:
编程语言 时间:
2014-10-30 15:20:02
阅读次数:
133
The ? 1 ? 2 ? ... ? n = k problemThe problemGiven the following formula, one can set operators '+' or '-' instead of each '?', in order to obtain a gi...
分类:
其他好文 时间:
2014-10-29 23:44:00
阅读次数:
198
前言
昨晚想在Android应用中增加一个整形到字符串的字典表,使用HashMap实现的时候,Eclipse给出了一个警告,昨晚项目上线紧张,我直接给忽略了,今天看了一下具体的Eclipse提示如下:
Use new SparseArray (...) instead for better performance这个警告的意思是使用SparseArray来替代,以获取更好的性能。...
分类:
移动开发 时间:
2014-10-29 13:03:28
阅读次数:
350
ORACLE PL/SQL编程之八:把触发器说透本篇主要内容例如以下:8.1 触发器类型8.1.1 DML触发器8.1.2 替代触发器8.1.3 系统触发器8.2创建触发器8.2.1 触发器触发次序8.2.2 创建DML触发器8.2.3 创建替代(INSTEAD OF)触发器8.2.3 创建系统事件...
分类:
数据库 时间:
2014-10-28 19:58:57
阅读次数:
195
定义: create trigger trigger_name on table_name with encryption | execute as [...] after | instead of insert | delete | update as #000000 #000000...
分类:
数据库 时间:
2014-10-26 22:43:48
阅读次数:
211
Follow up for N-Queens problem.
Now, instead outputting board configurations, return the total number of distinct solutions.
class Solution {
private:
int res;
public:
int totalNQuee...
分类:
其他好文 时间:
2014-10-26 15:43:03
阅读次数:
168