02 2019 档案

批量删除特定文件脚本
摘要:代码上传或者转移时,本地生成的临时文件每次都要手动删除耗时耗力,写个bat批量删除 阅读全文

posted @ 2019-02-25 19:25 lijianbo 阅读(340) 评论(0) 推荐(0)

linux 服务脚本
摘要:1 #!/bin/bash 2 # 3 # chkconfig: 2345 58 74 4 # description: my_SERVICE_NAME is a my Service 5 # 6 7 # common function 8 . /etc/init.d/functions 9 10 # service bash flag 11 IVMS... 阅读全文

posted @ 2019-02-21 14:16 lijianbo 阅读(254) 评论(0) 推荐(0)

linux通用makefile文件
摘要:1 OUTPUT_DLL := libmy.so 2 LIBS :=-L../public/lib/x64/linux -lzookeeper_mt -lcurl \ 3 -lfreetype -lopencv_core -lopencv_highgui -lopencv_imgproc \ 4 -lsqlite3 -locilib \ 5 ... 阅读全文

posted @ 2019-02-19 14:43 lijianbo 阅读(197) 评论(0) 推荐(0)

跨平台宏定义
摘要:1.跨平台动态库头文件定义 使用,函数声明 MY_EXTERN int MY_API MY_Init(); 函数定义 2.跨平台配置 阅读全文

posted @ 2019-02-19 14:37 lijianbo 阅读(1203) 评论(0) 推荐(0)

libuv httpparser写的简单http server
摘要:#include <stdio.h>#include <stdlib.h>#include <assert.h> #include "uv.h"#include "http_parser.h" struct header{ char field[1024]; char value[1024];};t 阅读全文

posted @ 2019-02-15 11:15 lijianbo 阅读(3905) 评论(0) 推荐(2)

导航