前言 话说有一天,产品经理突然找到正在摸鱼的你。 产品:『我们要加一个聚合搜索功能,当用户在我们网站查询一件商品时,我们分别从 A、B、C 三个网站上查询这个信息,然后再把得到的结果返回给用户』 你:『哦,就是写个爬虫,从 3 个网站上抓取数据是吧?』 产品:『呸,爬虫是犯法的,这叫数据分析,怎么样 ...
分类:
编程语言 时间:
2020-02-18 23:21:10
阅读次数:
166
这里以百度首页为例,先写好xml文件以及Java文件 我的 news.xml文件 我的 WebViewActivity.java文件 1. net::ERR_NAME_NOT_RESOLVED 网上用很多种说法,直到我发现我报错的原因是: 没网络 因为,前几天我尝试通过应用跳转到浏览器,打开网页是可 ...
分类:
Web程序 时间:
2020-02-18 15:13:46
阅读次数:
268
在安装 react-app-rewired 并且进行了一些相关配置后,发现如果运行就会报 Cannot find module 'react-dev-utils/crossSpawn' 错误,这时候按网上说的删除了node_modules发现还是报错, 这时候删除了package-local.jso ...
分类:
其他好文 时间:
2020-02-18 13:12:43
阅读次数:
468
My OS: win10 Install method: jenkins.msi Problem: install gitlab hook failed. Problem description: cannot delete the target files/directory, and you c ...
分类:
其他好文 时间:
2020-02-18 09:57:06
阅读次数:
55
Administrator@PC201803221826 MINGW64 /f/BI/bi/二期/脚本 (master) $ mkdir ~/.ssh mkdir: cannot create directory ‘/c/Users/Administrator/.ssh’: File exi sts ...
分类:
其他好文 时间:
2020-02-17 17:54:19
阅读次数:
67
js 代码运行中插入交互 背景 最近突发奇想,如果能在 js 运行时插入用户操作,是否就可以看到每一步的状态了呢? 以冒泡排序为例,最终实现的效果是这样的: 思路 我们知道,如果代码中 await 一个 promise,那么这行代码需要等到 promise 状态为 resolved 时才能向下继续执 ...
分类:
Web程序 时间:
2020-02-17 17:51:36
阅读次数:
84
shell-init: error retrieving current directory: getcwd: cannot access parent directories: 没有那个文件或目录chdir: error retrieving current directory: getcwd: ...
分类:
数据库 时间:
2020-02-17 15:40:12
阅读次数:
105
拉取镜像 运行容器 报错 原因 : "官方文档" Ensure that /your/home is accessible by the jenkins user in container (jenkins user uid 1000) or use u some_other_user parame ...
分类:
其他好文 时间:
2020-02-15 09:54:54
阅读次数:
220
2020-02-14 恢复内容开始 "Test_leetcode - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler. Probably ...
分类:
编程语言 时间:
2020-02-14 20:24:53
阅读次数:
121
本文解决 Nginx 因库文件缺失而无法启动问题 没有采用缺失什么就安装什么的解决办法, 而是借助于另一个正常运行的Linux , 将其上的库文件发送给缺失库文件的 Linux 服务器 以 缺失 libharfbuzz.so.0 为例 , 其它库文件缺失 大同小异 前提摘要: 今天打开我的网址 ww ...
分类:
其他好文 时间:
2020-02-14 01:17:34
阅读次数:
105