摘要: 参考: 1,http://blog.csdn.net/nju_mc/article/details/54954999 2,http://blog.csdn.net/GYQJN/article/details/49421789 内容: 第一步(环境): 版本: JDK:1.8.0_121 Spark: 阅读全文
posted @ 2017-05-25 20:21 tangyongathuse 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.cnblogs.com/dreamingbaobei/p/5062901.html 内容: 工作多年,一直忙忙碌碌的应用各种技术,现在不忙了,问问自己究竟在做什么,究竟会什么竟答不上来,回想起来工作中经常是被要求多快好省的去实现一个目标,用度娘解决问题,却没时间了解原因, 阅读全文
posted @ 2017-05-22 17:19 tangyongathuse 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 参考:http://blog.csdn.net/su_tianbiao/article/details/52735399 内容: 每一个写爬虫、或者是做网页分析的人,相信都会因为在定位、获取xpath路径上花费大量的时间,甚至有时候当爬虫框架成熟之后,基本上主要的时间都花费在了页面的解析上。在没有这 阅读全文
posted @ 2017-05-22 16:54 tangyongathuse 阅读(2402) 评论(0) 推荐(0) 编辑
摘要: 参考: http://www.cnblogs.com/kgdxpr/archive/2013/05/20/3088254.html http://blog.csdn.net/zshake/article/details/40344183 https://segmentfault.com/a/1190 阅读全文
posted @ 2017-05-19 11:35 tangyongathuse 阅读(1185) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.cnblogs.com/MyFlora/archive/2013/07/26/3216448.html 内容: 整个抓取使用了 xpath、正则表达式、消息中间件、多线程调度框架(参考)。xpath 是一种结构化网页元素选择器,支持列表和单节点数据获取,他的好处可以支持规 阅读全文
posted @ 2017-05-18 09:19 tangyongathuse 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 参考:https://segmentfault.com/q/1010000007606879 内容: 在 Settings-> Editor-> General-> Appearance 下, 取消 Show right margin 即可. 备注:这个竖线是提示你, 你的代码写的太长, 需要换行啦 阅读全文
posted @ 2017-05-17 15:18 tangyongathuse 阅读(919) 评论(0) 推荐(0) 编辑
摘要: 参考:http://blog.csdn.net/felcon/article/details/51980344 Intellj 自动载入Mave依赖的功能很好用,但有时候会碰到问题,导致pom文件修改却没有触发自动重新载入的动作,此时需要手动强制更新依赖。 如下: 项目右键-》Maven-》Reim 阅读全文
posted @ 2017-05-17 11:29 tangyongathuse 阅读(8973) 评论(0) 推荐(0) 编辑
摘要: package com.jiuweiwang.tangyong; import com.mongodb.MongoClient; import com.mongodb.MongoCredential; import com.mongodb.ServerAddress; import com.mongodb.client.FindIterable; import com.mongodb.cli... 阅读全文
posted @ 2017-05-16 14:30 tangyongathuse 阅读(1287) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.mamicode.com/info-detail-1705113.html 先声明,热更新词库,需要用到,web项目和Tomcat。不会的,请移步 Eclipse下Maven新建项目、自动打依赖jar包(包含普通项目和Web项目) Tomcat *的安装和运行(绿色版和安 阅读全文
posted @ 2017-05-11 12:21 tangyongathuse 阅读(645) 评论(1) 推荐(0) 编辑
摘要: 参考:https://github.com/mobz/elasticsearch-head 注意: 阅读全文
posted @ 2017-05-11 12:19 tangyongathuse 阅读(210) 评论(0) 推荐(0) 编辑