10 2016 档案
摘要:Git push origin master报错 fatal: could not read Username for 'https://github.com': No such file or directo 原因使用https方式的时候 在git remote add origin 的https
阅读全文
摘要:转自:http://blog.sina.com.cn/s/blog_610997850100mwv8.html 今天碰到个问题要用phpmyadmin导入1G的数据,但是在怎么都导入不了,用命令行就可以轻松搞定了。用mysql source命令可以导入比较大的文件。第一种:mysql>use dbt
阅读全文
摘要:curl命令可以用来构造http请求。参数有很多,常用的参数如下: 通用语法:curl [option] [URL...]在处理URL时其支持类型于SHELL的名称扩展功能,如http://www.jbxue.com/archive[1996-1999]/vol[1-4]/part{a,b,c}.h
阅读全文
摘要:Robots.txt - 禁止爬虫 robots.txt用于禁止网络爬虫访问网站指定目录。robots.txt的格式采用面向行的语法:空行、注释行(以#打头)、规则行。规则行的格式为:Field: value。常见的规则行:User-Agent、Disallow、Allow行。 User-Agent
阅读全文