上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: #apt-get install ntpdpkg-reconfigure tzdata --> Asia -->Shuanghai #apt-get install python-mysqldb mysql-serverEdit the /etc/mysql/my.cnf file:[mysqld] 阅读全文
posted @ 2016-09-07 13:14 HEZOF 阅读(355) 评论(0) 推荐(0)
摘要: 1. 生成私钥openssl genrsa -out key.pem 20482. 生成证书openssl req -new -x509 -key key.pem -out cert.pem -days 10953. 服务端代码: package main import ( "fmt" "log" 阅读全文
posted @ 2016-09-07 13:13 HEZOF 阅读(1026) 评论(0) 推荐(0)
摘要: 这个特性很坑爹:@Test public void test() throws ParseException { SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd"); /* lenient为true,容忍处理 */ System.out. 阅读全文
posted @ 2016-09-07 13:12 HEZOF 阅读(440) 评论(0) 推荐(0)
摘要: JVM规范组成: 1. 字节码(ByteCode): 以Class或Interface为基本单位, 具有固定结构. 2. 指令集(InstructionSet): 每个指令用一个字节表示, 最多256条指令, 除却永久留用的指令. 3. 虚拟机(VirtualMachine): 根据字节码, 调用指 阅读全文
posted @ 2016-09-07 13:12 HEZOF 阅读(114) 评论(0) 推荐(0)
摘要: file Protocol Opens a file on a local or network drive. Syntax file:///sDrives[|sFile] Tokens Remarks The file protocol and sDrives parameter can be o 阅读全文
posted @ 2016-09-07 13:11 HEZOF 阅读(326) 评论(0) 推荐(0)
摘要: public class GenericUDAFTopNRow extends AbstractGenericUDAFResolver { @Overridepublic GenericUDAFEvaluator getEvaluator(TypeInfo[] parameters) throws 阅读全文
posted @ 2016-09-07 13:10 HEZOF 阅读(804) 评论(0) 推荐(0)
摘要: 使用-Djava.security.policy=xxx.policy启动安全策略, 你会想到codesource的配置如此蛋疼么? grant CodeBase "file:////D:/SourceDemo/demo/src/main/Friend.jar"{ permission java.i 阅读全文
posted @ 2016-09-07 13:09 HEZOF 阅读(313) 评论(0) 推荐(0)
摘要: AccessController.checkPermission()检测模型: 从VM Stack的current stack frame起逐个检测stack frome所指class的protectedDomain是否包含Permission. (1)若stack frame所指class的pro 阅读全文
posted @ 2016-09-07 13:08 HEZOF 阅读(642) 评论(0) 推荐(0)
摘要: 注意: 如果改写finalize()方法,PhantomReference将不再生效!https://weblogs.java.net/blog/enicholas/archive/2006/05/understanding_w.html Understanding Weak References 阅读全文
posted @ 2016-09-07 13:07 HEZOF 阅读(224) 评论(0) 推荐(0)
摘要: 参考: cannot load JSTL taglib within embedded Jetty server:http://stackoverflow.com/questions/2151075/cannot-load-jstl-taglib-within-embedded-jetty-serv 阅读全文
posted @ 2016-09-07 13:06 HEZOF 阅读(913) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页