摘要: 1.主题设置: 设置为Intellij默认的黑色主题。File -Settings - Appearance - UI Options - Theme:选择Darcula2.字体设置:2.1设置Intellij IDEA显示字体:File -Settings - Appearance - UI Op... 阅读全文
posted @ 2015-08-28 11:10 周葳 阅读(3954) 评论(0) 推荐(0) 编辑
摘要: 本文主要总结了关于Mysql中索引的操作,主要涉及索引的查看,增加和删除。1. 查看索引http://dev.mysql.com/doc/refman/5.7/en/show-index.htmlSHOW {INDEX | INDEXES | KEYS} {FROM | IN} tbl_name [... 阅读全文
posted @ 2015-08-19 16:19 周葳 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 1. nohup常见的nohup,用法比较简单,就不赘述了,可以参考相应的wiki百科。https://en.wikipedia.org/wiki/Nohup2. screenscreen也是常见的在shell中启动后台进程的方法。安装方法很简单:yum -y install screen。基本语法... 阅读全文
posted @ 2015-08-14 19:29 周葳 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1. OKHttp,好用的Http服务官网地址:http://square.github.io/okhttp/1) 获取http文件内容 1 OkHttpClient client = new OkHttpClient(); 2 3 String run(String url) throws IO... 阅读全文
posted @ 2015-08-11 19:40 周葳 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1. yield用法http://www.ibm.com/developerworks/cn/opensource/os-cn-python-yield/ 阅读全文
posted @ 2015-08-11 15:22 周葳 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1. 根据字符串分割实现一行变多行关键字:LATERAL VIEW, explode,splitSELECT ad_time_slice_index, SUM(impression_count) FROM base_tracking_logs LATERRAL VIEW EXPLODE(SPLIT(... 阅读全文
posted @ 2015-08-11 11:33 周葳 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 1. MySQL优化单表60亿记录等大数据场景的MySQL优化和运维之道 阅读全文
posted @ 2015-08-10 23:41 周葳 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 1. 排序,查看按时间倒序排列的最近几条记录db.inventory.find().sort({'time':-1}).limit(10) 阅读全文
posted @ 2015-08-10 23:03 周葳 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 主要介绍了kNN算法,和相关的权重分配,按比例缩放和绘制分布图等,框图如下, 阅读全文
posted @ 2014-11-23 21:49 周葳 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 决策树的根本是降低组群的混乱程度,通过对范围内数据点的分析,选择合适的分类点。基本框图如下, 阅读全文
posted @ 2014-11-23 19:42 周葳 阅读(149) 评论(0) 推荐(0) 编辑