随笔分类 -  摘录

上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要:运行中键入:dcomcnfg 阅读全文
posted @ 2012-01-18 14:38 庚武 阅读(239) 评论(0) 推荐(0) 编辑
摘要:AppendersThe ability to selectively enable or disable logging requests based on their logger is only part of the picture. Log4net allows logging requests to print to multiple destinations. In log4net speak, an output destination is called an appender. Appenders must implement the log4net.Appenders.I 阅读全文
posted @ 2011-12-14 23:44 庚武 阅读(491) 评论(0) 推荐(0) 编辑
摘要:from:http://apps.hi.baidu.com/share/detail/33618052二、VI/VIM基础知识 很多人应该都知道VI是个有模式的编辑器:编辑模式和命令模式,按ESC回到命令模式,用i或者a进入编辑模式,由于区分了模式,导致VI的命令非常简洁,而无模式编辑器比如Emacs,所有的命令都需要加上控制键Ctrl或Alt,所以有个笑话说Emacser们最希望计算机备一个脚踏板,这样就可以用脚踩Ctrl和Alt键了(编辑器圣战——在VI和Emacs之间有很多口水战,自然也引出非常多的幽默),这里罗嗦一句VI vs. Emacs: VI继承了ed的理念,另外也有历史原... 阅读全文
posted @ 2011-11-24 11:43 庚武 阅读(1363) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2011-11-24 09:36 庚武 阅读(1) 评论(0) 推荐(0) 编辑
摘要:http://download.oracle.com/docs/cd/B10500_01/server.920/a96524/c03block.htmIntroduction to Data Blocks, Extents, and SegmentsOracle allocates logical database space for all data in a database. The units of database space allocation are data blocks, extents, and segments.Figure2-1shows the relationsh 阅读全文
posted @ 2011-11-09 13:46 庚武 阅读(340) 评论(0) 推荐(0) 编辑
摘要:“有人说:女生到社会上会遇到比学校更优秀的男生,而男生很难找到比在学校更好的女生,我现在告诉你,这句话你们都理解错了。这句话的意思是:男生在校园 都还不成熟,19到25岁的男孩一般都比同龄女孩显得放不开,但到社会上,很快男人变的就优秀的多了,这说明大学几年是男生成熟的重要时期。而女生到社会 变的实际了,于是就有了你们经常听到的那一句话!而我一直认为,清华大学比北京大学的男生优秀就在于清华大学的男生能学会等待!这也就是为什么清华出的国 家领导人要远远多于北大。一个男人,是需要孤独的,如果你忍受不了孤独,只能说明你内心还不够强大!很多男生认为能证明自己的魅力在于自己有多少朋友,有 多么漂亮的女朋友 阅读全文
posted @ 2011-11-09 10:36 庚武 阅读(342) 评论(1) 推荐(0) 编辑
摘要:from: http://msdn.microsoft.com/en-us/library/system.data.entity.dbcontext(v=vs.103).aspxDbContextwrapsObjectContextand exposes the most commonly used features ofObjectContextby using simplified and more intuitive APIs. You can access the underlyingObjectContextwhenever you need to use features that 阅读全文
posted @ 2011-10-31 14:59 庚武 阅读(1139) 评论(0) 推荐(0) 编辑
摘要:/*****************************************************///Create Class With Interface Dependencies#region//需要某实现某接口的具体实例UnityContainer container=new UnityContainer();container.RegisterType(ILogger,NullLogger>();Database datavase = container.Resolve<CustomDatabase>Database();#endregionCustomD 阅读全文
posted @ 2011-10-31 01:55 庚武 阅读(270) 评论(0) 推荐(0) 编辑
摘要:http://martinfowler.com/articles/injection.htmlInversion of ControlWhen these containers talk about how they are so useful because they implement "Inversion of Control" I end up very puzzled.Inversion of controlis a common characteristic of frameworks, so saying that these lightweight cont 阅读全文
posted @ 2011-10-31 00:55 庚武 阅读(288) 评论(0) 推荐(0) 编辑
摘要:Each process provides the resources needed to execute a program. A process has a virtual address space, executable code, open handles to system objects, a security context, a unique process identifier, environment variables, a priority class, minimum and maximum working set sizes, and at least one t 阅读全文
posted @ 2011-10-21 15:12 庚武 阅读(271) 评论(0) 推荐(0) 编辑
摘要:from:http://www.haskell.org/haskellwiki/Haskell_in_5_steps#Write_your_first_parallel_Haskell_program起由: Write your first parallel Haskell programHaskell has good support for parallel and multicore programming. We can write a parallel program by adding `par` to expressions, like so:import Control.Par 阅读全文
posted @ 2011-10-20 15:10 庚武 阅读(2125) 评论(1) 推荐(0) 编辑
摘要:转载自 http://xuliduo.iteye.com/blog/639923dos命令:chcp 65001 就是换成UTF-8代码页 chcp 936 可以换回默认的GBK chcp 437 是美国英语 阅读全文
posted @ 2011-10-07 02:11 庚武 阅读(2135) 评论(0) 推荐(0) 编辑
摘要:Ultimate Packer for eXecutables Copyright (C) 1996 - 2010UPX 3.07w Markus Oberhumer, Laszlo Molnar & John Reiser Sep 08th 2010Usage: upx [-123456789dlthVL] [-qvfk] [-o file] file..Commands: -1 compress faster -9 compre... 阅读全文
posted @ 2011-10-06 16:00 庚武 阅读(505) 评论(0) 推荐(0) 编辑
摘要:突然发现某数据库的日志已经1.5G了,然而原来使用的截断日志的语句在2008中已经失效,在网上搜寻了一些方法,验证下面方法是有效的:首先检查目标数据库的恢复模式:SELECT NAME, recovery_model_desc FROM sys.databases如果是Full,则需要改为Simple:ALTER DATABASE Test SET Recovery simple然后收缩日志文件:DBCC SHRINKFILE (N'test_log' , 10)第一个参数是日志文件名,第二个参数是目标文件大小,以M为单位。第一个参数名可以用以下方法确定:USE DreamFr 阅读全文
posted @ 2011-09-25 00:03 庚武 阅读(1853) 评论(0) 推荐(0) 编辑
摘要:http://www.slyar.com/blog/win7-oracle-10g-error.html首先下对版本,Oracle 10g支持Win7版:http://download.oracle.com/otn/nt/oracle10g/10203/10203_vista_w2k8_x86_production_db.zip错误A:正在检查操作系统要求...要求的结果: 5.0,5.1,5.2,6.0 之一实际结果: 6.1检查完成。此次检查的总体结果为: 失败 <<<<问题: Oracle Database 11g 未在当前操作系统中经过认证。建议案: 确保在正确 阅读全文
posted @ 2011-09-20 18:44 庚武 编辑
摘要:罗素-我为什么而活(中英文)What I have Lived For——Bertrand Russell Three passions,simple but overwhelmingly strong,have governed my life: the longing for love,the 阅读全文
posted @ 2011-09-16 11:34 庚武 阅读(3218) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/4591638/spring-net-ref-to-dictionary-item<object name="Paths" id="Paths" type="System.Collections.Generic.Dictionary&lt;string,string&gt;"> <constructor-arg> <dictionary key-type="string" value-type=&qu 阅读全文
posted @ 2011-09-10 17:37 庚武 阅读(1033) 评论(0) 推荐(0) 编辑
摘要:http://shqkm.blog.163.com/blog/static/794804172010323102545265/Oracle Connect By用法oracle中的select语句可以用START WITH...CONNECT BY PRIOR子句实现递归查询,connect by 是结构化查询中用到的,其基本语法是:select ... from <TableName>where <Conditional-1>start with <Conditional-2>connect by <Conditional-3>;<Con 阅读全文
posted @ 2011-09-08 12:23 庚武 阅读(272) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2011-08-31 17:49 庚武 阅读(1) 评论(0) 推荐(0) 编辑
摘要:under Ubuntu:sudo apt-get install chmsee 阅读全文
posted @ 2011-08-20 10:36 庚武 阅读(217) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 12 下一页