| 2019-12-09Windows 文本文件到 Mac 中文乱码文本文件从 Windows 系统复制到 Mac 系统中文发生乱码,原因肯定是编码问题。 解决办法iconv | wikipedia 它的作用是在多种国际编码 ...
| 2019-12-03Git log 统计分析统计个人增删行数git config user.namegit log --author="zhaoyifan" --pretty=tformat: --numstat | awk ...
| 2019-12-02Git 批量修改历史 commit 中 user.email注意:此操作会修改 Git 历史记录,正式工作环境不允许。 查询都有什么: git log --format='%aN %aE' | sort -u 注:一个特殊情况如果 e ...
| 2019-11-25CentOS yum 升级 git 版本先去官网看看 Download for Linux and Unix: RHEL and derivatives typically ship older versions of git. You c ...
| 2019-11-22CRLF will be replaced by LFgit add .warning: CRLF will be replaced by LF in X. CRLF:windows 环境下的换行符 LF:linux 环境下的换行符 这个错误的意思 ...
code-snippet | 2019-08-08Vue Code SnippetStyle Guidehttps://cn.vuejs.org/v2/style-guide/ 重置 data 的数据为初始状态this.$data = { ...this.$data, ...
| 2019-07-17npx 入门使用今天在使用的 Gulp 时看到首页的一段命令: ...npx -p touch nodetouch gulpfile.js... npx 是个啥?决定一探究竟。 调用项目安装的模块npx 是 n ...
| 2019-06-11VSCode 使用经验编辑 settings.jsoncommand + , 右上角点击 打开设置。 // 通过整体放大窗口比例"window.zoomLevel": 1.1,// 字体"ed ...
| 2019-06-04Git 提交 message 规范commit message 应该清晰明了,说明本次提交的目的。基本公式: <type>(<scope>): <subject> 完整公式: <type ...
| 2019-05-25最左前缀原理与相关优化MySQL 中的索引可以以一定顺序引用多个列,这种索引叫做联合索引,一般的,一个联合索引是一个有序元组 <a1, a2, …, an>,其中各个元素均为数据表的一列。另外,单列索引可以看成 ...