This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vi ~/.bashrc | |
修改.bashrc添加下面两行 | |
alias tmux='tmux -2' | |
export TERM="screen-256color" | |
source一下~/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__declspec(dllexport) int test(int len) | |
{ | |
return len; | |
} | |
//注意设置项目属性,编译win32的DLL | |
//注意也使用32位的Python安装包 | |
import ctypes | |
#dll = ctypes.windll.LoadLibrary('ConsoleApplication1') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.kernel.org/doc/gorman/html/understand/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://fossies.org/dox/i2c-tools-3.1.2/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
相同的colorschema,vim和gvim的颜色差距还是很大的,因为gvim使用X的颜色,而vim只能使用终端提供的颜色,所以造成了二者的显示差异。 | |
xterm开启256色 | |
现在的终端模拟器早就支持256色了,不过默认可能还是8色的。 | |
开启xterm终端,查看xterm终端支持的颜色 | |
命令: | |
$ tput colors | |
8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
实时编译汇编指令:https://gcc.godbolt.org/ | |
Kernel实时代码查看:http://elixir.free-electrons.com/linux/v4.14-rc6/source |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://code.csdn.net/chenyu105/linux_kernel_2-6-11-12_comment.git | |
git clone https://code.csdn.net/xiebaoyou/linux-4-3-0-comment.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows批处理(cmd/bat)常用命令小结 | |
前言 | |
批处理文件(batch file)包含一系列 DOS命令,通常用于自动执行重复性任务。用户只需双击批处理文件便可执行任务,而无需重复输入相同指令。 | |
编写批处理文件非常简单,但难点在于确保一切按顺序执行。编写严谨的批处理文件可以极大程度地节省时间,在应对重复性工作时尤其有效。 | |
在Windows中善用批处理可以简化很多重复工作 | |
阅读原文 - https://wsgzao.github.io/post/windows-batch/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
windows CMD命令大全及详细解释和语法 | |
引用: | |
http://letle.iteye.com/blog/169045 | |
http://www.cppblog.com/kyelin/archive/2007/04/21/22540.aspx | |
windows批处理程序中的特殊字符 | |
批处理介绍 | |
纯以dos系统而言,可执行程序大约可以细分为五类,依照执行优先级由高到低排列分别是: | |
DOSKEY宏命令(预先驻留内存) |
OlderNewer