摘要: long time 许继电气 short time 海伦钢琴 古越龙山 ==== 宁静致远2015-12-19 16:32:15 阅读全文
posted @ 2016-02-18 09:50 zhao1949 阅读(131) 评论(0) 推荐(0)
摘要: 学习的东西,只有经过多次使用和尝试后,才能成为你的技能点。一个事情,从你学懂它,到它成为你的技能点,这个过程是很漫长的。学习之后,还需要大量的训练和练习。本文谈谈俺点亮过或正在点亮的几个imba级技能,回答怎么从日常中学习的问题。(1)可控爆发;别笑,这个是从《圣斗士星矢》里学的。爆发小宇宙,在关键... 阅读全文
posted @ 2015-10-21 09:50 zhao1949 阅读(166) 评论(0) 推荐(0)
摘要: 默认的tomcat容器如果直接使用get方式在url中传中文时,传到后台接收会是乱码。乱码问题原因: tomcat默认的在url传输时是用iso8859-1编码。解决方案一: 在使用get传输参数时,将参数中的中文转换成url格式,也就是使用urlEncode和urlDecode来传输,使用这种方式... 阅读全文
posted @ 2015-10-15 08:56 zhao1949 阅读(618) 评论(0) 推荐(0)
摘要: 编码问题:在介绍编码问题前,先介绍一下java平台(JVM)上的编码转化情况。首先要说明的一点,在JVM中,即java平台上,运行的程序一定都是Unicode编码方式的。对于代码中的字符串常量,根据代码页的设置,转化为Unicode编码。对于输入,在输入进程序中JVM已经把输入的内容根据原先输入的编... 阅读全文
posted @ 2015-10-14 09:21 zhao1949 阅读(286) 评论(0) 推荐(0)
摘要: 配置KVM虚拟机的网络 Bridge和Nat方式http://www.it165.net/os/html/201503/12231.htmlKVM虚拟机网络配置 Bridge方式,NAT方式 http://blog.csdn.net/hzhsan/article/details/44098537Re... 阅读全文
posted @ 2015-09-30 10:23 zhao1949 阅读(134) 评论(0) 推荐(0)
摘要: Combining Rust and Haskellhttp://tab.snarc.org/posts/haskell/2015-09-29-rust-with-haskell.html 阅读全文
posted @ 2015-09-29 13:08 zhao1949 阅读(256) 评论(0) 推荐(0)
摘要: 1. 文档中英文 Spring Framework Reference Documentation http://docs.spring.io/spring/docs/4.1.7.RELEASE/spring-framework-reference/htmlsingle/ https://www.g... 阅读全文
posted @ 2015-09-29 09:48 zhao1949 阅读(178) 评论(0) 推荐(0)
摘要: 1.最简单的方式(注解法)2. 直接的方法,参数中添加(response类似)package spittr.web;import static org.springframework.web.bind.annotation.RequestMethod.*;import org.springframe... 阅读全文
posted @ 2015-09-28 16:13 zhao1949 阅读(755) 评论(0) 推荐(0)
摘要: 第一:code@RequestMapping(value = "/query/{keyword}", method = RequestMethod.GET, produces = "text/html;charset=UTF-8")public String query(@PathVariable ... 阅读全文
posted @ 2015-09-25 14:55 zhao1949 阅读(380) 评论(0) 推荐(0)
摘要: 使用System.IO模块使用函数openBinaryFile :: FilePath -> IOMode -> IO Handle打开文件 IOMode为 ReadWriteMode, 不然会截断文件eg:h ByteString -> IO ()Outputs a ByteString to ... 阅读全文
posted @ 2015-09-25 14:18 zhao1949 阅读(593) 评论(0) 推荐(0)