C#中Func<T,TResult>的用法和Lambda表达式 代码片段: Func<int,string,string> t=(int x, string b) => (x.ToString() + b);就等于。private string deletegate TestString(int x ...
0 CGContextRef context = UIGraphicsGetCurrentCont ext(); 设置上下文 1 CGContextMoveToPoint 开始画线 2 CGContextAddLineToPoint 画直线 4 CGContextAddEllipseInRec t ...
分类:
移动开发 时间:
2016-12-26 12:04:28
阅读次数:
247
1ps-ef|grepdbw|grep-vgrep2ls-rtl/proc/6877/fd3cd/proc/68774cdfd5cp/proc/6877/fd/某个文件到需要的路径下6查看文件状态selectfile#,statusfromv$datafile;7alterdatabasedatafile4offline8recoverdatafile49alterdatabasedatafile4online;10shutdown测试
分类:
数据库 时间:
2016-12-14 02:47:45
阅读次数:
244
#include <ntddk.h> void DriverUnload(IN PDRIVER_OBJECT DriverObject);NTSTATUS MyCreateClose(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp);NTSTATUS MyDe ...
分类:
其他好文 时间:
2016-12-11 18:15:46
阅读次数:
200
Sort a linked list using insertion sort. Subscribe to see which companies asked this question Subscribe to see which companies asked this question 解答 ...
分类:
其他好文 时间:
2016-12-08 17:37:32
阅读次数:
119
突然想到自己做开发时遇到的一些小小问题,希望和大家交流一下。 1,对于数据库的操作,宜一次多条,忌多次一条,举例来说。我要往Account表中插入5条数据,通常有两种写法, i for(integer i=0;i<5;i++ ){ Account a = new Account(); insert ...
分类:
其他好文 时间:
2016-11-28 22:51:03
阅读次数:
209
在v6.2开始后,需要设置<requires-namespaced-parameters>false</requires-namespaced-parameters> 来避免在jsp中写<portlet:namespace/>的input前缀 在v7.0发现,注解方式是不灵的! 即 "javax.p ...
分类:
其他好文 时间:
2016-11-27 23:54:45
阅读次数:
624
spring mvc 文件上传 一、单文件上传 配置步骤: 步骤一、在配置文件中配置包扫描器(暂且这样配,会出问题,我们下面说解决方案) 步骤二,定制我们的文件上传jsp页面 步骤三、书写我们的处理器代码 此时我们启动服务器,进行代码上传,会报如下错误 解决方案:更改我们的spring-servle ...
分类:
编程语言 时间:
2016-11-26 17:41:05
阅读次数:
323