今天在学习鸟哥的菜的时候,发现自己linux不可以启用vim命令,错误为:bash: vim:
command not found。 机器环境:VMWare8+RED HAT Enterprise5 解决方法: 发现问题的根源在于没有安装好vim 输入
rpm -qa|grep vim ...
分类:
其他好文 时间:
2014-07-22 23:12:56
阅读次数:
993
记录一下配置,省的以后还到处去找;(一)
添加环境变量;//第一次使用opencv的话需要加环境变量;”
%opencv%\build\x86\vc10\bin”和”%opencv%\build\common\tbb\ia32\vc10”注:%opencv%
用D:\opencv2.4替换;我的op...
$_$PROCESS_ID$$read a file line by
line#!/usr/bin/perluse strict;use warnings;my $dir ="./tmp";open (FH, ") {print
"$_";}
分类:
其他好文 时间:
2014-07-22 23:09:35
阅读次数:
293
本人使用的是poi-bin-3.10-FINAL-20140208.zip
版本的poi以下是程序关键代码://需要引用的类import java.io.File;import
java.io.FileInputStream;import java.io.FileOutputStream;impor...
分类:
其他好文 时间:
2014-07-22 23:09:34
阅读次数:
266
查看当前目录下的文件:find.-typef查看当前目录下的文件夹:find.-typed如果文件file1不为空:if[-sfile1];thenecho"file1不为空"fi#!/bin/shforfin`find./testdir-typef`;doif[-s$f];thenecho$fis...
分类:
系统相关 时间:
2014-07-22 23:09:14
阅读次数:
407
安装MongoDB 将解压所得的bin文件夹内文件部署于C:\mongodb\bin 建立数据库文件夹
C:\mongodb\data\db 准备以下内容的配置文件mongodb.cfg dbpath=C:\mongodb\data\db
#数据库路径logpath=C:\mongodb\data\...
分类:
数据库 时间:
2014-07-22 23:08:34
阅读次数:
338
Given a strings, partitionssuch that every
substring of the partition is a palindrome.Return all possible palindrome
partitioning ofs.For example, giv...
分类:
其他好文 时间:
2014-07-22 23:08:15
阅读次数:
446
批处理命令启动和关闭tomcat,其实只要把tomcat自己的脚本呼叫起来就好了呢关闭tomcatif
exist "C:\Tomcat-7.0.39\bin\shutdown.bat" call
"C:\Tomcat-7.0.39\bin\shutdown.bat"启动tomcatif exist...
分类:
其他好文 时间:
2014-05-01 15:18:52
阅读次数:
321
Given a strings, partitionssuch that every
substring of the partition is a palindrome.Return the minimum cuts needed for a
palindrome partitioning ofs...
分类:
其他好文 时间:
2014-05-01 14:47:09
阅读次数:
409
缩进相同的一组语句构成一个代码块,称之为代码组:代码组首行以关键字开始,以冒号“:”结束,该行之后的一行或多行构成代码组!模块结构和布局:这里有一个__doc__文档属性,可以访问模块,或者函数的说明文档1、起始行2、模块文档3、模块导入4、变量定义5、类定义6、函数定义7、主程序#/usr/bin...
分类:
编程语言 时间:
2014-05-01 02:19:32
阅读次数:
444