05 2015 档案

docker
摘要:启动服务1 sudo docker -d -H unix:///var/run/docker.sock 阅读全文

posted @ 2015-05-06 23:59 Stomach_ache 阅读(113) 评论(0) 推荐(0)

Bash新技能
摘要:1. 输出数组全部元素1 echo ${array_name[@]}2. 输出数组长度1 echo ${#array_name[@]} #获得数组长度2 3 echo ${#string_name} #获得字符串长度3. 数组切片1 echo ${array_name[@]:2:3} #取下标从2开... 阅读全文

posted @ 2015-05-06 16:53 Stomach_ache 阅读(134) 评论(0) 推荐(0)

C++和G++手工开栈的=_=
摘要:微软的编译器(C++)#pragma comment(linker, "/STACK:102400000,102400000") G++ int size = 256 << 20; // 256MB char *p = (char*)malloc(size) + size; __... 阅读全文

posted @ 2015-05-05 23:11 Stomach_ache 阅读(848) 评论(0) 推荐(0)

导航