自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (8)
  • 收藏
  • 关注

原创 World文档中所有的表格边框突然没有了,怎么办?

这个问题已经是第二次遇到了,感觉Office很不靠谱,辛辛苦苦写的文档,之前都好好的,然后某一天打开,发现里面所有的表格都没有了边框,好奇怪...   最要命的是这个文档你需要马上提交,这个时候宏就派上用场了。首先来看一个遍历所有表格的宏:Sub Hong2()    Dim tb As Table    With ActiveDocument        For Each

2011-11-17 18:23:20 14737 2

原创 Qt写文本文件

QTexstStream用于读写纯文本以及HTML,XML等文本格式的文件,此类考虑了Unicode编码与系统本地编码的或其它任意编码之间的转换问题,别且明确地处理了因使用不同的操作系统而导致的行尾符之间的转换(windows系统的行尾符是“\r\n”,unix和mac os x系统是“\n”)。QTexstStream的操作对象是QIODevice,可是QFile,QTEmporaryFile,...

2011-11-16 21:24:21 11885 1

原创 Qt读文本文件

文本文件内容:5 19total value6 20 abcde读法:   QFile fileIn("test1.txt");   if(!fileIn.open(QIODevice::ReadOnly))   {      QMessageBox::information(this,tr("打开文件失败!"),fileIn.errorString());

2011-11-16 21:22:39 2015

原创 Qt笔记-1

1  基本常识1.1使用qmake命令1.1.1  设置环境变量将QtSDK的安装路径设置为环境变量,比如安装路径D:\QtSDK\Desktop\Qt\4.7.3\msvc2008\bin,将此加入用户或者系统的path变量里。1.1.2  常用qmake命令l  新建一个目录,从该目录下启动dos,输入 qmake –project就可以生成与目录同名的.pro文件,然后使

2011-11-16 21:20:10 1697

原创 如何去掉IE控件的垂直滚动条

如果使用MFC的CHtmlView或Qt的QAxWidget加载IE控件,载入html文件后都会自动带一个垂直滚动条,我们不想要这个滚动条,改怎么办呢?搜索了一下“隐藏IE控件滚动条”,发现在 http://topic.csdn.net/t/20040310/11/2827289.html 一文中有答案... 不过看上去,好复杂啊!!!屁大点的事,竟要动用类似这样的处理方式:    p

2011-11-16 17:09:08 5416 3

Qt4.7.1-32位版,适用于Vistual Studio 2015

Qt官网没有提供适用于VS2015的Qt4版本,自己编译比较费劲。在此分享自己编译的32位版Qt4.8.7,适用于Vistual Studio 2015下的Qt4开发。 使用方法:下载解压后,放到自己需要的目录下,如C://Qt/Qt4.8.7,然后在VS2015的Qt-Addin插件菜单中添加Qt版本及路径即可。

2023-04-24

Qt4.8.7-64位版,适用于Vistual Studio 2015

Qt官网没有提供适用于VS2015的Qt4版本,自己编译比较费劲。在此分享自己编译的64位版Qt4.8.7,适用于Vistual Studio 2015下的Qt4开发。 使用方法:下载解压后,放到自己需要的目录下,如C://Qt/Qt4.8.7,然后在VS2015的Qt-Addin插件菜单中添加Qt版本及路径即可。

2023-04-24

Qt4.7.1-32位版,适用于Vistual Studio 2015

Qt官网没有提供适用于VS2015的Qt4版本,自己编译比较费劲。在此分享自己编译的32位版Qt4.7.1,适用于Vistual Studio 2015下的Qt4开发。 使用方法:下载解压后,放到自己需要的目录下,如C://Qt/Qt4.7.1,然后在VS2015的Qt-Addin插件菜单中添加Qt版本及路径即可。

2023-04-24

Qt4.7.1-64位版,适用于Vistual Studio 2015

Qt官网没有提供适用于VS2015的Qt4版本,自己编译比较费劲。在此分享自己编译的64位版Qt4.7.1,适用于Vistual Studio 2015下的Qt4开发。 使用方法:下载解压后,放到自己需要的目录下,如C://Qt/Qt4.7.1,然后在VS2015的Qt-Addin插件菜单中添加Qt版本及路径即可。

2023-04-24

tensorflow-1.12支持cuda10.0

自编译tensorflow: 1.python3.5,tensorflow1.12; 2.支持cuda10.0,cudnn7.3.1,TensorRT-5.0.2.6-cuda10.0-cudnn7.3; 3.支持mkl,无MPI; 软硬件硬件环境:Ubuntu16.04,GeForce GTX 1080 配置信息: hp@dla:~/work/ts_compile/tensorflow$ ./configure WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown". You have bazel 0.19.1 installed. Please specify the location of python. [Default is /usr/bin/python]: /usr/bin/python3 Found possible Python library paths: /usr/local/lib/python3.5/dist-packages /usr/lib/python3/dist-packages Please input the desired Python library path to use. Default is [/usr/local/lib/python3.5/dist-packages] Do you wish to build TensorFlow with XLA JIT support? [Y/n]: XLA JIT support will be enabled for TensorFlow. Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: No OpenCL SYCL support will be enabled for TensorFlow. Do you wish to build TensorFlow with ROCm support? [y/N]: No ROCm support will be enabled for TensorFlow. Do you wish to build TensorFlow with CUDA support? [y/N]: y CUDA support will be enabled for TensorFlow. Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10.0]: Please specify the location where CUDA 10.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]: /usr/local/cuda-10.0 Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: 7.3.1 Please specify the location where cuDNN 7 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda-10.0]: Do you wish to build TensorFlow with TensorRT support? [y/N]: y TensorRT support will be enabled for TensorFlow. Please specify the location where TensorRT is installed. [Default is /usr/lib/x86_64-linux-gnu]:/home/hp/bin/TensorRT-5.0.2.6-cuda10.0-cudnn7.3/targets/x86_64-linux-gnu Please specify the locally installed NCCL version you want to use. [Default is to use https://github.com/nvidia/nccl]: Please specify a list of comma-separated Cuda compute capabilities you want to build with. You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus. Please note that each additional compute capability significantly increases your build time and binary size. [Default is: 6.1,6.1,6.1]: Do you want to use clang as CUDA compiler? [y/N]: nvcc will be used as CUDA compiler. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]: Do you wish to build TensorFlow with MPI support? [y/N]: No MPI support will be enabled for TensorFlow. Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native -Wno-sign-compare]: Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: Not configuring the WORKSPACE for Android builds. Preconfigured Bazel build configs. You can use any of the below by adding "--config=" to your build command. See .bazelrc for more details. --config=mkl # Build with MKL support. --config=monolithic # Config for mostly static monolithic build. --config=gdr # Build with GDR support. --config=verbs # Build with libverbs support. --config=ngraph # Build with Intel nGraph support. --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects. Preconfigured Bazel build configs to DISABLE default on features: --config=noaws # Disable AWS S3 filesystem support. --config=nogcp # Disable GCP support. --config=nohdfs # Disable HDFS support. --config=noignite # Disable Apacha Ignite support. --config=nokafka # Disable Apache Kafka support. --config=nonccl # Disable NVIDIA NCCL support. Configuration finished 编译: hp@dla:~/work/ts_compile/tensorflow$ bazel build --config=opt --config=mkl --verbose_failures //tensorflow/tools/pip_package:build_pip_package 卸载已有tensorflow: hp@dla:~/temp$ sudo pip3 uninstall tensorflow 安装自己编译的成果: hp@dla:~/temp$ sudo pip3 install tensorflow-1.12.0-cp35-cp35m-linux_x86_64.whl

2019-01-11

tensorflow1.12支持cuda10

自编译tensorflow: 1.python3.5,tensorflow1.12; 2.支持cuda10.0,cudnn7.3.1,TensorRT-5.0.2.6-cuda10.0-cudnn7.3; 3.无mkl支持; 软硬件硬件环境:Ubuntu16.04,GeForce GTX 1080 TI 配置信息: hp@dla:~/work/ts_compile/tensorflow$ ./configure WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown". You have bazel 0.19.1 installed. Please specify the location of python. [Default is /usr/bin/python]: /usr/bin/python3 Found possible Python library paths: /usr/local/lib/python3.5/dist-packages /usr/lib/python3/dist-packages Please input the desired Python library path to use. Default is [/usr/local/lib/python3.5/dist-packages] Do you wish to build TensorFlow with XLA JIT support? [Y/n]: XLA JIT support will be enabled for TensorFlow. Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: No OpenCL SYCL support will be enabled for TensorFlow. Do you wish to build TensorFlow with ROCm support? [y/N]: No ROCm support will be enabled for TensorFlow. Do you wish to build TensorFlow with CUDA support? [y/N]: y CUDA support will be enabled for TensorFlow. Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10.0]: Please specify the location where CUDA 10.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]: /usr/local/cuda-10.0 Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: 7.3.1 Please specify the location where cuDNN 7 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda-10.0]: Do you wish to build TensorFlow with TensorRT support? [y/N]: y TensorRT support will be enabled for TensorFlow. Please specify the location where TensorRT is installed. [Default is /usr/lib/x86_64-linux-gnu]://home/hp/bin/TensorRT-5.0.2.6-cuda10.0-cudnn7.3/targets/x86_64-linux-gnu Please specify the locally installed NCCL version you want to use. [Default is to use https://github.com/nvidia/nccl]: Please specify a list of comma-separated Cuda compute capabilities you want to build with. You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus. Please note that each additional compute capability significantly increases your build time and binary size. [Default is: 6.1,6.1,6.1]: Do you want to use clang as CUDA compiler? [y/N]: nvcc will be used as CUDA compiler. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]: Do you wish to build TensorFlow with MPI support? [y/N]: No MPI support will be enabled for TensorFlow. Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native -Wno-sign-compare]: Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: Not configuring the WORKSPACE for Android builds. Preconfigured Bazel build configs. You can use any of the below by adding "--config=" to your build command. See .bazelrc for more details. --config=mkl # Build with MKL support. --config=monolithic # Config for mostly static monolithic build. --config=gdr # Build with GDR support. --config=verbs # Build with libverbs support. --config=ngraph # Build with Intel nGraph support. --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects. Preconfigured Bazel build configs to DISABLE default on features: --config=noaws # Disable AWS S3 filesystem support. --config=nogcp # Disable GCP support. --config=nohdfs # Disable HDFS support. --config=noignite # Disable Apacha Ignite support. --config=nokafka # Disable Apache Kafka support. --config=nonccl # Disable NVIDIA NCCL support. Configuration finished 编译: bazel build --config=opt --verbose_failures //tensorflow/tools/pip_package:build_pip_package 卸载已有tensorflow: hp@dla:~/temp$ sudo pip3 uninstall tensorflow 安装自己编译的成果: hp@dla:~/temp$ sudo pip3 install tensorflow-1.12.0-cp35-cp35m-linux_x86_64.whl

2019-01-11

太阳天顶角计算工具

太阳天顶角计算工具,输入经纬度和日期,计算当天0-24时的太阳天顶角和方位角,同时给出当天的日出日落时间及日地平均距离。

2015-03-30

Modis MCD12Q1数据提取工具

批量提取MODIS土地覆盖数据MCD12Q1中的数据集。使用方法:选择输入目录下的一个hdf文件,选择要提取的字段,指定输出目录,点击运行即可将输入目录下所有hdf文件中MCD12Q1数据集中指定的数据集提取出来,结果按按照原文件名,保存为tiff格式。参考:http://blog.csdn.net/giselite/article/details/21081297

2014-03-17

CLR+via+C#

CLRViaC#,C#开发者的绝对秘籍,不适合入门级选手,资源里包含: CLRViaC#.第3版.1-7章.25-26章.易读版.供纠错.周靖.pdf CLR+via+C#.第二版.英文.pdf 中文第三版不完整,经过搜集,找到了第二版,不过是英文的,对于高级选手,我想是中文或英文没啥关系。另外里面包含搜集到的相应版本的范例代码。

2012-10-23

64位Linux安装ENVI详解及LibXp.so.6安装包

64位Linux下安装ENVI的详细说明,包含libXp库。因为csdn上传限制,里面不包含ENVIEX的压缩包,仅有下载链接。

2012-10-23

ArcGIS建模实现影像格式批量转换

ArcGIS模型工具,将指定路径下的所有或某种类型的栅格数据转换为其它的栅格数据格式。 运行环境:ArcGIS10.0以上。

2012-09-15

文本文件查找替换工具

文本文件查找替换工具,用于C++,C#,vb,js,txt等文本文件的查找替换,弥补Visual studio,记事本等文本编辑器不能实现多行文本替换的缺陷,也可用于普通需求,比如替换文本文件中的回车换行等,支持批量处理,支持代码注释量统计。

2012-01-02

空空如也

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

TA关注的人

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