package htmlskin;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWri...
分类:
其他好文 时间:
2014-06-22 21:16:31
阅读次数:
268
启动WAMP Server的时候报如下的错误:
140618 23:12:32 [Note] Plugin 'FEDERATED' is disabled.
140618 23:12:32 InnoDB: The InnoDB memory heap is disabled
140618 23:12:32 InnoDB: Mutexes and rw_locks use Windows inte...
分类:
数据库 时间:
2014-06-22 20:31:08
阅读次数:
471
下边是写东西到一个文件中的Java代码。运行后每一次,一个新的文件被创建,并且之前一个也将会被新的文件替代。这和给文件追加内容是不同的。
public static void writeFile1() throws IOException {
File fout = new File("out.txt");
FileOutputStream fos = new FileOutputStrea...
分类:
编程语言 时间:
2014-06-22 20:25:33
阅读次数:
222
直接看代码,
file:system/core/CodeIgniter.php
/*
102 * ------------------------------------------------------
103 * Set a liberal script execution time limit
104 * --------------------------------...
分类:
其他好文 时间:
2014-06-22 20:01:49
阅读次数:
184
今天单独启动了Data Guard的primary 数据库,出现了这个错误:ORA-03113: end-of-file on communication channel...
分类:
其他好文 时间:
2014-06-22 19:01:38
阅读次数:
205
在任意一个目录下新建一个文件夹。在该新建文件夹下创建任意一个文件;重命名该文件,使文件名长度不能再长为止。重命名该新建文件夹,使该文件夹的名字长度更长。
综上,你就在Windows中做出了一个全路径文件名长度超出MAX_PATH=260字节的文件。...
使用java,将图片转换成BYTE数组、及将数组转换成图片,进行图片的远程传输
参考:http://blog.csdn.net/huang9012/article/details/18241539
代码如下:
package com.third.demo;
import java.io.ByteArrayOutputStream;
import java.io.File;
imp...
分类:
编程语言 时间:
2014-06-22 14:42:45
阅读次数:
241
$ sudo mount.cifs //windows-ip/shared /media/ -o user=username password=password
该命令挂载Windows下的shared共享目录到本地/media目录下.
Windows的用户名是username, 密码是password (作相应的修改)
这里的CIFS(Common Internet File Syste...
1.准备相应的图标文件 这里举例pr.ico2.创建img文件夹保存pr.ico文件3.创建rc文件,并输入以下内容 IDI_ICON1 ICON DISCARDABLE "/img/pr.ico"4.在项目文件.pro中添加如下内容 RC_FILE = pr.rc5.make6.你会发现应用程序的...
分类:
其他好文 时间:
2014-06-21 15:17:57
阅读次数:
162