上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页
摘要: hostnamectl set-hostname xiaol 阅读全文
posted @ 2018-11-10 00:36 413Xiaol 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 依赖: 1.jdk jdk-8u91-linux-x64.rpm 2.hadoop hadoop-2.7.3.tar.gz 把这两个依赖放到 /usr/local/ 下 安装JDK 这里直接用rpm安装 rpm -ivh jdk-8u91-linux-x64.rpm 安装好以后,会在 /usr目录下 阅读全文
posted @ 2018-11-09 23:42 413Xiaol 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 连接模式:桥接 Linux上1.修改 /etc/sysconfig/network-scripts/ifcfg-enp0s3 文件 ONBOOT=yes2.service network restart Windows上打开windo防火墙->高级设置->入站规则->找到“公用”的“文件和打印共享( 阅读全文
posted @ 2018-11-08 23:59 413Xiaol 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 项目管理者的职业病 时间;周末下午地点:家人物:你,你老婆,你6个月大的孩子事件:买些日用品,菜等 1.分析一下,目前家里(需求分析) 2.准备清单,一式两份,不同颜色,同类东西写在一起(迅速找到东西,提高效率),优先级排列(砍需求用) 3.估算一下购物清单,大概会花多少钱(成本估算) 4.选择:去 阅读全文
posted @ 2018-09-18 21:52 413Xiaol 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1:判断是否是web环境 2:加载classpath下所有的META-INF/spring.factories ApplicationContextInitializer 3:加载classpath下所有的META-INF/spring.factories ApplicationListener 4 阅读全文
posted @ 2018-05-26 13:20 413Xiaol 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Java语言中,除了基本数据类型外,其他的都是指向各类对象的对象引用;Java中根据其生命周期的长短,将引用分为4类。 1 强引用 特点:我们平常典型编码Object obj = new Object()中的obj就是强引用。通过关键字new创建的对象所关联的引用就是强引用。 当JVM内存空间不足, 阅读全文
posted @ 2018-05-24 21:35 413Xiaol 阅读(164) 评论(0) 推荐(0) 编辑
摘要: product 笛卡尔积 (有放回抽样排列) permutations 排列 (不放回抽样排列) combinations 组合,没有重复 (不放回抽样组合) combinations_with_replacement 组合,有重复 (有放回抽样组合) >>> import itertools >> 阅读全文
posted @ 2018-05-22 21:56 413Xiaol 阅读(1535) 评论(0) 推荐(0) 编辑
摘要: import platform platform.architecture() 阅读全文
posted @ 2018-04-15 19:55 413Xiaol 阅读(310) 评论(0) 推荐(0) 编辑
摘要: $("#filter").on("keyup",function(){$(".aimed_list").hide().filter(":contains('"+$(this).val()+"')").show();}) 阅读全文
posted @ 2018-03-05 20:33 413Xiaol 阅读(561) 评论(0) 推荐(0) 编辑
摘要: import re m = re.search('[0-9]', 'a1b2c3d4e5') print m.group(0) m = re.sub('[0-9]', 'X', 'a1b2c3d4e5') print m m = re.split('[0-9]', 'a1b2c3d4e5') print list(m) m = re.findall('[0-9]', 'a1b2c3d4e... 阅读全文
posted @ 2018-03-05 20:31 413Xiaol 阅读(135) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页