查看 svg 文件

使用 feh 命令 feh --magick-timeout 1 /mnt/speech/speech/assets/ico-录音.svg 也有说法是 --magick-timeout 在新版本被废弃了,使用 --conversion-timeout 参考: https://superuser...

linux 修改软连接

1. 修改软连接 ln –snf /opt/apps/redis-5.0.4 /usr/local/redis 注意: 源、目标文件/目录都不要在后面加”/”,重要的事情说三遍,原因自行度娘/Google 参考: https://www.jianshu.com/p/946b48a13a01

markdown 锚点, 分页,表格内换行

1. 目录 这个是自动生成的,只要在目录的地方添加 [TOC],就会自动生成目录 2. 标题锚点 这个是默认支持的,只要在想要跳转的地方这样写: [名称](#id) 其中的“名称”可以随便填写,“id”需要填写跳转到的标题的内容。 3. 自定义锚点,比如一个图表之类的。 现在图表这个地方创建锚...

ubuntu 18.04 英文环境安装 fcitx

1. sudo apt search fcitx sudo apt install fcitx-pinyin 2. 设置 bashrc vim ~/.bashrc export XMODIFIERS="@im=fcitx" 3. 右上角的 input methord 点击 configur...

ubuntu win10 按键互换

1. 我需要把 ubuntu 按键进行互换映射 原功能 目标功能 caps lctrl lctrl return return rctrl rctrl caps sudo vim /usr/share/X11/xkb/keycodes/evdev ...

v2ray 常用命令

1. 检查当前使用的配置文件的位置 systemctl status v2ray 参考: https://github.com/Jrohy/multi-v2ray/issues/406

grep 命令使用

排除某些文件夹 grep -rl 'search' ./ --exclude-dir={\environments,\cache} --exclude=*.{bak~,bak} 参考: https://blog.csdn.net/Liuboxx1/article/details/8533032...

ubuntu 使用 docker

今天先参照 https://www.jianshu.com/p/ddf7c0153644 这个里面的说明写了相应的配置文件,结果一启动容器就报错了。 Creating docker-test_mysql_1 ... Creating docker-test_mysql_1 ... error...

ubuntu 安装 docker

没有安装过 docker 的 ubuntu 安装 docker的步骤: $ sudo apt-get update $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ ...

ubuntu dos2unix

ubuntu 下没有 dos2unix,但是又类似的工具,tofrodos, 安装这个工具,使用两个命令: todos, fromdos 即可。 参考: https://www.jianshu.com/p/d5eb279de997