use spring resttemplate and apache httpclient

在Java Spring里提供了通过RestTemplate调用http 请求的方法,这里汇总了在RestTemplate的基础上通过apache httpclient控制http请求的方式。

阅读更多

Deploy hexo blog to github

hexo配置部署到github时,对应的_config.xml配置如下:

deploy:
   type: git
   repo: git@github.com:junhuih/junhuih.github.io.git
   branch: gh-pages

阅读更多

Good bye 2015

Start to open your mind, try to see what you will be benefited.

2015年马上就过去了,已过而立之年,过去太多时间荒废在封闭的环境和心态里。希望在以后的时间里寻求一些变化,多拥抱一些分享的文化。

阅读更多

MAC OS下怎么配置VPN

按照下面截图步骤就可以一步一步在Mac下设置VPN了, 请注意VPN的类型选择

  1. 点击右上角的网络图标,并选择Open Network Perferences...选项:

阅读更多

Varnish

Varnish debug

阅读更多

Data Integration: Sqoop

Transfer data between HDFS and RDBMS

阅读更多

Apache Spark Streaming

bigdata spark

阅读更多

Apache Spark Overview

spark

阅读更多

Apache Spark hdfs

spark

阅读更多

Useful linux command

linux

阅读更多