Loading

上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 若cat可正常显示中文而vim不可,是由于vimrc中未配置编码所致。 vim /etc/vim/vimrc set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936 set termencoding=utf-8 set encoding=ut 阅读全文
posted @ 2020-11-25 23:06 dylanchu 阅读(711) 评论(0) 推荐(0) 编辑
摘要: 使用git的sparse-checkout. 步骤如下: mkdir my-prj && cd my-prj git init git remote add -f origin http://oauth2:your-token-here@your-git-repo-path.git # 获取远程仓库 阅读全文
posted @ 2020-11-22 23:42 dylanchu 阅读(744) 评论(0) 推荐(0) 编辑
摘要: 文件被占用导致git更新失败 关闭文件然后git clean -df清理工作空间再更新即可。 阅读全文
posted @ 2020-11-13 18:01 dylanchu 阅读(92) 评论(0) 推荐(0) 编辑
摘要: git更新后有时会提示没更改的文件为更改状态,尝试checkout这些文件还是会报: Encountered 2 file(s) that should have been pointers, but weren't...... 和attributes文件中关于git-lfs的内容有关。 git r 阅读全文
posted @ 2020-11-13 17:59 dylanchu 阅读(12294) 评论(0) 推荐(1) 编辑
摘要: xfce4-windowck-plugin样式比较丑,panel调节为透明时这个插件不能透明,而且xfce从gtk2升级到gtk3之后还出现了一些导致崩溃的bug.我虽然给它贡献过部分代码但还是想换掉它,各种搜索无果之后,今天偶然了解到appmenu-gtk-common和wmctrl.前者是全局菜 阅读全文
posted @ 2020-11-01 13:44 dylanchu 阅读(203) 评论(0) 推荐(0) 编辑
摘要: git pull或merge产生冲突时需要手动解决冲突,使用BeyondCompare可以较方便地完成该项工作。WSL下git配置如下: $ cat ~/.gitconfig [i18n] logoutputencoding = utf-8 [user] email = chudongyu@corp 阅读全文
posted @ 2020-08-20 09:40 dylanchu 阅读(518) 评论(0) 推荐(1) 编辑
摘要: 直接添加即可: 下图所示的三个快捷键是同时起作用的快捷键(而不是让你选一个生效) 阅读全文
posted @ 2020-07-31 20:14 dylanchu 阅读(205) 评论(0) 推荐(0) 编辑
摘要: { "$schema": "https://aka.ms/terminal-profiles-schema", "alwaysShowTabs" : true, "defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "initial 阅读全文
posted @ 2020-07-21 18:42 dylanchu 阅读(1173) 评论(0) 推荐(0) 编辑
摘要: with docker-compose Dockerfile: FROM ubuntu:18.04 MAINTAINER chudongyu <chudongyu#126.com> ENV TZ=Asia/Shanghai # host也是Ubuntu1804,可以直接配置镜像源为host的源 CO 阅读全文
posted @ 2020-05-31 00:14 dylanchu 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 目前很多虚拟机软件和模拟器和Hyper-V冲突,不能同时开启,而且为了提高性能需要开启VT-x,但直接在BIOS中开启还不够,需要按如下步骤确认: 需要在BIOS设置启用; 在Windows功能中确认“Hyper-V”已关闭; 确认“虚拟机平台”已关闭; 确认“Windows 虚拟机监控程序平台”已 阅读全文
posted @ 2020-05-12 22:37 dylanchu 阅读(2959) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页