
linux
yiranlun3
这个作者很懒,什么都没留下…
展开
-
linux 使用学习
$# 是传给脚本的参数个数 $0 是脚本本身的名字 $1 是传递给该shell脚本的第一个参数 $2 是传递给该shell脚本的第二个参数 $@ 是传给脚本的所有参数的列表 $* 是以一个单字符串显示所有向脚本传递的参数,与位置变量不同,参数可超过9个 $$ 是脚本运行的当前进程ID号 $? 是显示最后命令的退出状态,0表示没有错误,其他表示有错误原创 2014-06-23 17:24:25 · 534 阅读 · 0 评论 -
linux 下gtest 安装
cd gtest_dir mkdir mybuild # Create a directory to hold the build output. cd mybuild cmake ${GTEST_DIR} # Generate native build scripts. If you want to build Google Test's samples原创 2014-08-05 18:41:07 · 921 阅读 · 0 评论 -
ubuntu查看端口对应的进程
netstat -a | gerp lsof -i:port kill -原创 2014-08-20 19:06:23 · 1635 阅读 · 0 评论 -
ubuntu opencv ffmpeg
下载,解压 ./configure --enable-shared --prefix=/usr/local/ffmpeg原创 2014-07-09 12:52:38 · 724 阅读 · 0 评论 -
序列化 opencv :: Mat
//cvmat_serialization.h #include #include using namespace cv; BOOST_SERIALIZATION_SPLIT_FREE(::cv::Mat) namespace boost { namespace serialization { /** Serialization support for cv::Mat */翻译 2014-09-12 19:53:16 · 3623 阅读 · 0 评论 -
ssh
ssh-copy-id 后依然不能免密码登陆 执行命令ssh-add即可原创 2015-04-17 22:23:36 · 367 阅读 · 0 评论