Android 2.3提供一个称为严苛模式(StrictMode)的调试特性,Google称该特性已经使数百个Android上的Google应用程序受益。那它都做什么呢?它将报告与线程及虚拟机相关的策略违例。一旦检測到策略违例(policy violation),你将获得警告,其包括了一个栈tra....
分类:
其他好文 时间:
2014-12-31 20:04:43
阅读次数:
148
今天碰了一个很奇怪的问题,平时好好的php-fpm修改了一个参数后,突然启动不起来了,试着把参数还原、甚至用备份的配置文件还原都没办法启动php,而且不给任务启动错误的提示,纳闷!!!后来上网找了个资料:看看php-fpm的错误日志有多大,超过2G,就会启动不起来删除日志后正常启动问题分析:Fast...
分类:
Web程序 时间:
2014-12-30 16:49:18
阅读次数:
177
Background
Mr Somurolov, fabulous chess-gamer indeed, asserts that no one else but him canmove knights from one position to another so fast. Can you beat him?
The Problem
Your task is to write ...
分类:
其他好文 时间:
2014-12-29 18:26:07
阅读次数:
192
新手刚用Git,Push的时候出现错误:To ssh://*******.com/HRC e06a5d2..265df95 master -> master! [rejected] R8 -> R8 (non-fast-forward)! [rejected] reserved -> r...
分类:
其他好文 时间:
2014-12-29 18:19:06
阅读次数:
909
FaceRecognizer类
OpenCV中所有人脸识别的模型都是继承自FaceRecognizer这个基类,这个类提供了人脸识别算法的统一接口。
class FaceRecognizer : public Algorithm
{
public:
//! virtual destructor
virtual ~FaceRecognizer() {}
// Tra...
分类:
其他好文 时间:
2014-12-28 22:22:23
阅读次数:
587
1. 这篇博客讲什么? 2. FFS基于VSFS的改进思想是什么? 3. FFS文件系统的实现 4. FFS设计细节
分类:
其他好文 时间:
2014-12-27 18:49:17
阅读次数:
205
exec sp_dboption 'dbname1','single user',‘true’dbcc checkdb('dbname1')dbcc checkdb('dbname1',REPAIR_FAST)dbcc checkdb('dbname1',REPAIR_REBUILD)dbcc ch...
分类:
数据库 时间:
2014-12-27 12:37:11
阅读次数:
218
If we run a Gradle build and one of the tasks fails, the whole build stops immediately. So we have fast feedback of our build status. If we don't want...
分类:
其他好文 时间:
2014-12-26 21:31:21
阅读次数:
262
fast boot ->disable Security->Secure Boot Control->Disabled Boot->Launch CSM->Enabled >顺便吐槽一下UEFI,没觉得UEFI比传统BIOS快多少,反而导致了不同厂商的设置方法不一样,增加了维护与安装系统的难度,...
分类:
其他好文 时间:
2014-12-26 15:00:50
阅读次数:
159
这段时间学习别人的源码,需要AndroidAnnotations这个开源的框架,学习下,他的地在:https://github.com/excilys/androidannotations文档的地址在:https://github.com/excilys/androidannotations/wiki
正如在github上他的主页上所说:Fast Android Development. ...
分类:
移动开发 时间:
2014-12-26 14:40:49
阅读次数:
728