package com.test;import
java.awt.image.BufferedImage;import java.io.File;import
javax.imageio.ImageIO;public class Test { private static final ...
分类:
编程语言 时间:
2014-05-09 10:21:12
阅读次数:
473
mongod --dbpath "d:\Program Files\MongoDB 2.6
Standard\data\db" --logpath "d:\Program Files\MongoDB 2.6
Standard\logs\MongoDB.log" --install --service...
分类:
数据库 时间:
2014-05-09 10:19:13
阅读次数:
301
CommandActionNotesvim file +54open file and go to
line 54any : command can be run using + on command linevim -O file1 file2open
file1 and file2 side b...
分类:
其他好文 时间:
2014-05-09 10:15:18
阅读次数:
420
之前在ubuntu上安装pandas,用的easy_install。这次在window上同样方法装遇到"unable
to find
vcvarsall.bat",看一些网上帖子好像说这个要装minGW解决,不喜欢装那么东西。就直接下exe装pandas,但也遇到问题,在注册表里找不到python2...
朋友的FTP启动不了,叫我帮他看,启动时出现以下错误信息:500 OOPS: bad bool
value in config file for:
anonymous_enable看似配置文件错误,看了一下配置相应的行:anonymous_enable=NO语句没什么错误,不过把这行注释后又到下一行...
分类:
其他好文 时间:
2014-05-09 08:51:30
阅读次数:
287
转自:http://wjlvivid.iteye.com/blog/1401707右键选中项目,选择export然后选择J2EE->WAR
File,点击next接下来指定war包的存放路径,例如放在桌面上打包完成以后我们将war放到tomcat的webapps目录下。然后启动tomcat,tomc...
分类:
系统相关 时间:
2014-05-09 08:29:45
阅读次数:
381
完成了一个脚本,find.sh如果希望可以再linux系统中任何位置都可以执行该脚本,可以执行下面操作1. chmod 775 find.sh
给该脚本增加可执行权限2. export PATH=$PATH:存放该脚本的路径
分类:
系统相关 时间:
2014-05-09 08:16:43
阅读次数:
498
这几天在学习python,从昨天开始安装了ubuntu系统以后,就开始研究这个备份文件的例子,可是无论如何,总是不成功,不是说OSError: [Errno
2] No such file or directory:就是说OSError: [Errno 13] Permission denied:这...
分类:
编程语言 时间:
2014-05-09 07:34:56
阅读次数:
525
Github只允许上传最大100MB的文件,如果超过,则会被server reject则需:git filter-branch --force --index-filter "git rm --cached --ignore-unmatch Project1/Project1.1\ Sample\ Project/output.txt" --prune-empty --tag-name-filt...
分类:
其他好文 时间:
2014-05-09 06:35:41
阅读次数:
341
话不多少,我直接把代码贴上来了。有什么问题请给我留言
package org.mark.streamRW;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
/**
* 字节输出流:OutputStream,整个IO包中字节输出流的最大父类
* 字节输入流:InputStrea...
分类:
其他好文 时间:
2014-05-09 06:13:24
阅读次数:
305