上一页 1 ··· 4 5 6 7 8
摘要: 转载自:https://blog.csdn.net/zhou_xiaomiao/article/details/53185712 阅读全文
posted @ 2020-01-06 16:16 xuecl 阅读(249) 评论(0) 推荐(0) 编辑
摘要: Git仓库的三大区域:工作区、暂存区、版本区 git remote -v ,命令可以查看本地仓库所关联的远程仓库信息,克隆远程仓库到本地时,还可以使用 -o 选项修改主机名,在地址后面加上一个字段作为本地仓库的主目录名 git init ,将当前目录变成git仓库 git status ,查看整个仓 阅读全文
posted @ 2020-01-06 16:10 xuecl 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 创建项目 django-admin startproject 项目名 创建应用 python manage.py startapp 应用名 生成迁移文件 python manage.py makemigrations 执行迁移(生成关系型数据库的数据表) python manage.py migra 阅读全文
posted @ 2020-01-04 21:38 xuecl 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 引言 在一台PC开发多个项目,有些项目依赖的环境可能会有冲突(比如:一个项目需要某包的1.0版本,另一个项目需要该包的2.0版本,1.0与2.0不能共存),根据项目需要来回安装卸载很麻烦,这时就可以使用虚拟环境来解决这个问题。 虚拟环境(位于/home/.virtualenvs) 安装 sudo p 阅读全文
posted @ 2020-01-04 14:05 xuecl 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 using namespace std; 3 4 int ans=0; 5 const int N = 8; 6 int a[N][N]={0}; 7 8 void show(){ 9 cout<<"answer:"<<ans<<endl; 10 fo 阅读全文
posted @ 2019-06-30 21:17 xuecl 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 方法一:把光标放在待查函数上,按ctrl+b 方法二:按住ctrl,鼠标点击待查函数 阅读全文
posted @ 2019-05-10 15:32 xuecl 阅读(5135) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8