• vim下调整splited窗口大小

    设置高度 :resize 60 设置宽度 :vertical resize 1000 调整高度 :resize +10 :resize -10 快捷调整 Ctrl-w + 和 Ctrl-w - 可以快速调整窗口高度. Ctrl-w > 和 Ctrl-w < 可以快速调整窗口宽度. 10 Ctrl-w + 可以一次增加10行的高度. Ctrl-w...

  • 今日单词

    mandatory /ˈmændətərɪ; US -tɔːrɪ; `mændəˌtɔrɪ/ adj required by law; compulsory; 依法的;法定的;强制性的 a mandatory payment Attendance is mandatory at all meetings.

  • 今日单词

    incarnation /ˌɪnkɑːˈneɪʃn; ˌɪnkɑr`neʃən/ n [C] person that prominently displays a particular quality (突出表现某种品质的)典型人物,化身 She is the very incarnation of goodness. n [C,U] (instance of) being alive in human form 化身...

  • Makefile 中四种变量赋值的不同

    http://stackoverflow.com/questions/448910/makefile-variable-assignment Lazy Set VARIABLE = value 当变量被用到的时候, 会递归的展开 Imeediate Set VARIABLE := value 变量在申明的时候马上执行 Set If Absent VARIABLE ?= value 变量不存在的时候才赋值(也是lazy set) Append VARIABLE += value 把value添加到已存在的变量后(如果变量不存在, 把value赋值给这个变量)

  • 今日单词

    obscurity This is an obscurity that catches the unwary. /əbˈskjʊərətɪ; əb`skjᴜrətɪ/ n U state of being obscure 不明;费解;隐晦;无闻 content to live in obscurity n C thing that is obscure or...

  • 规则长什么样子

    https://www.gnu.org/software/make/manual/html_node/Rule-Introduction.html 一个简单的makefile包含下面这样的一个或者多个规则 target … : prerequisites … recipe … … A target is usually the name of a file that is generated by a program; examples of targets are executable...

  • Makefile 简介

    https://www.gnu.org/software/make/manual/html_node/Introduction.html make需要一个Makefile, Makefile告诉make如何编译和链接. 这章会讨论一个简单的makefile, 描述了如何编译和链接一个文本编辑器程序,此程序由8个C文件和3个头文件组成. make重新编译程序的时候, 会保证每一个有新变化的C文件被重新编译, 如果头文件有变动, 每个包含这个头文件的C文件也需要重新编译. 每个编译会生成一个对象文件, 然后再把所有对象文件链接生成新的可执行程序. 规则简介 规则长什么样子 简单的makefile文件 make如何工作 make是如何解析和执行makefile的 使用变量 变量让makefile更简单 make中的推断 让make推断recipe(怎么翻译?) 先决条件的组合 另一个风格的makefile 清理 清理目录的规则

  • 今日单词

    recipe |ˈresəpi| n ~ (for sth) set of instructions for preparing food dish, including ingredients required. 烹饪法;食谱 [做定语] recipe books, cards ~ for sth (fig 比喻) method of achieving sth...

  • how to write go code

    看了https://golang.org/doc/code.html, 觉得主要是讲了关于golang的Lib组织形式, 简单记录一下. 简介 本文描述了获取,构造和安装Go包以及Go工具的标准方法. go tool(就是go这个命令, 下面包含build run等命令)需要把你的代码按一定的格式组织起来. 代码组织 概述 一般来说, 所有的Go代码都放在一个单独的workspace 一个workspace包含多个版本控制仓库 每个仓库里面包括一个或者多个packages 一个package包含一个或者多个Go源代码, 这些源代码需要在一个单独的目录下面 package的路径决定了它的import path Workspaces 一个workspace是这样一个目录结构, 包括下面三个子目录: src 包含Go的源码 pkg 包含packagecfqj bin 包含可执行命令 go tool会build源码,...

  • 今日单词

    idiomatic See Effective Go for tips on writing clear, idiomatic Go code. ˌɪdɪəˈmætɪk adj (a) in accordance with the particular nature or structure of a language, dialect, etc 符合某一语言或者方言的习惯或者特点的 She...