在CL里我们可以这样:1 $ sbcl2 * (+ 1 2 3)3 64 * ( 2
template 3 bool cmp(O o, A a,B b){ 4 return o(a, b); 5 } 6 template 7 bool cmp(O
o,A a,B b,C... c){ 8 ...
分类:
编程语言 时间:
2014-06-07 04:42:31
阅读次数:
270
//导出按钮protected void btn_Export_Click(object
sender, EventArgs e) { Model.article art = new BLL.Common().GetModel(this.id);
WriteHtml(art.content);//a...
分类:
其他好文 时间:
2014-06-07 03:04:09
阅读次数:
299
System.Data.Common.DbProviderFactory public
abstract class DbProviderFactory { public virtual DbConnection
CreateConnection() { return null; ...
分类:
其他好文 时间:
2014-05-29 03:51:28
阅读次数:
210
ThreadLocal保证数据同步package Thread.Common;import
java.util.Random;import java.util.concurrent.ExecutorService;import
java.util.concurrent.Executors;impor...
分类:
编程语言 时间:
2014-05-29 03:07:04
阅读次数:
389
这篇文章http://ayende.com/blog/3988/nhibernate-the-difference-between-get-load-and-querying-by-idOne
of the more common mistakes that I see people doing w...
分类:
系统相关 时间:
2014-05-29 02:45:27
阅读次数:
362
Topics CoveredIntroduction to
AtheneiteProperties of AtheneiteHow to Identify AtheneiteGlobal
DistributionOccurrence of Atheneite and Useful Mineral A...
分类:
其他好文 时间:
2014-05-29 01:23:10
阅读次数:
364
A dispatchsemaphore(信号量) is useful if you need
a concurrency control for a small portion(部分) of the source code that has
smaller granularity(颗粒度) than...
分类:
其他好文 时间:
2014-05-28 21:51:45
阅读次数:
395
Redis提供了丰富的命令(command)对数据库和各种数据类型进行操作,这些command可以在Linux终端使用。在编程时,比如使用Redis
的Java语言包,这些命令都有对应的方法。下面将Redis提供的命令做一总结。官网命令列表:http://redis.io/commands(英文)1...
分类:
其他好文 时间:
2014-05-28 12:44:06
阅读次数:
262
实验线路连接图使用 Cisco Packet Tracer6.0
构建拓扑结构图RARouter(config)#interface FastEthernet0/0Router(config-if)#ip address
192.168.10.1 255.255.255.0Router(config...
分类:
其他好文 时间:
2014-05-28 02:40:14
阅读次数:
332
打开 ../ include/
common.func.php添加代码//将缩放图转变为文章第一张图片function
firstimg($str_pic){$str_sub=substr($str_pic,0,-7).".jpg";//删除缩略图字符串最后七位,然后再补上后缀.jpgreturn
...
分类:
其他好文 时间:
2014-05-27 17:06:48
阅读次数:
304