读好书,交益友
发布时间:2014-04-18 11:14:11
1 安装 phantomjssudo apt-get updatesudo apt-get install build-essential chrpath git-core libssl-dev libfontconfig1-devgit clone git://github.com/ariya/phantomjs.gitcd phantomjsgit checkout 1.9./build.sh2安装 casperjs windows最好不用casperjscd /study/jsgit clone git://github.com/n1k0/.........【阅读全文】
发布时间:2014-04-02 17:32:10
这个问题很久以前就解决,现在备忘一下。<bean id="log4jInitialization" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"> <property name="targetClass" value="org.springframework.util.Log4jConfigurer" />&n.........【阅读全文】
发布时间:2014-03-26 10:05:51
最近要用mingwin调用GetUserNameEx函数,发现没有lib,只要动态调用了。点击(此处)折叠或打开#include <Windows.h>#define KERBEROS_DLL_NAME "SECUR32.DLL"#define KRB5_MAX_NAMELEN 256HINSTANCE .........【阅读全文】
发布时间:2014-03-20 16:46:16
最近使用tomcat,为了提升性能要使用Native Library。这个在windows上是默认使用的,在linux还得重新编译。centos 默认安装yum install apr好像不行。必须源码安装wget http://mirror.bit.edu.cn/apache//apr/apr-1.5.0.tar.gztar -zxvf apr-1.5.0.tar.gzcd apr-1.5.0./config.........【阅读全文】