上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 69 下一页
摘要: -(BOOL)connectedToNetwork{//Createzeroaddystructsockaddr_inzeroAddress;bzero(&zeroAddress,sizeof(zeroAddress));zeroAddress.sin_len=sizeof(zeroAddress);zeroAddress.sin_family=AF_INET;//RecoverreachabilityflagsSCNetworkReachabilityRefdefaultRouteReachability=SCNetworkReachabilityCreateWithAddress( 阅读全文
posted @ 2012-08-22 21:20 zyip 阅读(359) 评论(0) 推荐(0)
摘要: If your iOS app generates a crash reportwith the exception code 0x8badfood, thismeans that the iOSwatchdogtimer killed your app because it was unresponsive; such a crash may have been caused by a synchronousnetworking call. 阅读全文
posted @ 2012-08-22 16:48 zyip 阅读(382) 评论(0) 推荐(0)
摘要: classProgram{staticvoidMain(string[]args){stringdate="2011-08-15";DateTimed0=DateTime.Parse(date);Console.WriteLine(d0.ToString("D0IS:yyyy-MM"));DateTimed1=DateTime.Now;Console.WriteLine(d1.ToString("D1IS:yyyy-MM"));intr=GetDateDiffYears(d0,d1);Console.WriteLine(r.ToStr 阅读全文
posted @ 2012-08-16 10:57 zyip 阅读(388) 评论(0) 推荐(0)
摘要: #regionJsonhelperusingSystem.IO;usingSystem.Text;usingSystem.Runtime.Serialization.Json;publicclassJsonHelper{///<summary>///JSON序列化///</summary>publicstaticstringJsonSerializer<T>(Tt){DataContractJsonSerializerser=newDataContractJsonSerializer(typeof(T));MemoryStreamms=newMemorySt 阅读全文
posted @ 2012-08-15 16:14 zyip 阅读(374) 评论(0) 推荐(0)
摘要: -(void)SelectSort{NSLog(@"======startingsort=======");//intarr[100];//for(inti=0;i<100;i++)//{//arr[i]=i;//}intarr[]={1,3,9,5,2,7,10,20,11,6};//NSString*str=[NSStringstringWithFormat:@"I'm:%d",1];for(inti=0;i<10;i++){intmin=i;for(intj=i+1;j<10;j++){if(arr[j]<arr[m 阅读全文
posted @ 2012-08-14 23:14 zyip 阅读(149) 评论(0) 推荐(0)
摘要: staticvoidMain(string[]args){int[]arr=newint[1000];for(inti=0;i<arr.Length;i++){arr[i]=i;}//sequentialForEachintb=0;Stopwatchstopwatch=newStopwatch();stopwatch.Start();foreach(varxinarr){b=b+x;System.Threading.Thread.Sleep(1);//Console.WriteLine(x);}stopwatch.Stop();Console.WriteLine("Sequen 阅读全文
posted @ 2012-08-10 11:26 zyip 阅读(192) 评论(0) 推荐(0)
摘要: http://dlr.codeplex.com/wikipage?title=Docs%20and%20specs&referringTitle=Documentationhttp://www.infoq.com/news/2012/07/ironjshttps://github.com/fholm/IronJS 阅读全文
posted @ 2012-07-30 14:31 zyip 阅读(183) 评论(0) 推荐(0)
摘要: Error Unknown server tag 'asp:ListView'. Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 550b12f2-1d78-432c-94f0-0d4bffa54c0b Date and Time: 7/7/2012 11:34:29 PM 修改web。config,加入下面controls中的内容 <pages><controls> <add tagPrefix="asp" namespace= 阅读全文
posted @ 2012-07-26 14:39 zyip 阅读(327) 评论(0) 推荐(0)
摘要: http://msdn.microsoft.com/zh-cn/vstudio/ff623014.aspxhttp://msdn.microsoft.com/zh-cn/library/ee330921http://msdn.microsoft.com/zh-cn/library/ee231517workthoughshttp://msdn.microsoft.com/zh-cn/library/ee290858.aspxhttp://www.cnblogs.com/KingStar/category/213688.htmlsharepoint2007http://msdn.microsoft 阅读全文
posted @ 2012-07-24 16:34 zyip 阅读(189) 评论(0) 推荐(0)
摘要: http://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomationhttp://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomationhttp://qing.weibo.com/1265251874/4b6a362233001tp7.htmlhttp://guerratopia.com/introduction-to-automating-ui-testing-in-ioshttp://blog.csdn.net/chenlia/articl 阅读全文
posted @ 2012-07-24 16:08 zyip 阅读(422) 评论(0) 推荐(0)
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 69 下一页