摘要:
1.主题设置: 设置为Intellij默认的黑色主题。File -Settings - Appearance - UI Options - Theme:选择Darcula2.字体设置:2.1设置Intellij IDEA显示字体:File -Settings - Appearance - UI Op... 阅读全文
摘要:
本文主要总结了关于Mysql中索引的操作,主要涉及索引的查看,增加和删除。1. 查看索引http://dev.mysql.com/doc/refman/5.7/en/show-index.htmlSHOW {INDEX | INDEXES | KEYS} {FROM | IN} tbl_name [... 阅读全文
摘要:
1. nohup常见的nohup,用法比较简单,就不赘述了,可以参考相应的wiki百科。https://en.wikipedia.org/wiki/Nohup2. screenscreen也是常见的在shell中启动后台进程的方法。安装方法很简单:yum -y install screen。基本语法... 阅读全文
摘要:
1. OKHttp,好用的Http服务官网地址:http://square.github.io/okhttp/1) 获取http文件内容 1 OkHttpClient client = new OkHttpClient(); 2 3 String run(String url) throws IO... 阅读全文
摘要:
1. yield用法http://www.ibm.com/developerworks/cn/opensource/os-cn-python-yield/ 阅读全文
摘要:
1. 根据字符串分割实现一行变多行关键字:LATERAL VIEW, explode,splitSELECT ad_time_slice_index, SUM(impression_count) FROM base_tracking_logs LATERRAL VIEW EXPLODE(SPLIT(... 阅读全文
摘要:
1. MySQL优化单表60亿记录等大数据场景的MySQL优化和运维之道 阅读全文
摘要:
1. 排序,查看按时间倒序排列的最近几条记录db.inventory.find().sort({'time':-1}).limit(10) 阅读全文