自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 linux 获取程序运行的运行路径

char * CMainServer::get_exe_path( char * buf, int count){    int i;    int rslt = readlink("/proc/self/exe", buf, count - 1);    if (rslt = count - 1))    {        return NULL;    }   

2014-02-27 16:18:13 757

原创 range断点续传

Client request:Server通过请求头中的Range: bytes=0-xxxserver response : Content-Range:  bytes  0-100/2350

2014-02-18 17:31:30 631

转载 wget gzip

Apache启用gzip/deflate或者Nginx启用gzip之后用wget测试的话需要加上--header="accept-encoding:gzip"用curl则加上--compressed浪费了20分钟在这选项上,milk关于gzip和deflate有两篇文章(1和2), 作者应该是一个人,明显是从1毛跳去了性浪..

2014-02-13 16:00:38 1306

原创 linux 简单的下载down

#include #include #include #include #include #include #include #include #include #include #include #include #include int main ( int argc, char *argv[] ){int sockfd;st

2014-02-13 11:07:13 761

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除