安装:apt-get install php5-fpm php5-mysql配置:vi /etc/php5/fpm/php.inicgi.fix_pathinfo=0vi /etc/php5/fpm/pool.d/www.conflisten = /var/run/php5-fpm.socklist...
分类:
Web程序 时间:
2015-05-09 10:00:32
阅读次数:
144
代码$.extend($.validator.messages,{ required: "This field is required.", remote: "Please fix this field.", email: "Please enter a valid email a...
分类:
其他好文 时间:
2015-05-07 08:43:56
阅读次数:
145
GTA5 PC 版,online模式报错“ERR_GFX_D3D_INIT”。网上搜到一篇文章,可以解决此问题: http://fixcrasheserrorguide.com/fix-grand-theft-auto-v-pc-gta-5-err_gfx_d3d_init-error/1、找到文件...
分类:
其他好文 时间:
2015-05-02 13:38:05
阅读次数:
558
In this tutorial we will see about debugging java applications using Eclipse. Debugging helps us to identify and fix defects in the application. We wi...
分类:
编程语言 时间:
2015-05-02 11:04:32
阅读次数:
270
参考:http://www.dyn4j.org/2010/05/epa-expanding-polytope-algorithm/一个在线演示:http://sandbox.runjs.cn/show/xseojpfaGJK可以判断两个凸图形是否重叠, EPA可以基于GJK的工作找出分离两个图形的最...
分类:
其他好文 时间:
2015-05-01 16:03:35
阅读次数:
163
程序员,你为什么不抱怨呢? 我就不明白了。我周围有许多这样的程序员,他们勤勤垦垦地,低头苦干。做事情总是从头到尾,一笔一画,走着正道。天天做一些事情, 重复地做着一些事情,那些我认为没有必要重复地、让人去做的事情。比方说,在fix bug的过程中,他们会重复地做着下 面的事情:第一步,依据share...
分类:
其他好文 时间:
2015-05-01 00:33:10
阅读次数:
137
The package needs to be reinstalled, but I can’t find an archive for itexecute sudo cp /var/lib/dpkg/status status.bkpsudo gedit /var/lib/dpkg/status....
分类:
系统相关 时间:
2015-04-29 23:04:40
阅读次数:
197
详细异常:A SQLiteConnection object for database '/data/data/.../databases/....db' was leaked! Please fix your application to end transactions in progress ...
分类:
数据库 时间:
2015-04-28 13:59:39
阅读次数:
163
结构:nginx-flume->kafka->flume->kafka(因为牵扯到跨机房问题,在两个kafka之间加了个flume,蛋疼。。)现象:在第二层,写入kafka的topic和读取的kafka的topic相同,手动设定的sinktopic不生效打开debug日志:source实例化:21Apr201519:24:03,146INFO[conf-file-poll..
分类:
Web程序 时间:
2015-04-26 01:47:52
阅读次数:
765
Redis无法启动
今天在启动Redis时提示以下错:
C:\Java\redis2817>redis-server.exe redis.windows.conf
[5268] 23 Apr 11:45:22.696 #
The Windows version of Redis allocates a large memory mapped file for sharing
the hea...
分类:
其他好文 时间:
2015-04-23 13:14:43
阅读次数:
178