最近在自学爬虫,一开始以为scrapy项目可以手动创建的,后来百度发现要想在pyCharm中创建scrapy项目,要在Terminal终端上写命令行。 1.先找到Terminal终端 2.在终端输入 :scrapy startproject mySpider 列表中出现 mySpider/ :项目的 ...
分类:
其他好文 时间:
2018-12-02 12:25:19
阅读次数:
192
sudo apt install compizconfig-settings-manager dconf reset -f /org/compiz/ setsid unity dconf list / cp /usr/share/applications/gnome-terminal.desktop... ...
分类:
其他好文 时间:
2018-12-01 11:12:45
阅读次数:
159
Mac上搭建Web服务器 开启Apache 开启Web服务器的方法有两种: 1. 打开“系统设置偏好(System Preferences)” “共享(Sharing)” “Web共享(Web Sharing)” 1. 通过在terminal终端直接运行Apache的启动命令来打开: 启动后,我们在 ...
分类:
Web程序 时间:
2018-11-30 15:46:24
阅读次数:
222
问题描述: 经常使用iterm进行命令操作,突然有一天发现切换到root用户时,怎么也输入不了e字母,然后悲催的连e开头的文件都打不开了,甚至从别处复制的带e字母的命令,文件都不能用,里面的e直接被吃掉,如果输入e电脑就噔的响警报 解决过程 1.在命令里输入26个字母发现除了e其他都没有问题,切换到 ...
分类:
系统相关 时间:
2018-11-30 11:42:46
阅读次数:
428
mac上安装Chromedriver注意事宜: 1.网上下载chromedriver文件或在百度网盘找chromedirver文件 2.将 chromedriver 放置到:/usr/local/bin/,操作如下: 打开Mac终端terminal : 进入 chromedirve文件所在目录,输入 ...
分类:
系统相关 时间:
2018-11-29 12:25:28
阅读次数:
513
先sudo启动gdbattach the_pid_num_you_want_to_attach //attach到你要调试的进程 info threads //查看当前要调试的程序含有哪些threadhelp info //如果不知道info这个命令怎么用。help info threads //如 ...
分类:
数据库 时间:
2018-11-27 16:50:40
阅读次数:
230
执行spark-shell报错: [ERROR] Terminal initialization failed; falling back to unsupportedjava.lang.NoClassDefFoundError: Could not initialize class scala.t ...
分类:
系统相关 时间:
2018-11-24 16:34:15
阅读次数:
413
Parameter indent decides the number of spaces to use for indentation. Parameter sort_keys decides whether the keys in formatted JSON should be in sort ...
分类:
编程语言 时间:
2018-11-24 11:32:00
阅读次数:
333
配置步骤及思路:一.配置pc机的ipPC-PT:ip:192.168.1.1子网掩码:255.255.255.0网关:192.168.1.254二.在路由器上配置网关和密码enable进入系统模式configuretermonal进入全局配置模式interfaceGig0/0进入接口模式ipaddress192.168.1.254255.255.255.0配置网关noshutdown激活端口(思科
分类:
其他好文 时间:
2018-11-23 18:38:54
阅读次数:
206
前期工作。安装node.js 配置全家变量 1:ctrl + shift + p 打开 输入intall package 回车 2:安装node.js 插件 3:再安装terminal 4:Preferences - package settings -- terminal -- setting\u ...
分类:
其他好文 时间:
2018-11-22 15:20:33
阅读次数:
1174