自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 资源 (1)
  • 收藏
  • 关注

转载 Cstring中的 Find()、Mid()、Replace() 用法

1、  CString::Find    在一个较大的字符串中查找字符或子字符串 ,返回此CString对象中与需要的子字符串或字符匹配的第一个字符的从零开始的索引;如果没有找到子字符串或字符则返回-1。[cpp] view plain copyint Find( TCHAR ch ) const;     [cpp] v

2016-11-29 11:09:11 23528

转载 vc++调用exe时,如何获取exe的输出信息

最进在写一个程序,需要调用一个第三方的console程序,并获取其处理的结果,调用exe的方法有很多,可是如何调用了exe然后取到exe的输出信息就是个问题了,试了很多函数,好像都实现不了。百度了一下,找到篇文章:http://social.microsoft.com/Forums/id-ID/visualcpluszhchs/thread/70fc59b7-6e2d-44e2-9

2016-11-28 18:23:59 7447

转载 vc中调用其他应用程序的方法(函数) winexec,shellexecute ,createprocess

目前知道三种方式:WinExec,ShellExecute ,CreateProcess,别人已经总结的很好了《vc中调用其他应用程序的方法(函数) winexec,shellexecute ,createprocess》,我全文转载一下,另外后面加点自己的总结(黑体部分,除了标题)。三个SDK函数: WinExec,ShellExecute ,CreateProcess可以实现调用其他程

2016-11-28 18:19:24 6804

原创 ubuntu 防火墙使用

1. 安装防火墙sudo apt-get install ufw2. 启用防火墙sudo ufw enable3. 禁用防火墙sudo ufw disable4. 允许80端口sudo ufw allow 805. 禁止80端口sudo ufw delete allow 806. 允许指定IP访问sudo ufw allow from 192.168.1

2016-11-24 11:09:12 6740

原创 opencv resize函数

resize函数可以缩放任意通道的图像

2016-11-23 10:43:01 7195

原创 SGE集群常用操作

1. 登陆节点qlogin -l h=g0501

2016-11-23 10:10:23 8227

原创 SDL 崩溃问题

修改SDL_dibevents.c文件

2016-11-22 18:48:12 7004

原创 VS2010静态编译生成exe可执行文件

debug版1、项目->配置属性->常规->MFC的使用:在静态库中使用MFC2、项目 -> 配置属性->C/C++->代码生成->运行库 :选择 多线程调试(/MTd)  release版1.项目 -> 配置属性->常规->MFC的使用 :在静态库中使用MFC2.项目 -> 配置属性->C/C++->代码生成->运行库 :选择 多线程调试(/MT)

2016-11-22 17:35:30 8591

原创 应用程序无法正常启动0xc000007b错误

解决方法安装vcredist_x86_2010.exe 依赖运行库

2016-11-22 17:09:01 8825 1

原创 dlib安装

1. 下载dlib git clone https://github.com/davisking/dlib.git2.  编译安装dlibcd dlibmkdir build && cd build && cmake .. && make -j8sudo make install

2016-11-21 23:04:00 8420

原创 ubuntu mysql 安装和外网访问配置

1. sudo apt-get install mysql-server  2. 公网访问配置mysql -u root -puse mysql;所有主机能够访问GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'  IDENTIFIED BY 'you_password'  WITH GRANT OPTION;flush privil

2016-11-21 15:20:58 7564

原创 Training LeNet on MNIST with Caffe

1. 下载数据集cd $CAFFE_ROOT./data/mnist/get_mnist.sh./examples/mnist/create_mnist.shIf it complains that wget or gunzip are not installed, you need to install them respectively. After runnin

2016-11-21 14:54:33 6357

原创 The following signatures couldn't be verified because the public key is not available

安装第三方源:W: GPG error: http://ppa.launchpad.net precise  Release: The following signatures couldn't be verified because the public key is not available:  NO_PUBKEY 2EA8F35793D8809A解决方法:sudo

2016-11-21 14:43:54 9757 1

原创 TX1 安装 ROS Indigo

Ubuntu ARM install of ROS IndigoThere are currently builds of ROS for Ubuntu Trusty armhf. These builds include most but not all packages, and save a considerable amount of time compared to doin

2016-11-21 14:24:08 8601 3

原创 ssd 安装

详见 https://github.com/weiliu89/caffe/tree/ssd

2016-11-21 13:34:08 6802

原创 configure未识别的类型,获取最新的config.guess config.sub

cd ~wget -O config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'wget -O config.sub 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=c

2016-11-21 13:10:49 14815

原创 TX1 caffe编译

1. 安装所需软件sudo apt-get install cmake git aptitude screen g++ libboost-all-dev \    libgflags-dev libgoogle-glog-dev protobuf-compiler libprotobuf-dev \    bc libblas-dev libatlas-dev libhdf5-dev

2016-11-21 12:00:21 6561

原创 ubuntu 查看CPU信息

查看CPU个数cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l查看CPU核数cat /proc/cpuinfo| grep "cpu cores"| uniq查看逻辑CPU个数cat /proc/cpuinfo| grep "processor"| wc -l

2016-11-21 11:53:22 6370

原创 ffmpeg av_register_all release版 异常

ffmpeg av_register_all release版 异常退出属性->Linker->Optimization->ReferencesKeep Unreferenced Data(/OPT:NOREF)

2016-11-21 11:28:09 6879 1

转载 NVIDIA-TX1 刷机--填坑指南

转载自http://blog.csdn.net/q6324266/article/details/52191499本文是将TX1的板子刷成32位ubuntu系统。实测64位的ubuntu系统在运行caffe时候会有未知错误(英伟达版本的caffe),最后无奈只能刷32位系统,或许其他版本的caffe能使用64位系统,这个本人尚未验证。建议不要下载英伟达版本caffe,太多坑了。

2016-11-21 00:13:24 8752

原创 TX1 CUDA 环境下载地址

https://developer.nvidia.com/embedded/downloads

2016-11-21 00:03:45 6612 1

原创 ubuntu arm 源地址

deb http://mirrors.ustc.edu.cn/ubuntu-ports trusty main universe restricted multiverse deb http://mirrors.ustc.edu.cn/ubuntu-ports trusty-security main universe restricted multiverse deb http:

2016-11-20 23:02:06 10003

原创 hbase thrift开启

hbase thrift 接口开启方法hbase-deamon start thrift2 -p 11234

2016-11-19 19:53:54 6535

原创 elasticsearch 5.0 版本安装head插件

1. 在 elasticsearch.yml 文件增加配置http.cors.enabled: truehttp.cors.allow-origin: "*"2. 下载插件git clone git://github.com/mobz/elasticsearch-head.git3.安装插件cd elasticsearch-headapt-get ins

2016-11-02 20:31:47 9387

原创 安装cunn出错

运行 luarocks install cunn出现make[1]: *** [lib/THC/CMakeFiles/THC.dir/all] 错误 2解决方法:进入torch目录,执行 git pull, 然后运行 ./install.sh

2016-11-01 21:57:29 7174

directshow_SDK开发笔记

directshow_SDK开发笔记directshow_SDK开发笔记directshow_SDK开发笔记

2011-04-03

空空如也

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

TA关注的人

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