摘要:
这是敏捷开发用户故事系列的第十一篇。(栏目目录)经常有人问起有没有完整的用户故事案例。本人在网上找了一下,大约能找到两三篇,但多数只是为了描述用户故事的语法而已,都不涉及用户故事的颗粒度、大量故事的组织结构这类内容。本来想用我们自己的火星人做案例,但考虑到大家都不熟悉我们的工作内容,一直没有动手。前天突然想到何不用大家都熟悉的CSDN博客系统做一个演示,所以才有此文。分析过程使用的方法是敏捷开发用户故事系列之十:八步走从用户故事生成代码结构提到的方法(前四步),如果只计算用Word生成故事树的时间,只有1小时不到(当然这是在系统已经完工的情况下,如果尚未开工正在头脑风暴,可能要花费两个人一上午 阅读全文
posted @ 2013-07-12 19:43
jlins
阅读(496)
评论(0)
推荐(0)
摘要:
今天尝试使用struts2+ urlrewrite+sitemesh部署项目,结果发现welcome-file-list中定义的欢迎页不起作用: /index.jsp 启动服务器后,直接输入http://localhost:8080/project终是报404错误,初步猜测是由于没有找到index.jsp这个文件造成的,于是在web-root下新建一个空白的index.jsp;重新启动之后成功显示,但是由于welcome-file中不能直接写action,所以对index.jsp进行改造: 这样就达到了只输入项目名就可访问的目的: 直接输入 http://localhost:8080/ ... 阅读全文
posted @ 2013-07-12 19:41
jlins
阅读(13146)
评论(0)
推荐(0)
摘要:
最长回文Time Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5158Accepted Submission(s): 1755 Problem Description 给出一个只由小写英文字符a,b,c...y,z组成的字符串S,求S中最长回文串的长度. 回文就是正反读都是一样的字符串,如aba, abba等 Input 输入有多组case,不超过120组,每组输入为一行小写英文字符a,b,c...y,z组... 阅读全文
posted @ 2013-07-12 19:39
jlins
阅读(257)
评论(0)
推荐(0)
摘要:
#include int perfect(const char *s){ char *p=s; int count_array[26]={0}; int count=26; int idle=0; int i=0; to_upper(p); while(*p) count_array[*p++ - 'A']++; sort(&count_array); for(i=0;iarray[i]) { tmp=array[j]; array[j]=... 阅读全文
posted @ 2013-07-12 19:38
jlins
阅读(324)
评论(1)
推荐(0)
摘要:
c3p0详细配置官方文档 : http://www.mchange.com/projects/c3p0/index.html 3 30 1000 false Test false 100 null false 60 3 60 15 100 ... 阅读全文
posted @ 2013-07-12 19:36
jlins
阅读(313)
评论(0)
推荐(0)
摘要:
信号量是VxWorks提供的最常用,最快速的一种任务间通信机制。VxWorks中信号量有三种:二值信号量,互斥信号量,计数信号量。下面一一介绍这三种信号量的作用与区别。信号量通常的作用就是是控制任务的同步与互斥,控制同步:任务1中等待信号量X,当任务2中提供信号量后触发任务1继续运行void fooInTask1(){ semTake(...); // wait for sem X // if sem is given, continue the execution ...}void fooInTask2(){ semGive(...); // give ... 阅读全文
posted @ 2013-07-12 19:34
jlins
阅读(2390)
评论(0)
推荐(0)
摘要:
Reverse a linked list from positionmton. Do it in-place and in one-pass. For example: Given1->2->3->4->5->NULL,m= 2 andn= 4, return1->4->3->2->5->NULL. Note: Givenm,nsatisfy the following condition: 1 ?m?n? length of list. 我给这个题深深的跪了。。。/** * Definition for singly-linked 阅读全文
posted @ 2013-07-12 19:32
jlins
阅读(299)
评论(0)
推荐(0)
摘要:
输入大写字母R、大写字母Q ,然后将字体改为Wingdings 2, 就分离得到带框的勾和叉。 阅读全文
posted @ 2013-07-12 19:30
jlins
阅读(553)
评论(0)
推荐(0)
摘要:
操作系统:CentOS release 5.5 (Final) 故障现象:网卡无故自动down掉,使用service network restart 重启后没多久又会自动down , 连接数大概在200个左右,没有arp攻击;网卡信息: [root@qs-wg-web2 ~]# cat /var/log/dmesg |grep eth0 eth0: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem d6000000, IRQ 90, node addr 842b2bfac367当前网卡驱动: [root 阅读全文
posted @ 2013-07-12 19:28
jlins
阅读(729)
评论(0)
推荐(0)
摘要:
1. git rm *,git pull会先git fetch后再git merge,更安全的做法是git fetch修改后再push;git remote rm origin2.https://bitbucket.org/ 为US免费git服务器,现在可以支持5个工程?没确定; https://hehao3344@bitbucket.org/hehao3344/mkit.git https://hehao3344@bitbucket.org/hehao3344/p2p.git 3. 如果git pull出现类似于如下错误$ git pull Password: You asked me... 阅读全文
posted @ 2013-07-12 19:26
jlins
阅读(1145)
评论(0)
推荐(0)

浙公网安备 33010602011771号