上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 77 下一页
摘要: 答:git format-patch <base commit id>..<latest commit id> 如git log输出以下内容: commit 2222222 yes commit 11111111 no commit 0000000 yesorno 那么base commit id= 阅读全文
posted @ 2019-03-12 19:13 Jello 阅读(4565) 评论(0) 推荐(0)
摘要: 答:默认为蓝色,在黑色背景下无法看清楚,因此以以下方法修改; 1.往~/.bash_profile文件中添加以下内容: 嫌麻烦就用以下命令直接写入~/.bash_profile文件中: echo "export LS_COLORS='no=00:fi=00:di=01;33:ln=01;36:pi= 阅读全文
posted @ 2019-03-12 18:15 Jello 阅读(556) 评论(0) 推荐(0)
摘要: 答: 1.获取配色方案 git clone git://github.com/altercation/vim-colors-solarized.git ~/.vim/bundle/vim-colors-solarized (wget https://github.com/altercation/vi 阅读全文
posted @ 2019-03-12 17:25 Jello 阅读(437) 评论(0) 推荐(0)
摘要: 答:grep "jello$" 如:git branch输出以下内容: yes-jello-good yes-jellos yes-jello 那么使用以下命令只能过滤出一行: $git branch | grep "jello$" yes-jello 阅读全文
posted @ 2019-03-12 15:28 Jello 阅读(9778) 评论(0) 推荐(0)
摘要: 答:m2cgen 仓库地址: https://github.com/BayesWitnesses/m2cgen 阅读全文
posted @ 2019-03-11 16:37 Jello 阅读(292) 评论(0) 推荐(0)
摘要: 一.环境介绍 OS:ubuntu bionic 64bit 二.准备工作 2.1 安装必要的开发工具 sudo apt-get install git flex bison build-essential gcc-arm-linux-gnueabi gcc-aarch64-linux-gnu pkg 阅读全文
posted @ 2019-03-10 19:00 Jello 阅读(1962) 评论(1) 推荐(0)
摘要: 1. 分析的linux内核源码版本为4.18.0 2. 与slub相关的内核配置项为CONFIG_SLUB 3. 一切都从一个结构体数组kmalloc_caches开始,它的原型如下: 3.1 这个数组定义在mm/slab_common.c中 3.2 KMALLOC_SHIFT_HIGH是如何定义的 阅读全文
posted @ 2019-03-08 18:29 Jello 阅读(1891) 评论(0) 推荐(0)
摘要: 答:关掉LAN settings中的Automatically detect settings选项和Use automatic configuration script选项,如下图 阅读全文
posted @ 2019-03-08 10:32 Jello 阅读(854) 评论(0) 推荐(0)
摘要: 答: 安装更高版本的clang库(以下是ubuntu18.04下的操作命令,要求clang的版本大于等于7.0,否则就没有clang库中无clang_getCompletionFixIt接口) sudo apt-get install clang-7 sudo update-alternatives 阅读全文
posted @ 2019-03-07 18:35 Jello 阅读(1604) 评论(0) 推荐(0)
摘要: 答:进入YouCompleteMe的安装目录安装一些必要的依赖 比如:笔者将YouCompleteMe安装到了~/.vim/bundle目录下,那么执行以下操作: cd ~/.vim/bundle/YouCompleteMe ./install.py --clang-completer --syst 阅读全文
posted @ 2019-03-07 18:13 Jello 阅读(7596) 评论(0) 推荐(0)
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 77 下一页