这3工具都必须安装. 但是安装之后, 规则冲突又让人头疼. 讲下解决方案吧. 从0开始 1. 禁止插件, 如下图 2. 清空用户设置 (Code– 首选项– 设置– [右上角可以打开json,左侧切换“用户|工作区”]) 全部删除. 我只留了这一句 "window.zoomLevel": 1, vu ...
分类:
其他好文 时间:
2019-12-17 18:02:06
阅读次数:
695
有的时候报错的会把偏移量直接报错给我们,我就需要根据偏移量定位我们的错误。 比如他报错偏移量1009. 做搜索(按Ctrl + ?F) 选择Regular expressions并确保有. matches new line选中 输入搜索框下面的模式:(?<=^.{1009})(.{6}) 说明: ( ...
分类:
其他好文 时间:
2019-12-16 13:18:26
阅读次数:
200
方法名描述 cursor.snapshot() cursor.itcount() cursor.batchSize() cursor.pretty() cursor.hint() cursor.min() cursor.sort() cursor.forEach() cursor.limit() c ...
分类:
数据库 时间:
2019-12-15 16:52:48
阅读次数:
123
原文:CentOS 7 中 hostnamectl 的使用 hostnamectl... ...
分类:
其他好文 时间:
2019-12-14 10:07:54
阅读次数:
66
一、git的本地操作 1、git的基本原理 解析:workspace是工作区,index是暂存区,local repository是本地仓库,remote repository是远程区。 a、增加代码之后,会将新增的代码保存在index区域,然后commit之后上传到本地仓库local reposi ...
分类:
其他好文 时间:
2019-12-13 21:47:32
阅读次数:
85
一 .系统安装 基于CentOS-7-x86_64-Minimal-1708.iso安装系统 1.2、 配置系统 1.2.1 在线更新内核版本(建议更新,旧版内核会有docker BUG) 1.2.1.1 导入ELRepo软件仓库的公共秘钥,安装ELRepo软件仓库的yum源。 rpm --impo ...
分类:
系统相关 时间:
2019-12-12 18:14:21
阅读次数:
107
第一步: 删除该app名字下的migrations文件。 第二步: 进入数据库,找到django_migrations的表,删除该app名字的所有记录。 delete from django_migrations; 第三步: python manage.py makemigrations pytho ...
分类:
移动开发 时间:
2019-12-12 01:37:52
阅读次数:
101
Django2.1集成xadmin管理后台所遇到的错误集锦,解决填坑 django默认是有一个admin的后台管理模块,但是丑,功能也不齐全,但是大神给我们已经集成好了xadmin后台,我们拿来用即可,但是呢,django已经升级到2.1版本了,xadmin貌似跟不上节奏,那么在集成过程中咱就一步一 ...
分类:
其他好文 时间:
2019-12-11 21:14:17
阅读次数:
288
root@vmuer-VirtualBox:/opt/myProject# git log --pretty=oneline0169b7a1c4bccb47e76711f353fd8d3864bde912 (HEAD -> master) add c.cda744be647e398abac90d87 ...
分类:
其他好文 时间:
2019-12-09 21:40:59
阅读次数:
109
【Purpose】 Learning linux command lynx 【Eevironment】 Ubuntu 16.04 terminal apt-get install lynxusage assic to strage web contentexample: root@vmuer-Vir ...
分类:
系统相关 时间:
2019-12-09 21:21:44
阅读次数:
99