上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 30 下一页
摘要: http://pastebin.com/wSVW1tRcCGRect scanCropThe region of the video image that will be scanned, innormalized image coordinates. Note that the video image is in landscape mode (default {{0, 0}, {1, 1}})The coordinates for all of the arguments is in a normalized float, which is from 0 - 1. So, in norma 阅读全文
posted @ 2012-12-07 07:27 阿新 阅读(963) 评论(0) 推荐(0)
摘要: Assuming you have storyboard, go to storyboard and give your VC an identifier (inspector), then do: UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];UIViewCon... 阅读全文
posted @ 2012-12-04 09:13 阿新 阅读(3531) 评论(0) 推荐(0)
摘要: Why All The Lambdas?Tuesday, November 27, 2012"Why All The Lambdas?" is a question that comes up with ASP.NET MVC.@Html.TextBoxFor(model => model.Rating)Instead of lambdas, why don't we just pass a property value directly?@Html.TextBoxFor(Model.Rating)Aren't we simply trying to 阅读全文
posted @ 2012-12-03 18:55 阿新 阅读(215) 评论(0) 推荐(0)
摘要: 代码--(IBAction)uploadAction:(id)sender{NSString*urlstring=self.urlTextField.text;//NSString*poststr=@"";NSData*imgData=UIImageJPEGRepresentation(self.previewImageView.image,0.9f);NSString*boundary=@"0xKhTmLbOuNdArY";NSString*contentType=[NSStringstringWithFormat:@"multipart/f 阅读全文
posted @ 2012-11-27 11:37 阿新 阅读(805) 评论(0) 推荐(0)
摘要: BizTalk for AS2 加密/加签传输练习AS2是互联网上安全,可靠地传输数据的最常用的方式。AS2为信息建立信封并通过电子证书和加密在互联网上安全地发送出去。因此被很多大公司特别是国外的公司在B2B领域广泛使用。BizTalk从2006开始内建支持AS2;而且配置很简单(如果你知道了AS2基本原理和BizTalk的基本配置)AS2传输方式AS2简单的说类似SSL,通过HTTP/HTTPS协议传输;利用证书实现加签和加密,因此必须要可用于交换和加签的证书(说白了就是需要带私钥的证书,下面会提到怎么申请证书)。练习的环境一台BizTalk(Fabrikam),从文件目录下把XML文件通过 阅读全文
posted @ 2012-10-11 10:14 阿新 阅读(2233) 评论(2) 推荐(1)
摘要: ErrorTF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking.ExplanationPlugin error text: “Value cannot be null. Parameter name: TF223000: The identity object returned by ReadIdentities contains a null value for the following register 阅读全文
posted @ 2012-09-13 08:40 阿新 阅读(3062) 评论(0) 推荐(0)
摘要: Here is a simple and sample code that demonstrate the photo slide function with zoom using uiscrollview.this is the first photoslidingzooming in particular photo1. first drag three photos to your project , size not important .2 viewcontroller.h 's code#import <UIKit/UIKit.h>@interface View 阅读全文
posted @ 2012-06-28 14:04 阿新 阅读(1179) 评论(0) 推荐(0)
摘要: -(void)viewDidLoad{[superviewDidLoad];[theScrollViewsetContentSize:CGSizeMake(3*theScrollView.bounds.size.width,theScrollView.bounds.size.height)];[theScrollViewsetPagingEnabled:YES];CGRectaFrame=theScrollView.bounds;UIView*view;NSLog(@"Frame:%@",NSStringFromCGRect(aFrame));view=[[UIViewal 阅读全文
posted @ 2012-06-16 19:15 阿新 阅读(475) 评论(0) 推荐(0)
摘要: -(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toOrientationduration:(NSTimeInterval)duration{if(toOrientation==UIInterfaceOrientationLandscapeLeft||toOrientation==UIInterfaceOrientationLandscapeRight){[UIViewbeginAnimations:nilcontext:NULL];{[UIViewsetAnimationDuration:1.0];}[UIVie 阅读全文
posted @ 2012-06-06 21:02 阿新 阅读(658) 评论(0) 推荐(0)
摘要: 最近公司的主要的数据交换都基于BizTalk完成,现在BizTalk已经成为不可缺少的数据交换核心。利用的就是BizTalk的发布/订阅模式。因此在每个发送端口都要配置消息的属性过滤。每个配置必须手工一个一个的加,非常的繁琐,有时真的把人都搞傻了。后来发现可以直接修改数据就可以实现。因此花了半小时搞了一个BizTalk发送端口属性过滤的配置工具。可以省去不少重复的工作。其功能就是读取BizTalk发送端口的Filters配置参数。其实就是XML,这样就可以直接批量修改,最后在更新回数据库。这样BizTalk的发送端口就可以直接使用了。不知道是否也有人需要这样的功能BizTalkSettingT 阅读全文
posted @ 2012-06-05 19:54 阿新 阅读(1227) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 30 下一页