摘要: init-初始化程序viewDidLoad-加载视图viewWillAppear-UIViewController对象的视图即将加入窗口时调用;viewDidApper-UIViewController对象的视图已经加入到窗口时调用;viewWillDisappear-UIViewControlle... 阅读全文
posted @ 2016-01-17 10:26 yesicoo 阅读(121) 评论(0) 推荐(0) 编辑
摘要: //// ViewController.swift// JieUITapGestureRecognizer//// Created by jiezhang on 14-10-4.// Copyright (c) 2014年 jiezhang. All rights reserved.//im... 阅读全文
posted @ 2016-01-13 13:49 yesicoo 阅读(420) 评论(0) 推荐(0) 编辑
摘要: IntroductionVersion control has become an indispensable tool in modern software development. Version control systems allow you to keep track of your s... 阅读全文
posted @ 2015-10-13 10:17 yesicoo 阅读(855) 评论(0) 推荐(0) 编辑
摘要: SELECT GoodID,sum(if(Level = 1, 1, 0)) as Better,sum(if(Level = 0, 1, 0)) as Nomal,sum(if(Level = -1, 1, 0)) as Bad from evaluates GROUP BY GoodID; 阅读全文
posted @ 2015-08-13 10:38 yesicoo 阅读(4708) 评论(0) 推荐(1) 编辑
摘要: 最近在捯饬Asp.Net站点部署到Linux平台上面,在文档导入的操作中经过网上搜索采用了能够支持跨平台的ExcelDataReader组建。在本地windows上测试通过NuGet安装的组建,这货依赖了SharpZipLib.Net下鼎鼎有名的解压缩组建,应该用来解压Excel文档的。本地测试没读... 阅读全文
posted @ 2015-08-10 18:12 yesicoo 阅读(676) 评论(0) 推荐(0) 编辑
摘要: private static int GetWeekOfYear(DateTime dt){ GregorianCalendar gc = new GregorianCalendar(); int weekOfYear = gc.GetWeekOfYear(dt, CalendarWee... 阅读全文
posted @ 2015-08-10 18:11 yesicoo 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 最近在做移动APP的定位功能的时候发现系统GPS获取的位置信息再从百度地图API获取的实际地址总是有误差,偏离了好几个街道,但百度地图本身没这个问题。在网上查找一番发现了地图的坐标系一说,下面简单介绍一下主流的坐标系: 1.GCJ-02 俗称火星坐标系,由中国国家测绘局制订的地理信息系统的坐... 阅读全文
posted @ 2015-07-22 21:04 yesicoo 阅读(32479) 评论(0) 推荐(0) 编辑
摘要: dtgrid手动条件删除表格中的某一行var grid = $.fn.DtGrid.init(dtGridOption); $(function () { grid.load(); }); function DeleteGood(id,goodName){ ... 阅读全文
posted @ 2015-06-29 23:59 yesicoo 阅读(757) 评论(0) 推荐(0) 编辑
摘要: byte[] buffer = Guid.NewGuid().ToByteArray(); long smID =Math.Abs(BitConverter.ToInt64(buffer, 0)); 阅读全文
posted @ 2015-06-04 09:45 yesicoo 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 前几天接到一个需求,我们的客户需要对手机网络接入点进行可用性测试,简单点说就是需要实现Android上的APN配置的添加,APN切换网络模式4G/3G/2G切换,我要调研下写个demo。 因为是要实现自动化测试,而且得合并到现有的拨测系统(C#项目)成为其中的一个模块,就需要用C#来驱动And... 阅读全文
posted @ 2015-04-27 12:29 yesicoo 阅读(2101) 评论(7) 推荐(5) 编辑