记录生活
分类 Category : 资源分享

launchy插件:新浪微博、海词

<Category: 小道消息, 资源分享> 发表评论

Medcl's LaunchyKit http://bit.ly/launchykit

launchy插件:http://www.box.net/shared/drininoui5

提供快速访问新浪微博和海词的功能。

使用方法:

提示:alt+space打开launchy主界面

阅读这篇文章的其余部分 »

本文来自: launchy插件:新浪微博、海词

机器学习的开源工具

<Category: NLP, 机器学习, 资源分享> 发表评论

以下工具绝大多数都是开源的,基于GPL、Apache等开源协议,使用时请仔细阅读各工具的license statement
阅读这篇文章的其余部分 »

本文来自: 机器学习的开源工具

ElasticSeach.Client Updated!

<Category: .NET, 小道消息, 搜索, 资源分享> 发表评论

ElasticSeach.Client客户端更新了,支持索引模板了,cool~,下载地址:http://github.com/medcl/ElasticSearch.Net
ElasticSearch IndexTemplate帮助文档
创建一个索引模板:

var tempkey = "test_template_key1";
var template = new TemplateSetting(tempkey);
template.Template = "business_*";//支持通配符,假设所有business开头的索引自动使用如下的索引设置(setting和mapping)
template.IndexSetting = new IndexSetting(3, 2);
 
var type1 = new TypeSetting("mytype") { };
type1.CreateNumField("identity", NumType.Float);
type1.CreateDateField("datetime");
 
var type2 = new TypeSetting("mypersontype");
type2.CreateStringField("personid");
 
type2.SourceSetting = new SourceSetting();
type2.SourceSetting.Enabled = false;
 
template.AddTypeSetting(type1);
template.AddTypeSetting(type2);
result = ElasticSearchClient.Instance.CreateTemplate(tempkey, template);

基于索引模板的创建索引(以后不需要做重复的索引Mapping操作了,yeah):

  result = ElasticSearchClient.Instance.CreateIndex("business_111");//创建索引,自动获得索引设置和mapping设置

获取索引模板的信息:

var temp = ElasticSearchClient.Instance.GetTemplate(tempkey);

更多详细的操作,参照我写的测试用例,https://github.com/medcl/ElasticSearch.Net/tree/master/ElasticSearchTests

本文来自: ElasticSeach.Client Updated!

quick intro to elasticsearch

<Category: 搜索, 资源分享> 1 条评论

本文来自: quick intro to elasticsearch

xtranormal,有意思

<Category: 资源分享> 发表评论

xtranormal.com,一个很有创意的网站,提供了基本的舞台和人物以及简单的动作和表情,你可以在里面自己创建你的剧本,并且输入的文字会自动翻译成语音(机器翻译),最后可以导出影片,还支持多种语言,普通话、广东话都有,不错哦,做一些简单动画、贺卡、或者什么的,充分发挥你的想象力吧,你就是导演。。
阅读这篇文章的其余部分 »

本文来自: xtranormal,有意思

VMware Server 2 sn

<Category: 资源分享> 发表评论

注册总是很烦人。。
for Windows AA048-FAK84-V8PC0-4JHTD
VMware Server for Linux A00D9-F2L8J-UDQ20-49HTE

本文来自: VMware Server 2 sn

jquery相对浮动层

<Category: Web, 资源分享> 1 条评论

jquery相对浮动层,需要这样的效果,网上找了下,没找到,自己写的一个。

float div
阅读这篇文章的其余部分 »

本文来自: jquery相对浮动层

如何使用免费空间搭建自己的新浪微博Rss服务

<Category: 资源分享> 25 条评论

抽空写的一个搭建新浪微博rss服务的教程,用的人太多了,免费空间顶不住,大家可以自己diy一下,这个免费空间是10m空间,1g的流量,一个人用足够了。

源码:http://bitbucket.org/medcl/sina-twitter-rss-feed-generator/downloads

阅读这篇文章的其余部分 »

本文来自: 如何使用免费空间搭建自己的新浪微博Rss服务

小议 MySpace DataRelay

<Category: .NET, 分布式, 架构, 资源分享> 发表评论

最近看MySpace的DataRelay代码,有点抓狂(无文档、注释极少、缺少用例),DataRelay是MySpace开源的一个中间层框架,核心是一个支持插件的消息系统,内部使用了微软的CCR(Concurrency and Coordination Runtime,a component originally released as part of the Microsoft Robotic Studio)来作为消息的分发,包括3个核心组件:

  • Forwarder - This handles the actual moving of messages, both from to server and between servers ,实现消息的不同服务器节点以及客户端之间的数据分发传递.
  • - This handles storing data, and is the component used for basic key/value caching,Oracle的KeyValue数据库,查询效率高,数据能够持久化到硬盘,支持多个节点来实现分布式缓存.
  • Index Cache - This is a two tiered indexed data system, for more advanced queries than simple key/value,通过创建索引数据并存储到BerkeleyDB,并通过Component在服务端进行计算筛选,来实现复杂的数据查询.

MySpace作为.NET架构最为成功的案例之一,确实有其过人之处,DataRelay提供了高性能的缓存系统和消息处理机制,并支持自定义计算Component组件,各组件支持Cluster,有完整的Replication和负载均衡机制,组件都是以windows服务的形式,可以非常灵活的进行部署,客户端与服务端使用Socket进行通讯,另外通过自定义组件可以提供更多的扩展,譬如缓存部分可以使用Memcached组件来替换等。

MySpace虽然开源出来了这套东西,但是好像不怎么上心,CodePlex上面连个像样文档都没有,扔上去的代码连测试用例都没有一个,想要用这套东西还真只能全凭看代码了。

CodePlex代码下载地址:http://datarelay.codeplex.com/SourceControl/list/changesets#

MIX 10上的演讲:Robots at MySpace: Massive Scaling a .NET Website with the Microsoft Robotic Studio (有CCR相关的介绍)  PPT下载

CCR at MySpacehttp://channel9.msdn.com/shows/Communicating/CCR-at-MySpace/

本文来自: 小议 MySpace DataRelay

.net api文档生成工具,Sandcastle

<Category: .NET, 资源分享> 发表评论

sandcastlelogo_jpg

, created by Microsoft, is a tool used for creating MSDN-style documentation from assemblies and their associated XML comments files. The current version is the May 2008 release. It is command line based and has no GUI front-end, project management features, or an automated build process like those that you can find in NDoc. The Sandcastle Help File Builder was created to fill in the gaps, provide the missing NDoc-like features that are used most often, and provide graphical and command line based to build a help file in an automated fashion.

Base: http://sandcastle.codeplex.com/
GUI: http://shfb.codeplex.com/

第一步,设置
build define
第二步,我build
build output
第三步,查看结果了
build result1
build result

本文来自: .net api文档生成工具,Sandcastle