I was too optimistic.It is take several days working on the demo.. The intresting thing is when I finished the demo, I understand how people make a ro...
分类:
编程语言 时间:
2014-12-04 00:41:10
阅读次数:
219
原文:sql点滴37—mysql中的错误Data too long for column '' at row 1
1、MYSQL服务
我的电脑——(右键)管理——服务与应用程序——服务——MYSQL——开启(停止、重启动) 2、命令行方式 Windows 1.点击“开始”->“运行”(快捷键Win+...
分类:
数据库 时间:
2014-12-03 19:06:01
阅读次数:
257
今日需要删除/tmp目录下的所有文件,文件数量比较多。
ls -lt /tmp | wc -l385412
使用 rm * 后,系统提示错误 Argument list too long
原因是在linux下,试图传太多参数给一个系统命令(ls *; cp *; rm *; cat *; etc..)时,就会出现 Argument list too long错误。...
分类:
系统相关 时间:
2014-11-29 00:19:15
阅读次数:
273
李刚轻量级JavaEE第六章的坑。。艹李刚自己有没试过这些代码的啊,6.4这一份HqlQuery.java里需要的表,根本就跟他提供的sql脚本对不上啊。。坑爹啊,而且字符编码集也有问题。出现这个原因是编码不统一的问题。首先字符编码集有GBK、GB2312、UTF8,区别详见http://down....
分类:
数据库 时间:
2014-11-27 06:41:37
阅读次数:
192
Heli tracker. #1,2,3 as Gen Ace Battery. #4,5,6 as Nano Battery11/25/2014 Lightly crashed, servo arm brake. Too dark to see heli level. #4,5,...
分类:
其他好文 时间:
2014-11-26 13:36:38
阅读次数:
224
最近随着网站访问量的提高把web服务器移到linux下了,在移服务器的第二天,tomcat频繁的报 java.net.SocketException: Too many open files错误,错误日志达到了100多兆,郁闷了,windows上运行了很长 时间都没出...
分类:
编程语言 时间:
2014-11-25 12:55:53
阅读次数:
231
函数参数外部变量名一般情况下你可以不指定外部变量名,直接调用函数:func helloWithName(name: String, age: Int, location: String) {
println("Hello \(name). I live in \(location) too. When is your \(age + 1)th birthday?")
}
helloWit...
分类:
编程语言 时间:
2014-11-22 21:40:26
阅读次数:
300
环境:192.168.128.111(ha1.haproxy.org)->CentOS6.364bitsiege2.78
192.168.128.10(n1.web.org)->CentOS6.564bitnginx1.6.2在192.168.128.111上使用siege对192.168.128.10的nginx做压力测试[root@ha1bin]#siege-c6500-r1"
Transactions:5827hits
Availability:89.65%..
分类:
其他好文 时间:
2014-11-21 19:01:28
阅读次数:
260
20 Interesting WPF Projects on CodePlex (Some for Silverlight too)Pete Brown-22November2010In no particular order, here's a selection of interesting a...
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2014-11-20 16:56:50
阅读次数:
236