HaveFun

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2013年5月18日

摘要: 这两天在做HTML的东西,就顺便研究了一下这个问题。下面是一段测试代码:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD> <TITLE> Test </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> 阅读全文
posted @ 2013-05-18 10:37 HaveFun 阅读(2233) 评论(0) 推荐(0)

2013年5月5日

摘要: 最近在研究Android的东西,顺便看了一下关于手势存储和识别相关的知识。然后将Android提供的GestureBuilder Sample程序稍微改动了一下,让其可以提供手势识别的功能。也就是说,在这个小程序中,创建手势、识别手势的功能全有了。这些都是新手入门知识,高手请饶过。下面是一些关键代码,与大家分享一下:在App类中,从SD文件中加载GestureLibrarypublic void onCreate() { super.onCreate(); if(_storeFile == null){ _storeFile = new File(this.getExternalFilesD. 阅读全文
posted @ 2013-05-05 15:50 HaveFun 阅读(421) 评论(0) 推荐(0)

2013年4月23日

摘要: The Goal: Build and deploy a really simple SharePoint App to SharePoint Online with the code running in an Azure Web Sites website.Provider Hosted Apps are simply a SharePoint app where the code in your app runs in a space you provide. That could be Azure, AWS or wherever you like. I’m picking Azure 阅读全文
posted @ 2013-04-23 17:25 HaveFun 阅读(725) 评论(0) 推荐(0)

2013年4月13日

摘要: 因为我也没有找到更适合的参考资料,因此只能自己生成一份编码表,然后从中找出这些特征,不过大部份来说都是准确的,有些个别的外语,我也不知道是什么。(文 IT柏拉图)至于这个表是干吗的,如果你想对用户输入的一些东西进行过滤或尝试识别乱码,或编码具于utf-8编码的分词系统,那么这些参考资料是很有意义的。一、中文汉字区:(1)生冷字:0x3400--0x4DB5(2)普通:0x4E00--0x9FA5(3)其它:0xF900--0xFA2C二、韩文区:(1)韩文音标字符区0x1100--0x11F90x3130--0x318E(2)韩文:0xAC00--0xD7A3三、符号表情:(1)分段字符(如: 阅读全文
posted @ 2013-04-13 10:21 HaveFun 阅读(1533) 评论(0) 推荐(0)

2013年3月29日

摘要: If you are getting started with App or Microsoft SharePoint Server 2013 development, you will notice that there is no option in Visual Studio 2012 when you first install it.In order to get the templates into VS, you need to installMicrosoft Office Developer Tools for Visual Studio 2012which can be f 阅读全文
posted @ 2013-03-29 18:17 HaveFun 阅读(196) 评论(0) 推荐(0)

2013年3月28日

摘要: 使用独立模式安装Sharepoint Server 2013,允许配置向导到第8步创建示例数据时,出错了!Exception: System.ArgumentException: The SDDL string contains an invalid sid or a sid that cannot be translated.Parameter name: sddlForm解决办法:1、用本机管理员帐号登录。2、为搜索服务创建一个新账户,如SearchSvc。3、把这个账户添加到本地的WSS_ADMIN_WPG组。4、打开SharePoint Management Shell,输入命令:$S 阅读全文
posted @ 2013-03-28 17:56 HaveFun 阅读(967) 评论(0) 推荐(0)

2013年1月27日

摘要: PK_ for primary keys UK_ for unique keys IX_ for non clustered non unique indexes UX_ for unique indexes DF_ for default value All of my index name take the form of<index or key type>_<table name>... 阅读全文
posted @ 2013-01-27 23:42 HaveFun 阅读(286) 评论(0) 推荐(0)

2013年1月6日

摘要: 转自http://www.apkbus.com/android-43332-1-1.html但注意,不知什么原因,现在访问dl.google.com出现问题,导致下载SDK的网页打不开,请按如下操作:添加如下3行到本机hosts文件(在C:\Windows\System32\drivers\etc文件夹下)#google_android203.208.46.146 dl.google.com203.208.46.146 dl-ssl.google.com另外,由于dl.google.com的证书出现问题,所以请用http方式下载SDK,不要用https.配置方式 SDK Manager -&g 阅读全文
posted @ 2013-01-06 11:58 HaveFun 阅读(196) 评论(0) 推荐(0)

2012年12月3日

摘要: Sometime this error has been occured from Windows SharePoint Services Administration command when the user do retractsolution or deploysolution like the follwingC:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm-o retractsolution -name "%PackageName%" -lo 阅读全文
posted @ 2012-12-03 17:39 HaveFun 阅读(437) 评论(0) 推荐(0)

2012年9月13日

摘要: 这两天要做loging方面的功能,顺便研究了一下EventLog的使用方法。EventLog 有两个方法 WriteEntry和WriteEvent. 这两个方法的区别,现在看起来只存在于以下方面:WriteEntry可以写EntryType, 包括Error, Information, Warning ... 而 WriteEvent只能写Information.WriteEvent可以写string, byte[], Object数据,WriteEntry只能写string(message), byte[]数据。当然自己掉object的tostring写入message就可绕过这一限制。另 阅读全文
posted @ 2012-09-13 04:32 HaveFun 阅读(325) 评论(0) 推荐(0)