This file contains hidden or 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 hidden or 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
| KcpTun客户端程序下载: | |
| https://github.com/xtaci/kcptun/releases | |
| https://github.com/kuoruan/shell-scripts |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| sudo apt-get update | |
| sudo apt-get install git vim wget psmisc python-pip -y | |
| wget --no-check-certificate https://github.com/shadowsocks/shadowsocks-rust/releases/download/v1.7.2/shadowsocks-v1.7.2-stable.x86_64-unknown-linux-musl.tar.xz | |
| tar -Jxf shadowsocks-v1.7.2-stable.x86_64-unknown-linux-musl.tar.xz | |
| cp ssserver /usr/local/bin/ | |
| cat <<EOF >/usr/lib/systemd/system/shadowsocks.service |
This file contains hidden or 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 hidden or 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 hidden or 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/ |
OlderNewer