`
IvanLi
  • 浏览: 599394 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
class Command(threading.Thread): def __init__(self, command, cwd=None, writeConsole=True, timeout=60): threading.Thread.__init__(self) self.command = command self.cwd = cwd self.writeConsole = writeConsole self.timeout = timeout def run(sel ...
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>hibernate3-maven-plugin</artifactId> <configuration> <components> <component> <name>hbm2ddl</name> </component> </component ...
    sudo rm /usr/local/mysql     sudo rm -rf /usr/local/mysql*     sudo rm -rf /Library/StartupItems/MySQLCOM     sudo rm -rf /Library/PreferencePanes/My*     edit /etc/hostconfig and remove the line MYSQLCOM=-YES-     sudo rm -rf /Library/Receipts/mysql*     sudo rm -rf /Library/Receipts/MySQL*     ...
copy from http://www.vi-improved.org/vimrc.php " Modeline and Notes { " vim: set foldmarker={,} foldlevel=0 spell: " " This is my personal .vimrc, I don't recommend you copy it, just " use the " pieces you want(and understand!). When you copy a " .vimrc i ...
东北孩子小的时候,玩嘎啦哈,弹流流,扇pia几,滑爬篱,男孩子皮实,不喜欢女孩子成天尿叽的样子,所以长大后特尿性。 东北孩子小的时候,门牙卡掉过,波了盖儿在马路牙子上卡突噜皮了,回到家后爸妈总会问:咋整的啊,一天天毛楞三光的! 东北孩子小的时候,贼淘,晒的雀黑,每晚回到家小脸都魂儿画儿的,爸妈总会说:成天遥哪瞎跑,瞅你那脸,埋了巴汰的! 东北孩子小的时候,上课不听讲,唠嗑,瞎闹,滋哇乔叫唤,把老师整激眼了说:天天上课瞎白乎,不听课! 东北孩子小的时候,在课堂上喜欢吵吵,吵吵到鸡赤掰脸,旁边的人烦了说:你们俩找削啊!东北孩子各应爱溜虚拍马的屁精,看见了总恨不得谁家的驴撂蹶子踢他 一脚。 ...

老公日记

>> > ※ 亲与被亲 >> > 1. 今天晚饭评论老婆手艺。饭后被罚刷碗。 >> > 2. 今天老婆讲了一个笑话,我没有笑。花了一个小时哄老婆笑。 >> > 3. 今天捉到老婆早晨上班忘记关灯。罚老婆五块。 >> & ...
add <property name="hibernate.hbm2ddl.auto" value="create-drop"/> to hibernate property this will re-create table when SessionFactory init, drop table when session factory close add HSQLDB dependency into pom.xml   <dependency> <groupId& ...
xrandr --newmode "1280x1024" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +VSync xrandr --addmode VGA1 "1280x1024" xrandr --output VGA1 --mode "1280x1024"
//this field are used tp escape XSS script attach //get all the html 4 event from http://www.w3schools.com/Html/html_eventattributes.asp private static final String[][] XSS_CHARS_ESCAPE = { //Window Events {"onload", "on_load"}, {"onunl ...
def info(object, spanding=10, collapse=1): """Print methods doc string. Takes Module, class, list or string""" methodList = [method for method in dir(object) if callable(getattr(object,method))] processFunc = collapse and (lambda s: " " ...
1: waitForCondition(contidtion, timeout) 2:selenium.browserbot.getCurrentWindow().document 下面是sample 用法   req_rsvn_01 open /itr/secure/index.jsp clickAndWait link=Request & Manage Reservations (Week at a Glance) waitForCondition selenium.browserbot.getCurrentWindow().document.forms ...
findBugs, PMD, CheckStyle findBugs跟PMD的对比文章 http://www.freesoftwaremagazine.com/columns/destroy_annoying_bugs_part_1 我的理解要点 findBugs针对class,jar文件检查,PMD针对source code做检查,初步来看好像PMD对IDE的支持比较好,打算初步使用PMD来做checkstyle 工具。 其实更好的check style工具是通过pair programm产生的,什么是好的代码结构,能够让pair理解的代码结构就是好的代码结构。
CI工具除了hudson,还有很多,例如CruiseControl, Continuum,Luntbuild,Hudson,还有TW的Crouse 这里有一篇介绍CI工具的文章 http://groups.google.com/group/EtoE/browse_thread/thread/b6675c74c03a621b?pli=1 CI即持续集成,最早有Martin Fowler,在2000年提出,想做CI,必须先有自动化测试,自动化测试的基础,是要有单元测试。没有自动化测试,CI简直就是空谈
原文地址:http://www.ibiblio.org/pub/packages/solaris/sparc/html/creating.solaris.packages.html 介绍: solaris 软件包可以使软件很容易的安装到solaris系统中。软件的所有部分都被一个目录文件描述。借助包管理工具您可以在solaris系统中很方便得安装,更新,删除软件,而不用担心“恶意文件”存留,或者错误的配置,或者软件的未完全安装。 软件包的创建过程大体上是安装一次软件,然后把软件组织成一个软件安装包,这个软件安装包可以被快速的安装到其他solaris系统,同时可以很容易的在本机卸载。 本文档将使 ...
http://www.lslnet.com/linux/f/docs1/i66/big5430404.htm   SVR4 串讲 -1、什么是SVR4,我们为什么要选择SVR4 SVR4是UNIX操作系统的一种新的内核标准,是迄今为止内核版本最新的UNIX SVR4并不代表一个具体的UNIX变体,而只是一个内核的标准。SVR4有极高的标准性,那意味着你学好了SVR4可以在所有SVR4内核的操作系统上进行统一的操作(不会产生学习了一个UNIX系统还要学习另外的困惑) SVR4(UNIX System V Release4)是AT&T在1989年首次发行的;SVR4集成SVR3 ...
Global site tag (gtag.js) - Google Analytics