http://blog.csdn.net/magicdreaming/article/details/7722825http://blog.csdn.net/teriy/article/details/7954203http://opentsdb.net/faq.htmlhttp://blog.cl...
分类:
其他好文 时间:
2014-08-18 00:13:33
阅读次数:
227
还原Oracle数据库时出现ORA-19870和ORA-19573错误,如:RMAN> restore database;Starting restore at 11-DEC-12 using channel ORA_DISK_1channel ORA_DISK_1: starting datafi...
分类:
其他好文 时间:
2014-08-17 19:51:02
阅读次数:
342
py2exe是一个将python脚本转换成windows上的可独立执行的可执行程序(*.exe)的工具,这样,你就可以不用装python而在windows系统上运行这个可执行程序。
py2exe已经被用于创建wxPython,Tkinter,Pmw,PyGTK,pygame,win32com cl...
分类:
编程语言 时间:
2014-08-17 16:59:02
阅读次数:
222
有时候我们重写父类的init方法时不注意将init后面的第一个字母写成了小写,在这个方法里面又调用父类的初始化方法(self = [super init];)时会报错,错误信息如下:error:Cannot assign to 'self' outside of a method in the in...
分类:
其他好文 时间:
2014-08-17 16:58:52
阅读次数:
201
svn更新代码后,打开xcode工程文件,会出现 xxx..xcodeproj cannot be opened because the project file cannot be parsed.因为.xcodeproj工程文件冲突了,然后还是会强制更新,内部文件出现了冲突,所以解析不了文件。会出...
分类:
其他好文 时间:
2014-08-17 11:35:52
阅读次数:
227
实现文件下载1.新建一个SmartUpload对象SmartUpload su = new SmartUpload();2.初始化su.initialize(pageContext);3.设定contentDisposition为null,以禁止浏览器自动打开文件,保证单机链接后是下载文件,若不设定...
分类:
Web程序 时间:
2014-08-17 10:25:11
阅读次数:
186
使用jspSmartUpload可以实现文件上传和下载jspSmartUpload组件主要有4个类:File类,Files类,Request类和SmartUpload类*SmartUpload类的initialize方法:这个方法是上传和下载共用的方法,他的作用是执行上传和下载的初始化工作,必须第一...
分类:
Web程序 时间:
2014-08-17 10:23:41
阅读次数:
182
ThinkPHP中的__initialize()和类的构造函数__construct()网上有很多关于__initialize()的说法和用法,总感觉不对头,所以自己测试了一下。将结果和大家分享。不对请更正。首先,我要说的是1、__initialize()不是php类中的函数,php类的构造函数只有...
分类:
其他好文 时间:
2014-08-15 17:41:19
阅读次数:
159
1. [代码]1.服务接口(Hello.java) package server;public interface Hello { String hello(String name);}2. [代码]2.接口实现(HelloImpl.java) package server;public cl...
分类:
编程语言 时间:
2014-08-15 15:59:49
阅读次数:
273
Sereja has an array a, consisting of
n integers a1,
a2,
..., an. The boy cannot sit and do nothing, he decided to study an array. Sereja took a piece of paper and wrote
out m integers l1,?l2,?.....
分类:
其他好文 时间:
2014-08-15 12:51:58
阅读次数:
233