自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

www.hohode.com

欢迎访问新的博客地址 www.hohode.com

  • 博客(21)
  • 资源 (1)
  • 收藏
  • 关注

原创 将e.printStackTrace()打印的信息输入到log4j

logger.error("MyERROR", e);

2015-12-28 11:38:38 5495

转载 iOS高级开发——CollectionView的cell长按事件实现

http://www.2cto.com/kf/201511/451536.html

2015-12-27 14:11:13 683

原创 自定义UICollectionViewCell init(coder:) has not been implemented

使用以下方式实现即可:    requiredinit(coder aDecoder: NSCoder) {        super.init(coder: aDecoder)!       // fatalError("init(coder:) has not been implemented")    }

2015-12-23 23:02:53 2761

原创 NullPointerException in ClientCnxn$EventThread.processEvent

这个是ZooKeeper的bug, 在3.5.2和3.6.0中已经修复

2015-12-23 16:12:30 459

转载 elasticsearch的store属性跟_source字段

http://m.blog.csdn.net/blog/jingkyks/41785887

2015-12-22 11:42:18 1036

转载 改变UITableView的headerView、footerView背景颜色

http://www.thinksaas.cn/group/topic/349869/

2015-12-19 23:37:57 451

原创 给UILable中的文字添加删除线样式

https://lvwenhan.com/ios/438.htmllet attributedText = NSAttributedString(string: "内容", attributes: [NSStrikethroughStyleAttributeName: 1])let contentLabel = UILabel()contentLabel.attributedText =

2015-12-19 22:55:39 1332

原创 查看kafka的版本

查看kafka中libs包中jar文件的版本号即可http://stackoverflow.com/questions/27606065/how-to-find-the-kafka-version-in-linux

2015-12-18 11:29:28 15448

原创 maven 指定java编译环境

org.apache.maven.plugins              maven-compiler-plugin                                1.7                  1.7

2015-12-17 11:55:43 1867

转载 Jest is a Java HTTP Rest client for Elasticsearch

https://github.com/searchbox-io/Jest/tree/master/jest

2015-12-17 10:08:24 1464

转载 UIView.clipsToBounds 让子 View 只显示落在父 View 的 Frame 部分

http://unmi.cc/uiview-clipstobounds-show-visible-part/

2015-12-15 22:39:28 492

原创 Elasticsearch Reference [2.x] scroll

https://www.elastic.co/guide/en/elasticsearch/reference/2.x/search-request-scroll.htmlhttp://www.jianshu.com/p/14aa8b09c789#

2015-12-15 17:38:59 366

转载 分布式搜索elasticsearch java API

http://www.nosqldb.cn/1368776304994.html

2015-12-14 14:40:26 472

原创 找不到类ImmutableSettings

In ES 2.0, the ImmutableSettings class was indeed removed. This issue mentions it and thebreaking changes documentation for 2.0 also mention it.Instead you can now use Settings.builder() inste

2015-12-14 14:32:58 6295 3

转载 为iPhone 6设计自适应布局

http://www.cocoachina.com/ios/20141020/9978.html

2015-12-13 20:23:06 328

原创 git的使用

http://www.maiziedu.com/course/ios/501-6555/

2015-12-09 07:55:32 328

原创 设置app的图标

http://www.maiziedu.com/course/ios/501-6557/图标的尺寸大小根据xcode的错误提示,警告信息进行修改

2015-12-08 07:54:40 341

转载 xcode如何修改app的名字

http://blog.csdn.net/u011862058/article/details/50125905

2015-12-08 07:51:12 921

原创 Couldn't find leader offsets for Set news_topic

kafka topic must contain at least one message before the DirectStream creationhttp://apache-spark-developers-list.1001551.n3.nabble.com/Exception-using-the-new-createDirectStream-util-method-td1

2015-12-04 11:37:43 4863

转载 欢迎使用CSDN-markdown编辑器

Java 8 vs. Scala(一): Lambda表达式http://www.csdn.net/article/2015-11-27/2826348

2015-12-02 19:07:06 326

转载 Use xargs to pass command to kill a process

ps -ax | grep command | awk '{print $1}' | xargs -i kill -9 {}

2015-12-01 11:51:44 467

hadoop2 文件读写原理

这个文档讲述了hadoop2的文件读写原理,不过是英文的,英文不好的同学下载的时候,要谨慎了

2015-06-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除