1.新版的操作的确十分给力2.url如果有中文一定要记得stringByAddingPercentEscapesUsingEncoding否则闪退3.如果服务端头是
text/html的接口manager.responseSerializer.acceptableContentTypes = [NS...
分类:
Web程序 时间:
2014-05-12 04:20:47
阅读次数:
341
简单的一个curl小例子:#include #include #include #include
#include #define BUF_SIZE 1024 * 100using namespace std;string
DownloadString(char* url);int main(int...
分类:
Web程序 时间:
2014-05-12 02:55:46
阅读次数:
394
蓝手指测试安卓比较给力,尤其含有安卓原生态的多语言是现在厂商手机所无法提供了的。
但是有一点需要注意:BlueStack的日志文件非常大,日志目录默认是%Sysem Dir%/Program
Data(隐藏文件)/BlueStacks/logs,发现系统盘告急之后,直接删掉里面的数据即可;我这里大概...
分类:
移动开发 时间:
2014-05-12 00:17:42
阅读次数:
385
/*1、线性表练习(1)从给定顺序表A中删除元素值在x到y(x=x&&A[i]max)
max=A[i]; else if(A[i]data=e; L->next=NULL; } else { if(i==1) ...
分类:
其他好文 时间:
2014-05-11 23:26:26
阅读次数:
384
读写本应用程序数据文件夹中的文件
此种方法读写的文件在/data/data/中
android 中提供了 openFileInput(String fileName)
和 openFileOutput(String fileName, int mode) 两个方法来读取本应用程序数据文件夹中的文件和向其写入。
openFileInput...
分类:
移动开发 时间:
2014-05-11 18:34:50
阅读次数:
480
--参考链接:http://blog.chinaunix.net/uid-26284395-id-3044132.html解决问题的核心在于修改Tomcat的配置,在Server.xml文件中添加一个名为URIEncoding的属性,它用于对HTTP请求中的get方法传过来的URL进行编码。Tomc...
分类:
其他好文 时间:
2014-05-11 17:39:23
阅读次数:
246
作为一个新手,学习Oracle,就连安装oracle都感觉到吃力!经过不间断的搜罗、学习、尝试,找到一些比较有用的“指导”,罗列如下:1.http://www.2cto.com/database/201208/150620.html2.http://wenku.baidu.com/link?url=...
分类:
数据库 时间:
2014-05-11 17:29:44
阅读次数:
320
//链表操作:建立、插入、删除、查找、倒置、删除等基本操作
#include
#include
typedef
struct LNode
{
int data;
structLNode *next;
}LNode,*Llist;
LNode *creat_head();//创建一个空表
void creat_list(LNode *,int);//创...
分类:
其他好文 时间:
2014-05-11 03:33:11
阅读次数:
351
HFileV2文件
HFileV2文件写入通过StoreFile.Writer-->HFileWriterV2进行写入。
文件格式通过hfile.format.version配置。默认为2,也只有2这个值在0.96可用。
可通过cf中配置DATA_BLOCK_ENCODING配置dataBlock的encoding,
可配置值:NONE,PREFIX,DIFF,FAST_DIFF,PREF...
分类:
其他好文 时间:
2014-05-11 02:57:42
阅读次数:
589
spring mvc中定义请求的url只需要在方法上添加注解: @RequestMapping("aa.mvc")即可定义访问的url地址,但是你是否有考虑过为什么添加这个注解就可以实现url访问地址的定义了呢?下面解析下他的实现原理!
首先定义注解RequestMapping
@Retention(RetentionPolicy.RUNTIME)
@Target(value = { Ele...
分类:
移动开发 时间:
2014-05-11 02:49:49
阅读次数:
294