有时候我们在项目中需要录入大量的数据,Excel操作1:首先需要在项目中导入架包:jxl.jar,poi-3.6-20091214.jarpoi-3.8-beta5-20111217.jarpoi-examples-3.6-20091214.jarpoi-examples-3.8-beta5-201...
分类:
其他好文 时间:
2014-12-23 15:22:56
阅读次数:
163
package com.yarin.android.Examples_04_23;import android.app.Activity;import android.app.Notification;import android.app.NotificationManager;import and...
分类:
其他好文 时间:
2014-12-22 22:34:02
阅读次数:
193
先回归下SS的运行环境我们接续前文,说明一下ServiceStack.Examples中的实用经典的代码(下面的代码是更新成新版写法后的):publicobjectAny(GetUsersrequest)
{
using(vardbConn=ConnectionFactory.OpenDbConnection())
{
varusers=newList<User>();
if(request.UserId..
分类:
其他好文 时间:
2014-12-20 18:25:36
阅读次数:
446
转:http://www.codeproject.com/Articles/703634/SOLID-architecture-principles-using-simple-Csharp?msg=4729987#xx4729987xx
ServiceStack的官网提供了不少的项目案例下载,不过有的示例不能拿来即用,而且案例中还有用的是用VS2010开发的,SS的版本也比较旧,要调整一下才可以运行。官方示例项目下载地址https://github.com/ServiceStack/ServiceStack.Examples/tree/v3其中包含如下示例项目(第一个目..
分类:
其他好文 时间:
2014-12-19 12:21:59
阅读次数:
221
Parent-child relationshipsParent-child relationships are formed when using view controller containers. Examples of viewcontroller containers are UINav...
分类:
其他好文 时间:
2014-12-16 16:37:37
阅读次数:
98
研读了官方示例的ServiceStack.Examples和ServiceStack.Northwind,总结如下的项目方案结构,这种方式比较适合较大的项目,并且规范化很好,易于扩展和对接。项目结构规范要求根据ServiceStack官方示例项目,总结出如下项目规范:项目目录结构,以产品管理模块示例:需要建立三..
分类:
其他好文 时间:
2014-12-16 15:21:00
阅读次数:
233
Hive自定义函数UDAF开发
Hive支持自定义函数,UDAF是接受多行,输出一行。
通常是group by时用到这种函数。
其实最好的学习资料就是官方自带的examples了。
我这里用的是0.10版本hive,所以对于的examples在
https://github.com/apache/hive/tree/branch-0.10/contri...
分类:
其他好文 时间:
2014-12-14 00:46:21
阅读次数:
202
Validate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:
其他好文 时间:
2014-12-12 14:33:25
阅读次数:
156
原文:linux c socket programminghttp://54min.com/post/http-client-examples-using-c.html好文章PPThttp://www.slideshare.net/Arbow/asynchronous-io-programmingv...
分类:
系统相关 时间:
2014-12-11 11:41:56
阅读次数:
340