随笔 - 60  文章 - 11 评论 - 245 trackbacks - 2

11 2010 档案
memcached在windows下多实例并存
摘要: 文章来源:http://eason-chen.javaeye.com/blog/375517 memcached.exe的-d install命令安装时其他参数貌似无法作用,-p和 -m加上后,安装完成windows服务的binpath里面只有-runservice一个参数。这个可以通过注册表改掉,但还是无法同时安装多个服务。解决这个问题可以用sc服务命令 比如安装两个个端口11212、11213...阅读全文
posted @ 2010-11-30 11:29 Ants 阅读(66) | 评论 (0) 编辑
一个随机列表项算法
摘要: using System;using System.Collections.Generic;using System.Linq;public static class EnumerableExtensions { public static IEnumerable<TSource> Shuffle<TSource>(this IEnumerable<TSource&g...阅读全文
posted @ 2010-11-10 09:54 Ants 阅读(61) | 评论 (0) 编辑
NVelocity:语法
摘要: 标题: NVelocity:语法 原文来源:http://m.cnblogs.com/43999/1718121.html?full=1 User Guide - Contents About this Guide 什么是NVelocity? NVelocity能为我们做什么? The Mud Store example Velocity Template Language (VTL): A...阅读全文
posted @ 2010-11-08 15:45 Ants 阅读(346) | 评论 (0) 编辑
NVelocity 操作类VelocityHelper
摘要: 原文连接:http://my.oschina.net/yangzhi/blog/6770代码阅读全文
posted @ 2010-11-08 14:47 Ants 阅读(518) | 评论 (0) 编辑