摘要: https://baijiahao.baidu.com/s?id=1608021814182894637&wfr=spider&for=pc 阅读全文
posted @ 2019-04-23 13:28 sunwukong搬砖 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 使用pip install 阅读全文
posted @ 2019-04-16 10:20 sunwukong搬砖 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 优点 充分利用多核CPU的计算能力; 方便进行业务拆分,提升应用性能 缺点 上下文切换 注意线程安全,避免死锁 阅读全文
posted @ 2018-07-04 11:47 sunwukong搬砖 阅读(79) 评论(0) 推荐(0) 编辑
摘要: ArrayList更适合读取数据,linkedList更多的时候添加或删除数据。 阅读全文
posted @ 2018-07-02 10:20 sunwukong搬砖 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 使用ng-class,可能是异步的影响,在onscroll中改变值可能过快导航栏滚动失败,使用timeout延时加载,比较前后的scrollTop值,判断滚动结束再改变Ng-class的值。 阅读全文
posted @ 2018-07-02 10:14 sunwukong搬砖 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 1.5.2以下版本使用context-path:不报错 2.0.2使用servlet.contextPath 阅读全文
posted @ 2018-06-11 11:17 sunwukong搬砖 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 1.mvn clean package -DskipTests 2.target目录下的war包放到tomcat webapp目录下 3.启动tomcat 4.查看端口占用ps -ef | grep tomcat 阅读全文
posted @ 2017-09-30 09:53 sunwukong搬砖 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 1.angular遍历angular.forEach(groups,function (group) { }) 阅读全文
posted @ 2017-06-26 13:23 sunwukong搬砖 阅读(292) 评论(0) 推荐(0) 编辑