- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 python 发送邮件
import smtplibfrom email.mime.text import MIMETextfrom email.header import Header# 第三方 SMTP 服务mail_host="smtp.qq.com" #设置服务器mail_user="[email protected]" #用户名mail_pass="###" #口令ihwomefiv
2017-05-26 16:21:58 367
转载 代理服务 squid 隐藏真实ip
Squid Proxy Hide System’s Real IP AddressPosted onFebruary 19, 2009in CategoriesLinux, Networking, Security, Squid, Troubleshooting, UNIXlast updated January 17, 2016My squid proxy serve
2017-05-12 08:51:31 5202
原创 Python Scrapy框架
1.scrapy常用命令startproject :创建一个新的项目genspider:根据模板生成一个新的爬虫crawl:执行爬虫shell:启动交互式抓取控制台2.scrapy 生成的文件结构items.py:文件定义了待抓取域的模型settings.py:定义了一些设置,如用户代理和爬取延时等spiders/:目录存储实际的爬虫代码3.创建步骤
2017-05-07 21:49:03 351
原创 ubuntu16.04 切换 python 版本
系统默认安装 python2.7 和 python3.5版本 ,默认使用2.7版本当你需要使用python3.5 版本时 需操作执行命令ll /usr/bin/python会显示链接的内容,例如:lrwxrwxrwx 1 root root 7 4月 15 19:29 /usr/bin/python -> python3如果想更改的话就执行这条命令:
2017-05-06 11:17:03 1027
转载 linux 切换mac 地址
很多软件需要绑定MAC地址(例如:OpenCountry),有时候为了特殊需要,我们需要修改网卡的MAC地址。1、方法一: 使用命令临时修改:ifconfig eth0 downifconfig eth0 hw ether xx:xx:xx:xx:xx:xxifconfig eth0 up2、方法二: 只要我们保证启动network前现修改网卡的MAC地址,则能
2017-05-06 10:22:10 665
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人