摘要: 软件包: 示例: 阅读全文
posted @ 2019-12-05 13:59 范辉 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 写在 .bashrc 或 .zshrc 等文件中: 阅读全文
posted @ 2019-12-04 20:54 范辉 阅读(700) 评论(0) 推荐(0) 编辑
摘要: 创建步骤: 开机自启: 阅读全文
posted @ 2019-10-02 06:25 范辉 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 安装 app-portage/gentoolkit 使用如下方式,可查询某个被包安装的文件列表,可以筛选文件类型 emerge -c 之后,执行一下 revdep-rebuild 修复潜在的依赖损坏 全局 USE 标志含义写在 /usr/portage/profiles/use.desc 文件中 局 阅读全文
posted @ 2019-04-17 16:29 范辉 阅读(196) 评论(0) 推荐(0) 编辑
摘要: sudo apt remove plymouth sudo sed -i 's/ splash//g' /etc/default/grub sudo update-grub 阅读全文
posted @ 2019-04-07 11:26 范辉 阅读(345) 评论(0) 推荐(0) 编辑
摘要: fabric && cita 调研 __总结__ 若计划完全依赖上游的基础功能而不做任何改造,建议选择 fabric;否则,应选择 cita,针对自身业务场景进行持续优化。 一、功能 1、__可扩展性__ [ ] fabric [x] cita 2、__是否支持账户模型__ [ ] fabric [ 阅读全文
posted @ 2018-11-28 08:49 范辉 阅读(1211) 评论(0) 推荐(0) 编辑
摘要: 适用环境 vim + YouCompleteMe 1. 使用 github 源,不能使用 ustc 源 2. 所有 Cargo.toml 中的库版本号全部改为精确的细版本号,不能是粗略的大版本号 3. 所有 Cargo.toml 中的非官方托管库,均改为 { path = "/PATH/TO/LIB 阅读全文
posted @ 2018-11-24 12:12 范辉 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 基本使用 阅读全文
posted @ 2018-11-13 17:57 范辉 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 如下等同于安装 xfce4 meta,除了不安装 app finder 阅读全文
posted @ 2018-11-03 23:42 范辉 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 下载 stage3 amd64 systemd xxxxxxxx.tar.bz2 /etc/portage/make.conf 0 台式机,有线网络 OS:Gentoo CPU:Intel Haswell i7 /etc/portage/make.conf 1 MacBook Pro,无线网络 OS 阅读全文
posted @ 2018-10-28 12:50 范辉 阅读(661) 评论(0) 推荐(0) 编辑
摘要: app portage/pfl contains a program to search in an online database for a Gentoo package containing a particular file. 安装 pfl 之后使用 e file 命令查找包含缺失的文件的软 阅读全文
posted @ 2018-10-27 20:18 范辉 阅读(708) 评论(0) 推荐(0) 编辑
摘要: 安装之后,使用 nm connetion editor 编辑连接信息; 之使 systemctl retart NetworkManager; 之后使用 nmcli conn up $CONNECT_NAME 启动。 其它参考: https://major.io/2016/05/03/802 1x 阅读全文
posted @ 2018-10-11 09:36 范辉 阅读(695) 评论(0) 推荐(0) 编辑
摘要: ~/.vimrc 1 " 通用配置 2 set encoding=utf-8 3 4 set statusline=%F%=[Line:%l/%L,Column:%c] "显示文件名、行数 5 "set statusline=[%F]%r%m%*%=[Line:%l/%L,Column:%c][%p 阅读全文
posted @ 2018-06-16 09:24 范辉 阅读(675) 评论(0) 推荐(0) 编辑
摘要: http://mirrors.ustc.edu.cn/help/ Rust Crates 源使用帮助 地址 https://mirrors.ustc.edu.cn/crates.io-index/ 说明 Rust Crates Registry 源 使用说明 在 $HOME/.cargo/confi 阅读全文
posted @ 2018-06-13 17:58 范辉 阅读(1118) 评论(0) 推荐(0) 编辑
摘要:   本文是对 Raft Paper 核心部分的意译,不包括原文中的如下章节:、、、、 等,并且省略了多处学术论文的例行套话,力求言简意骇,突出重点。   为求简明,本文中提到的“日志”均指“可复制日志”,“状态机”均指“可复制状态机”。  &emsp 阅读全文
posted @ 2018-05-30 17:11 范辉 阅读(275) 评论(0) 推荐(0) 编辑