http://gksanthoshbe.blogspot.com/2013/03/ios-interview-questions-and-answers.html1-How would you create your own custom view?By Subclassing the UIView...
分类:
移动开发 时间:
2014-07-19 22:25:30
阅读次数:
544
爬虫,又称蜘蛛,是从别的网站抓取资源的一种方法,C#.NET使用爬虫的方法如下:protected string GetPageHtml(string url){string pageinfo;try{WebRequest myreq = WebRequest.Create(url);WebResp...
分类:
其他好文 时间:
2014-07-19 18:15:25
阅读次数:
180
import hashlib;from Crypto.Cipher import DES3import base64def create_key(sk): r=hashlib.md5(sk).digest() return r+r[:8]def init_str(s): l=len(s) % 16 ...
分类:
编程语言 时间:
2014-07-19 16:07:32
阅读次数:
192
HttpWebRequest request = WebRequest.Create("http://www.1314721.com.cn/") as HttpWebRequest; HttpWebResponse response = request.GetResponse() as HttpW....
分类:
Web程序 时间:
2014-07-19 14:25:36
阅读次数:
219
eclipse 3.4+jdk1.6编译正常通过,运行debug模式时报错ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2JDWP exit error AGENT_ERROR_NO_JNI_E...
分类:
其他好文 时间:
2014-07-19 13:30:48
阅读次数:
239
Createafile"1weekago"============================#root@ubun1204:/root/study#date+%Y%m%d20140718root@ubun1204:/root/study#touch-d"1weekago"file2root@ubun1204:/root/study#touch-d"10dayago"file1root@ubun1204:/root/study#ls-lfile1file2-rw-r--r--1rootroot0Jul823..
分类:
其他好文 时间:
2014-07-19 12:41:24
阅读次数:
195
// Create an item within a specified group,// bound to a specified data field with the specified editorprivate LayoutControlItem CreateItemWithBoundEd...
分类:
其他好文 时间:
2014-07-19 12:05:19
阅读次数:
1815
1、问题现象2、解决方法原因分析:cannot be resolved to a type 基本上是该类没有被识别出来,编译的时候,编译路径下没有该类对应的库文件,可以通过下面几步解决:1、拷贝类对应的jar到tomcat lib目录下:C:\Program Files\Java\apache-to...
分类:
Web程序 时间:
2014-07-19 11:28:46
阅读次数:
482
今天有一开发兄弟找我,说出现一奇怪现象,在存储过程中赋date类型的值,时、分、秒都丢失了,下面来做个试验:
SQL> drop table test purge;
SQL> create table test
(
fill_date date
);
SQL> insert into test values(sysdate);
SQL> commit;
...
分类:
数据库 时间:
2014-07-19 08:23:15
阅读次数:
269
Grid是ExtJS中最常用的组件之一,今天在此稍作整理,主要针对一些常用的功能知识点。一、基础的Grid表格Ext.create(‘Ext.data.Store‘,{
storeId:‘simpsonsStore‘,
fields:[‘name‘,‘email‘,‘phone‘],
data:{‘items‘:[
{‘name‘:‘Lisa‘,"email":"lisa@simpsons.com","phone":"555-..
分类:
Web程序 时间:
2014-07-19 02:42:05
阅读次数:
293