Goodspeed

07 2010 档案

一堆DLL中找一个类
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.IO;usingSystem.Reflection;usingSystem.Linq; namespaceSampleConsole{ classProgram {staticvoidMain(string[]args){stringfind="SessionState";stringd...阅读全文

posted @ 2010-07-28 15:37 Goodspeed 阅读(79) | 评论 (0) 编辑

扩展Array方法
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Array.prototype.where=function(callback){vararray=[]for(vari=0;i<this.length;i++){if(callback.apply...阅读全文

posted @ 2010-07-20 15:37 Goodspeed 阅读(55) | 评论 (0) 编辑

SQL server 2005 查看所有存储过程的内容
摘要: [代码]阅读全文

posted @ 2010-07-20 10:44 Goodspeed 阅读(70) | 评论 (0) 编辑

二分法查找(Python版)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#!/usr/bin/envpython#coding=utf-8importrandomdefdichotomy(L,K,Index):if(len(L)==1):returnIndexlength...阅读全文

posted @ 2010-07-19 17:06 Goodspeed 阅读(63) | 评论 (0) 编辑