Problem Description
The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they become too greedy. He has decided to w...
分类:
其他好文 时间:
2015-02-24 15:10:58
阅读次数:
196
The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villages some years ago. But the jungle overtakes roads relentlessly, so the large road network is too expensive to maintain. Th...
分类:
编程语言 时间:
2015-02-23 15:31:52
阅读次数:
212
Native Toolchain http://second.ddo.jp/~okayama/memo/pkgsrc-arm/ http://blog.chinaunix.net/uid-10637191-id-2944689.html CodeSourcery 2005Q3-2 Cross-Too...
分类:
其他好文 时间:
2015-02-21 12:00:07
阅读次数:
125
If your target build version is Honeycomb 3.2 (API Level 13) or higher you must put the screenSize flag too, as in:because even with the "orientation"...
分类:
移动开发 时间:
2015-02-19 20:45:24
阅读次数:
286
Here's another option, from the guys from liip, here. This is a PHP package that comes pre-built for Yosemite (older versions works too) but it is jus...
分类:
Web程序 时间:
2015-02-18 17:38:28
阅读次数:
210
通过WCF进行数据的查询或者添加的时候,如果数据量过大,一般会报出如下的错误:
1、已超过传入消息(65536)的最大消息大小配额。若要增加配额,请使用相应绑定元素上的MaxReceivedMessageSize 属性。
2、远程服务器返回了意外反应(413)Request Entity too large。
3、远程服务器返回了意外反应(400)Bad Req...
分类:
其他好文 时间:
2015-02-10 23:16:57
阅读次数:
6781
ERROR?1406?(22001):?Data?too?long?for?column?解决方法 导入数据的时候,MYSQL 报错:Data too long for column 解决办法: 在my.ini里找到 sql-mode=”STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGI...
分类:
数据库 时间:
2015-02-10 18:59:06
阅读次数:
167
单例模式主要使用于数据库的连接, 确保数据库一个类只有一个实例, 并且向整个系统提供这个实例。从而避免new操作消耗资源, 同时避免数据库出现too many connection信息.要点有三个: 1. 必须只有一个实例。 2. 必须自动创建这个实例。 3. 必须向整个系统提供这个实例。test(...
分类:
Web程序 时间:
2015-02-10 15:08:03
阅读次数:
154
堆外内存导致的溢出除了java堆和永生代之外,西面这些区域还会占用较多的内存,这里所有内存总和受到操作系统进程最大内存的限制。
Direct Memory
线程堆栈
Socket缓存区:每个socket连接都receive和send两个缓存区,分别占大约37k和25k内存,连接多的话这块内存也很客观,如果无法分配则绘抛出IOException:Too many open files异常。
JNI代码...
分类:
其他好文 时间:
2015-02-09 16:08:49
阅读次数:
127
最近在哥在工作用到的
1 hg 的 setting
全局设置: 复制下面的代码 带星号的用你的邮箱替换掉即可
# Generated by TortoiseHg settings dialog
[ui]
username = *****
# 设置hg的安装的路径 和 自己的私钥
ssh = "E:\Study\Android\Too...
分类:
其他好文 时间:
2015-02-09 12:53:58
阅读次数:
172