代码改变世界

阅读排行榜

普通命令

2016-04-24 08:01 by Miles.Yao, 290 阅读, 收藏,
摘要: 1. 删除文件夹及其中的文件 2. 安装程序 3. 卸载程序 首先查找到软件包的完整名字,然后做删除 4. 高级软件包管理 5. 设置命令别名 可以通过将设置别名的命令写进启动文件使别名持久生效。大多数Linux发行版使用下述三个启动文件中的一个:$HOME/.bash_profile$HOME/. 阅读全文

003: 基本类型-字符串类型

2015-12-29 21:37 by Miles.Yao, 281 阅读, 收藏,
摘要: 1)They can be enclosed in single quotes ('...') or double quotes ("...") with the same result. \ can be used to escape quotes 2)If you don’t want char 阅读全文

Git

2016-04-06 17:53 by Miles.Yao, 278 阅读, 收藏,
摘要: 1. 安装 sudo apt-get install git 2. 配置 因为Git是分布式版本控制系统,所以,每个机器都必须自报家门:你的名字和Email地址。 $ git config --global user.name Yourname $ git config --global user. 阅读全文

功能测试

2016-04-20 21:03 by Miles.Yao, 253 阅读, 收藏,
摘要: 常用的模块: 功能测试的类如果继承 django.test.LiveServerTestCase, 则将会实现测试之间的分离,测试的时候由manage.py test module_name(file_name) 触发,每次测试会生成全新的测试数据库 隐式等待: 当请求结束后,如果元素没有加载出来, 阅读全文

common sites

2016-04-24 10:41 by Miles.Yao, 248 阅读, 收藏,
摘要: 1. download pip: https://pip.pypa.io/en/latest/installing/ 2. apache https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications 阅读全文