上一页 1 2 3 4 5 6 ··· 26 下一页
摘要: 用了Mac之后非常不习惯,很多东西都要查才能完成 之前Python用的sublime和ide,今天看教程安利了一个jupyter 记录下用Mac安装jupyter的过程: 1.像其他安装Mac自带了python2.7 和 easy-install 习惯用pip所以先装了个pip: 终端输入:sudo 阅读全文
posted @ 2017-06-23 16:50 cphmvp 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 最近在开发一个新应用,有一天在gitlab上clone代码的时候发现我的应用竟然有170+M,明明是一个全新的应用,代码都没有几行呢,为什么会有这么大呢? 后来经过了解Git的原理,解决了这个问题,把相关内容记录下来。分享一下。 Why 我的一个新应用竟然要170+M,这是打死我我也不会信的,于是就 阅读全文
posted @ 2017-06-07 17:48 cphmvp 阅读(1291) 评论(0) 推荐(1) 编辑
摘要: #安装 git #安装 oh my zsh 参照:http://www.jianshu.com/p/0fd8d396c8ab 阅读全文
posted @ 2017-05-01 21:36 cphmvp 阅读(150) 评论(0) 推荐(0) 编辑
摘要: JDK6、JDK7、JDK8三个版本的汇总地址:https://pan.baidu.com/s/1pKSYv8Z 安装 JDK6安装 JDK6下载地址 见网盘 安装完毕后确认版本 JavaForOSX2014-001.dmg contains Java for Mac OS X (1.6.0_65- 阅读全文
posted @ 2017-03-23 11:43 cphmvp 阅读(6162) 评论(1) 推荐(0) 编辑
摘要: import numpy as npimport pylab as pldates=['20170314','20170315','20170316','20170317','20170318','20170319']x = range(len(dates))y = [1974786,3502609 阅读全文
posted @ 2017-03-20 17:10 cphmvp 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 1.CPU占用最多的前10个进程: ps auxw|head -1;ps auxw|sort -rn -k3|head -10 2.内存消耗最多的前10个进程 ps auxw|head -1;ps auxw|sort -rn -k4|head -10 3.虚拟内存使用最多的前10个进程 ps aux 阅读全文
posted @ 2017-03-10 16:20 cphmvp 阅读(308) 评论(0) 推荐(0) 编辑
摘要: Java 下载安装Mac对应版本的JDK。 Apache-spark 安装scala 其他包 验证 阅读全文
posted @ 2017-03-07 10:58 cphmvp 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 在使用正则表达式时,有时我们需要捕获的内容前后必须是特定内容,但又不捕获这些特定内容的时候,零宽断言就起到作用了。 (?=exp):零宽度正预测先行断言,它断言自身出现的位置的后面能匹配表达式exp。 #匹配后面为_path,结果为product 'product_path'.scan /(prod 阅读全文
posted @ 2017-03-02 16:54 cphmvp 阅读(221) 评论(0) 推荐(0) 编辑
摘要: #每天2:30 删除4天前qac的原始log30 2 * * * find /home/iknow/ETL/RetlPull/retl-pull/data/qac -name qac.log.new.* -type f -mtime +3 | xargs -i rm -rf {} 阅读全文
posted @ 2017-02-28 09:46 cphmvp 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 安装zkui zookeeper节点的可视化界面有很多种,我使用的是zkui,比较直观,而且可以导入文件,他的Git地址: https://github.com/DeemOpen/zkui。 使用 1、 从github上可以下载下来,maven clean install成jar,运行zkui-2. 阅读全文
posted @ 2017-02-15 17:37 cphmvp 阅读(433) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 26 下一页
爬虫在线测试小工具: http://tool.haoshuju.cn/