- 博客(4)
- 资源 (21)
- 收藏
- 关注
转载 free 命令结果详解
来自 https://foofish.net/linux-command-free.html数据为自己在 Linux 上的测试。free 的结果如下:要完全理解上面3行数据,先搞明白buffer和cache是什么。buffer:缓冲区将数据缓冲下来,解决速度慢和快的交接问题;速度快的需要通过缓冲区将数据一点一点传给速度慢的区域。例如:从内存中将数据
2017-11-29 13:34:30 2665
原创 git bash配置ssh 登录 Linux
1、首先在 Linux 服务器上生成公钥和私钥文件,默认的存放目录在~/.ssh下。ssh-keygen可以将密码留空,这样之后就可以免密码登录。2、将私钥文件拷贝到本机。scp root@192.168.1.168:/root/.ssh/id_rsa ~/.ssh这里最好将私钥文件放在 ~/.ssh 目录下,不然在使用 ssh 登录时,需要使用 -i 来指定私钥文件。3、公钥文件需要添加到服务器...
2017-11-28 07:15:29 13050 1
转载 C++惯用法:奇特的递归模板模式
using namespace std;templatestruct Base{ void Interface() { cout <<"come from Interface"<<endl; // 转换为子类指针,编译期将绑定至子类方法 static_cast(this)->Implementation(); } static void Sta
2017-11-07 15:42:56 1460
原创 C++ 内存对齐
struct Align{ char a[9]; int b = 0x44; char c = 0x55; double d; char e = 0x66;};int main(){ std::cout << alignof(Align) << std::endl; std::cout << offsetof(A
2017-11-04 22:26:14 1170
tmux_for_git-bash.zip
2020-05-11
The Hacker’s Guide to Scaling Python
2018-05-25
Deep Learning with TensorFlow 第二版
2018-04-18
With Open AI, TensorFlow and Keras Using Python
2018-04-18
Discover the Mathematical Language of Data in Python
2018-04-18
Memory Dump Analysis Anthology, Volume 3 内存分析技术
2018-04-08
Memory Dump Analysis Anthology, Volume 5
2018-04-08
Memory Dump Analysis Anthology Volume 7
2018-04-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人