答: 改变仓库的地址(<source code dir>/.git/config中的[remote "origin"]),如: .git/config中的[remote "origin"]如下: [remote "origin"] url= git://git.kernel.org/pub/scm/ ...
分类:
其他好文 时间:
2020-03-27 16:53:52
阅读次数:
166
安装数据库,创建组时有报错,groupadd oinstall configuration error – unknown item ‘umask’ (notify administrator) 发现/etc/login.defs下面有个UMASK是小写的,改为大写就OK。 ...
分类:
其他好文 时间:
2020-03-27 16:53:16
阅读次数:
458
os.walk() 模块os中的walk()函数可以遍历文件夹下所有的文件。 os.walk(top, topdown=Ture, onerror=None, followlinks=False) 该函数可以得到一个三元元组 tupple(dirpath, dirnames, filenames). ...
分类:
其他好文 时间:
2020-03-27 16:52:25
阅读次数:
120
在myeclipse根目录打开myeclipse.ini文件 在最下面加入: -Dgenuitec.honorDevMode=true -Dosgi.dev=true ...
分类:
系统相关 时间:
2020-03-27 15:39:40
阅读次数:
120
Spring Boot 优点 Spring Boot 自动配置 Spring Boot 国际化配置 Spring Boot 视图解析器配置 Spring Boot 指定日期格式 Spring Boot 拦截器配置 Spring Boot 获取配置文件的值 Spring Boot 配置文件加载位置 S ...
分类:
编程语言 时间:
2020-03-27 13:02:59
阅读次数:
71
find / -name a.txt : 从根目录下全局搜索a.txt文件 grep “error” test.log :从test.log中过滤出包含error的文本行 grep -A 10 "error" test.log :过滤制定数据,并展示后10行 grep -B 10 "error" t ...
分类:
系统相关 时间:
2020-03-27 12:58:44
阅读次数:
396
1. ERROR Error: Cannot find module 'escape-string-regexp' ...
分类:
其他好文 时间:
2020-03-27 12:28:39
阅读次数:
52
74. throw 和 throws 的区别? throw:是真实抛出一个异常。 throws:是声明可能会抛出一个异常。 75. final、finally、finalize 有什么区别? final:是修饰符,如果修饰类,此类不能被继承;如果修饰方法和变量,则表示此方法和此变量不能在被改变,只能 ...
分类:
编程语言 时间:
2020-03-27 12:26:13
阅读次数:
60
[toc] 定义 + 一个队列 + 列表内的个体称为元素,由若干元素items组成列表 + 元素可以为任意对象(数字、字符串、对象、列表等) + 列表内元素有顺序,可使用索引 + 线性的数据结构 + 使用 表示 + 列表式可变的,可增加、减少 列表索引访问 + 索引也叫下标 + 正索引从左至右,从0 ...
分类:
其他好文 时间:
2020-03-27 09:12:49
阅读次数:
90
cannot find module 'npmlog' - after updated npm Thanks for the answers. It was a bug and it has already been fixed in Node v5.4.1. Now it's working as ...
分类:
其他好文 时间:
2020-03-27 00:49:15
阅读次数:
58