文件大于1GB { //Big File $file = $identity .
".cleanpdb.tar.gz";...
分类:
Web程序 时间:
2014-05-09 09:21:01
阅读次数:
345
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;using
System.Threading;using System.Run...
分类:
其他好文 时间:
2014-05-09 07:46:58
阅读次数:
370
这道题就是找规律啊!!!想想啊,11和10是可以连续的,那么10和11也是可以连续的。下面是AC代码:
1 /** 2 * The gray code is a binary numeral system where two successive values
differ in on...
分类:
其他好文 时间:
2014-05-09 07:38:17
阅读次数:
325
这几天在学习python,从昨天开始安装了ubuntu系统以后,就开始研究这个备份文件的例子,可是无论如何,总是不成功,不是说OSError: [Errno
2] No such file or directory:就是说OSError: [Errno 13] Permission denied:这...
分类:
编程语言 时间:
2014-05-09 07:34:56
阅读次数:
525
public class sample{public static void
main(String[]
args){//得到类的简写名称System.out.println(sample.class.getSimpleName());//得到对象的全路径System.out.println(sam...
分类:
其他好文 时间:
2014-05-09 07:17:59
阅读次数:
242
android.permission.WAKE_LOCK------------>keep the screen from dimming or the
processor from sleeping, or uses the MediaPlayer.setScreenOnWhilePlaying(...
分类:
移动开发 时间:
2014-05-09 06:37:42
阅读次数:
280
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.FileOutputStream;
import java.io.OutputStream;
/**
* 字节流输出OutputStream
* 注意:1,write(byte[] b)数组方法写入;
*
* @author ...
分类:
其他好文 时间:
2014-05-09 06:19:20
阅读次数:
267
classpath资源路径加载:
velocity.properties文件配置
file.resource.loader.class =
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
input.encoding = UTF-8
output.encoding = UTF-8Servlet代...
分类:
移动开发 时间:
2014-05-09 06:14:52
阅读次数:
387
话不多少,我直接把代码贴上来了。有什么问题请给我留言
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