<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o ...
分类:
Web程序 时间:
2016-06-28 15:47:44
阅读次数:
259
文章转自:http://www.ha97.com/5194.html 更详细的模块参数请参考:http://wiki.nginx.org/Main #定义Nginx运行的用户和用户组 user www www; #nginx进程数,建议设置为等于CPU总核心数。 worker_processes 8 ...
分类:
其他好文 时间:
2016-06-28 15:47:35
阅读次数:
203
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o ...
分类:
其他好文 时间:
2016-06-28 15:47:14
阅读次数:
170
转载自http://blog.chinaunix.net/uid-20083-id-2974364.html JTS官网: http://tsusiatsoftware.net/jts/main.html http://www.vividsolutions.com/jts/main.htm svn地 ...
分类:
其他好文 时间:
2016-06-28 15:47:03
阅读次数:
207
今天做SpringMVC异常统一处理这块,在处理的时候需要区分发送过来的请求是传统请求还是ajax请求,网上有现成的代码,我是参考http://www.2cto.com/kf/201412/364393.html里面的做法。其中的if(!(request.getHeader("accept").indexOf("application/json")>-1||(request.getH..
分类:
Web程序 时间:
2016-06-28 14:42:05
阅读次数:
220
程序地址:http://www.cheemoedu.com/exercise/26问题描述:众所周知,哥德巴赫猜想的证明是一个世界性的数学难题,至今未能完全解决。我国著名数学家陈景润为哥德巴赫猜想的证明作出过杰出的贡献。所谓哥德巴赫猜想是说任何一个大于2的偶数都能表示成为两个素数之和。编写程序..
分类:
其他好文 时间:
2016-06-28 14:41:29
阅读次数:
149
环境:centos-6.5依赖:yuminstall-ygccgcc-c++下载pcre,openssl,openrestywgethttps://sourceforge.net/projects/pcre/files/pcre/8.39/pcre-8.39.tar.gzwgethttps://www.openssl.org/source/openssl-1.0.1t.tar.gzwgethttps://openresty.org/download/openresty-1.9.15.1.ta..
分类:
其他好文 时间:
2016-06-28 14:41:12
阅读次数:
1157
一、安装最新版git(1)安装依赖包#yuminstallcurl-develexpat-develgettext-developenssl-develzlib-devel
#yuminstallgccperl-ExtUtils-MakeMaker(2)卸载旧的git版本#yumremovegit(3)查看最新git版本号登录https://www.kernel.org/pub/software/scm/git/当前最新版为2.9...
分类:
其他好文 时间:
2016-06-28 14:36:13
阅读次数:
306
编译安装4.6.3内核,并使其支持NTFS文件系统在编译内核之前的虚拟机环境搭建,虚拟机硬盘可用空间不得小于7G,内存需大大于2.5G,根据个人电脑配置适当调整,可提高效率。一.下载内核源码包https://www.kernel.org/二.查看虚拟机是否具备编译条件1)[root@bogon/]#rpm-qmake
..
分类:
Web程序 时间:
2016-06-28 13:15:29
阅读次数:
380
默认官方快捷键:
mac快捷键
Windows/linux快捷键
官方帮助文档:https://www.jetbrains.com/idea/documentation/
常用的快捷键:
mac:
(
? –> command,
? –> alt/ option
?–>control
)
组织导入 Code | Optimize Imports :(?...
分类:
移动开发 时间:
2016-06-28 12:57:58
阅读次数:
353