- 博客(10)
- 收藏
- 关注
转载 ruby 学习笔记(六) Blocks
A method can then invoke an associated block one or more time using the Rubyyield statement. Thus any method that wants to take a block as a parameter can use theyield keyword to execute the block
2012-10-30 16:20:43 539
转载 ruby 学习笔记(五) Construct
Statement modifiersRuby statement modifiers are a useful shortcut if the body of an if orwhile statement is just a single expression. Simply write the expression, followed byif orwhile and the con
2012-10-30 16:05:33 281
转载 ruby 学习笔记(四) String
Listing all methods of a class or objectString.methods.sortshows you a list of methods that the Class object String responds to.String.instance_methods.sortThis method tells you all the instan
2012-10-24 17:06:42 387
转载 ruby学习笔记(三)--ruby methods
we use def and end to declare a method. Parameters are simply a list of local variable names in parentheses.We do not declare the return type; a method returns the value of the last statement execut
2012-10-23 14:29:08 526
转载 ruby 学习笔记(二)
Variables Variables in Ruby can contain data of any type. You can use variables in your Ruby programswithout any declarations. Variable name itself denotes its scope (local, global,
2012-10-23 11:22:21 229
转载 ruby 学习笔记(一)
Difference between or and || operator. Both or and || return their first argument unless it isfalse, in which case they evaluate and return their second argument. This is shown in the
2012-10-22 17:34:55 224
原创 iisreset 和 recycle application pool
iisreset:当使用命令 iisreset时,IIS的 Admin Service,WAS 和 WWW Service都会先停止再启动。这就意味着Web服务器上所有的站点和应用都会重启,那么应用中所有存在的状态都会丢失。所以除非在不得以的状况下,否则尽量不用iisreset 命令。recycle application pool:"Disable Overlapped Recycl
2012-10-22 14:24:56 1345
原创 价值驱动下的敏捷测试也应该保持测试的严谨性
在敏捷项目中,我们经常听到 “价值” 这个词,我们围绕“价值”制定原则,围绕价值进行开发和测试。在敏捷测试中就有一条非常重要的原则“使业务价值最优化”。然而在这种业务价值驱动的测试中,我们往往把非核心业务价值等同于“不重要”,从而丧失了测试本身应该具有的严谨性。 最近在产品环境下出现的一些问题,让我深深体会到了这一点。最近在产品环境能中遇到这样两个问题:1 客户内部管理员网站出现了性能问题
2012-10-19 17:32:16 435
转载 HTTP Request Processing in IIS
IIS 7 and above have a similar HTTP request-processing flow as IIS 6.0. The diagrams in this section provide an overview of an HTTP request in process.The following list describes the request-proces
2012-10-17 11:05:07 569
转载 Automating Website Creation with PowerShell v3
by TerriI stumbled across a PowerShell script that creates a website, populates it with default text page, and launches IE to test the page. This script was written for PowerShell v2. I have thought
2012-10-10 11:31:16 516
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人