全局注册:Vue.component('my-component',componentObj)局部注册:components:{ myPartComponent:componentObjFather}注意:注册时如果写驼峰 使用标签时要将有驼峰处换成'-',如果不写驼峰可以这样写('my-part-... ...
分类:
其他好文 时间:
2019-10-05 20:22:16
阅读次数:
77
dom4j解析 SAXReader reader = new SAXReader(); Document document = reader.read(new File("src/test.xml")); Element root = document.getRootElement(); //将解析 ...
分类:
其他好文 时间:
2019-10-05 18:49:35
阅读次数:
114
一、StingUtils 二、Glide 三、ButterKnife 四、Indicator 五、MasterDesign使用 六、OkHttp // okhttp,sniffer packet >适用于测试人员抓包 debugCompile 'com.readystatesoftware.chuc ...
分类:
其他好文 时间:
2019-10-05 16:47:26
阅读次数:
110
爬虫之获取猫眼电影10W评论 第一步 打开一个电影的评论界面: 哪吒之魔童降世:https://maoyan.com/films/1211270 我们发现这里只显示10条评论,而我们需要爬取10w条数据,所以不能从此页面进行抓包,所以放弃!!!! 于是又上网查,终于看到一篇文章说到开发者模式可以直接 ...
分类:
其他好文 时间:
2019-10-05 14:41:04
阅读次数:
80
GoCN每日新闻(2019-10-03) GoCN每日新闻(2019-10-03) 国庆专辑:GopherChina祝大家国庆节快乐 GoCN每日新闻(2019-10-03) 1. 垃圾回收器如何监控你的应用程序 https://medium.com/a-journey-with-go/go-how ...
分类:
其他好文 时间:
2019-10-05 10:45:11
阅读次数:
88
Floyd算法: 复杂度O(n^3) 首先这个算法使用暴力dp来写的,很容易就会TLE。但是这是一个多源最短路算法,可以求出来任意两点之间的最短距离 示例代码: 1 #include <cstdio> 2 #include <iostream> 3 #define INF 0x3f3f3f3f 4 ...
分类:
其他好文 时间:
2019-10-05 10:26:58
阅读次数:
74
Ax_introduction source a Frech mean to "state,quality,act,place where etc" 1)After the verb:a place for...ing 2)After the noun: Bx_list cemetery monas ...
分类:
其他好文 时间:
2019-10-04 23:14:21
阅读次数:
106
http://acm.hdu.edu.cn/showproblem.php?pid=1496参考:https://www.cnblogs.com/lzsz1212/archive/2012/04/11/2441686.html 解析 数据很大,暴力可能超时 分成两组去碰(hash思想?没搞明白) - ...
分类:
其他好文 时间:
2019-10-04 20:37:59
阅读次数:
73
title: 关于Apache本地能访问外网不能访问的问题 date: 2018 08 05 19:22:12 tags: web 在配置apache和tomcat时,把它们都配置好,放到服务器中发现外网不能访问 解决: I,可能是防火墙限制了。 1,首先启动Apache,在本地打开浏览器访问指定路 ...
分类:
Web程序 时间:
2019-10-04 19:21:22
阅读次数:
113