- 博客(11)
- 收藏
- 关注
转载 WIN7 visual studio 序列号 试用期过期升级方法
教程链接http://blog.sina.com.cn/s/blog_68b97eed0101b8s4.html控制面板中的添加删除程序,选择VS2008,点击“更改/删除“按钮在维护模式下没有序列号输入框利用CrackVS2008ForWindows7.zip显示输入框下载地址http://vdisk.weibo.com/s/dEdv0UziX4YJi注意杀毒软件会报
2016-09-30 10:29:29 776
原创 ubuntu pycharm安装(.sh文件安装)与配置
sudo sh *.sheg: sudo sh /home/neilzhang/pycharm/bin/pycharm.sh
2016-09-03 23:43:04 8606 1
原创 ubuntu 14.04LTS 国内更新源
备份源列表:sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup打开源文档sudo gedit /etc/apt/sources.list 下面内容全部替换原文档deb http://ftp.sjtu.edu.cn/ubuntu/ trusty main multiverse restricted univ
2016-09-03 23:13:42 922
原创 ubuntu 14.04 安装fcitx以及搜狗拼音输入法
程序“fcitx”尚未安装。 您可以使用以下命令安装:sudo apt-get install fcitx-binneilzhang@neilzhang-Y400:~$ sudo apt-get install fcitx正在读取软件包列表... 完成正在分析软件包的依赖关系树 正在读取状态信息... 完成 您可能需要运行“apt-get -f in
2016-09-03 22:58:45 18586
转载 安装mysql(windows&ubuntu)
教程来源下载mysql安装包之后,解压不同版本有两种情况,一种是直接install另外一种是不用install的,比如我下的mysql-5.6.32-win32,也是教程的内容注意在教程第五步:安装mysql 执行命令mysql –install错了,应该是mysqld –install然后按教程走就可以了(以上为初次安装)另外文末介绍一种sql
2016-09-03 20:01:44 446
原创 ubuntu 下载工具uget+aria2
教程sudo add-apt-repository ppa:t-tujikawa/ppa && sudo add-apt-repository ppa:plushuang-tw/uget-stablesudo apt-get update && sudo apt-get install aria2 && sudo apt-get install ugetfirefox中添加Fl
2016-09-02 21:12:38 746
原创 Letcode 1.Two Sum
https://leetcode.com/problems/two-sum/1. Two SumTotal Accepted: 283732Total Submissions: 1092327Difficulty: EasyGiven an array of integers, return indices of the two number
2016-09-02 16:22:33 402
原创 爬虫07 爬取阿里旅行特价机票
https://sjipiao.alitrip.com/cheap_flight_search.htm?tripType=0&depCityName=&depCity=&arrCityName=&arrCity=&depDate=2016-09-04&range=30&searchGapDay=3通过填写出发地和到达地以及出发日期前后多少天,我们得到网址变化https://sjipiao.
2016-09-01 19:26:07 3847
原创 爬虫06 代码封装(以爬虫04为基础)
爬虫04的代码对于coder来说更易读些,但是对于面向对象而言还需进行封装,仅以此作为示范# -*- coding: utf-8 -*-import urllibimport urllib2import reclass QSBK: def __init__(self): self.page = 1 self.url = 'http://www
2016-09-01 17:11:41 292
原创 爬虫05 BeautifulSoup4初体验
# -*- coding: utf-8 -*-import sysreload(sys)sys.setdefaultencoding( "utf-8" )import urllibimport urllib2import refrom bs4 import BeautifulSouppage = 1url = 'http://www.qiushibaike.com/8hr/pag
2016-09-01 11:48:37 306
转载 解决UnicodeEncodeError: 'ascii' codec can't encode characters in position
将字符串写入文本时出现解决UnicodeEncodeError: 'ascii' codec can't encode characters in position解决办法:在开头加上import sysreload(sys)sys.setdefaultencoding( "utf-8" )
2016-09-01 11:47:05 8518
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人