Xiao Peng

My personal blog moves to xiaopeng.me , blogs about design patterns will be synced to here.
肖鹏,ThoughtWorks资深咨询师,目前关注于架构模式、敏捷软件开发等领域,并致力于软件开发最佳实践的推广和应用。
多次为国内大型企业敏捷组织转型提供咨询和培训服务,在大型团队持续集成方面具有丰富的经验。
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 ··· 13 下一页

2011年2月17日

摘要: All The Cheat Sheets That A Web Developer Needs | Top Design Magazine - Web Design and Digital Content (tags: javascript html css jquery programming) ... 阅读全文

posted @ 2011-02-17 17:01 勇敢的鸵鸟 阅读(88) 评论(0) 推荐(0)

2011年2月16日

摘要: jasmine will create Suite before loading the report html. You code like:[javascript]var canvasDiv;canvasDiv = new Element('div', {'id': 'canvas'});canvasDiv.update('hello world');// the following make... 阅读全文

posted @ 2011-02-16 17:41 勇敢的鸵鸟 阅读(186) 评论(0) 推荐(0)

2011年2月15日

摘要: http://stackoverflow.com/questions/980697/element-dispatchevent-is-not-a-function-js-error-caught-in-firebug-of-ff3-0I'm using jasmine for a rail project. Prototype and jQuery are both loaded by jasmi... 阅读全文

posted @ 2011-02-15 17:56 勇敢的鸵鸟 阅读(861) 评论(0) 推荐(0)

2011年2月14日

摘要: From: http://www.realgeek.com/forums/years-in-dates-showing-up-as-yy-469226.htmlI had a theory working that there may have been some conflict with my system regional settings. I had them set to China... 阅读全文

posted @ 2011-02-14 11:36 勇敢的鸵鸟 阅读(126) 评论(0) 推荐(0)

2011年2月13日

摘要: 1. baidu input method:http://mi.baidu.com2. kuaidialhttp://kuaidial.googlecode.com/svn/deb3. uchttp://uc.cn/cydia24. 360http://m.360.cn/cydia 阅读全文

posted @ 2011-02-13 17:49 勇敢的鸵鸟 阅读(118) 评论(0) 推荐(0)

2011年2月11日

摘要: from: http://www.brainjar.com/css/positioning/default.aspBox:1. Margins are always transparent.2. Background settings aplly to padding and content areas.3. The width and height of each box is equal to... 阅读全文

posted @ 2011-02-11 14:59 勇敢的鸵鸟 阅读(181) 评论(0) 推荐(0)

2011年2月9日

摘要: Today, after upgrade and re-jailbroke my iphone, when I try to ssh to it, I got some error message like this:[bash]The fingerprint for the RSA key sent by the remote host is5c:9b:16:56:a6:cd:11:10:3a:... 阅读全文

posted @ 2011-02-09 19:34 勇敢的鸵鸟 阅读(594) 评论(0) 推荐(0)

摘要: We have write a lot of ajax code with the help of jQuery or other helper library. Now let's see what a raw ajax code looks like![sourcecode language="html"]Call server-side function [/sourcecode] 阅读全文

posted @ 2011-02-09 14:54 勇敢的鸵鸟 阅读(175) 评论(0) 推荐(0)

2011年1月31日

摘要: On host[bash]$ cd ~$ sudo apt-get lxc$ sudo mkdir /var/local/cgroup$ sudo vi /etc/fstab# add this line:# cgroup /var/local/cgroup cgroup defaults 0 0$ sudo mount cgroup$ git clone https://github.... 阅读全文

posted @ 2011-01-31 11:45 勇敢的鸵鸟 阅读(280) 评论(0) 推荐(0)

摘要: Enable passanger on control panel. Assume your public folder is depot.xiaopeng.me/public[bash]# git checkout your rails project$ git clone file:///home/pxiao/git-repos/depot.git$ rm -rf depot.xiaopeng... 阅读全文

posted @ 2011-01-31 08:57 勇敢的鸵鸟 阅读(120) 评论(0) 推荐(0)

2011年1月30日

摘要: This is to setup a developement environment for Ruby 1.87 and Rails 2.2.3 on Ubuntu 10.04 (Lucid).[sourcecode language="bash"]# make sure ubuntu is up to date$ sudo apt-get update$ sudo apt-get dist-u... 阅读全文

posted @ 2011-01-30 22:23 勇敢的鸵鸟 阅读(187) 评论(0) 推荐(0)

摘要: [sourcecode language="bash"]$ cd ~# create a dir for your repositories$ mkdir git-repos# create a dir for your project e.g. depot$ mkdir depot.git$ init the dir$ git --bare init$ cd ..# create a tmp f... 阅读全文

posted @ 2011-01-30 17:34 勇敢的鸵鸟 阅读(352) 评论(0) 推荐(0)

摘要: From:http://tedwise.com/2009/02/26/dark-pastels-theme-for-intellij-idea/Tested on idea10.I’ve been using the ported Vibrant Ink theme for IntelliJ IDEA for a while but got envious looking at the Dark ... 阅读全文

posted @ 2011-01-30 15:48 勇敢的鸵鸟 阅读(458) 评论(0) 推荐(0)

2011年1月28日

摘要: If you have had a rails project$ ruby script/consoleYou got something like this:Loading development environment (Rails 2.2.3)If not, try:gem list | grep 'rails' 阅读全文

posted @ 2011-01-28 15:48 勇敢的鸵鸟 阅读(118) 评论(0) 推荐(0)

摘要: I used the 'shift+h' and 'shift+l' for going back and forward heavily.Now see :help :map. It allows you to map keys to what you want. For example::map x :map c 阅读全文

posted @ 2011-01-28 12:03 勇敢的鸵鸟 阅读(143) 评论(0) 推荐(0)

摘要: The best way to stretch an image to fit the background of a page is to use the CSS 3 property, background-size: body { background: url(bgimage.jpg) no-repeat; background-size: 100%; } ... 阅读全文

posted @ 2011-01-28 09:03 勇敢的鸵鸟 阅读(204) 评论(0) 推荐(0)

摘要: =Hello===Hello there=====Hello there===# something# else 阅读全文

posted @ 2011-01-28 08:47 勇敢的鸵鸟 阅读(164) 评论(0) 推荐(0)

2011年1月27日

摘要: 按理说这三个词都不算新鲜了。本文主要是整理一下其他人对这几个概念的论述。 本文要回答的基本问题:IoC(和其他几个技术)到底解决什么问题? 历史 有很多术语名词,由于时代的变迁,其含义可能发生了变化或者人们忘记了当初引入这个名词或者技术的背景。我们简单回顾一些IoC及其相关术语和技术的背景,希望从中能够找到一些理解这些技术的线索。 目前可以在网上找到的最早的资料是1988年的Design ... 阅读全文

posted @ 2011-01-27 21:38 勇敢的鸵鸟 阅读(419) 评论(0) 推荐(0)

摘要: YTo4OntzOjk6IndpZGdldF9pZCI7czoyMDoid3lzaWphLW5sLTEzNjI0NzkwMDciO3M6NToibGlzdHMiO2E6MTp7aTowO3M6MToiMSI7fXM6MTA6Imxpc3RzX25hbWUiO2E6MTp7aToxO3M6MTM6Ik15IGZpcnN0IGxpc3QiO31zOjEyOiJhdXRvcmVnaXN0ZXIiO3M6... 阅读全文

posted @ 2011-01-27 17:22 勇敢的鸵鸟 阅读(294) 评论(0) 推荐(0)

2010年12月31日

摘要: 胡凯和熊节分别发布了自己的5个优势或者特质。我也总结一下我的吧。 坚持。人们对摩羯座最大的恭维,莫过于——万王之王的称号。做事情有头有尾。就拿我现在在翻译的POSA第4/5卷来说,两本书翻上3年多,虽然不是太光荣的事情,但是我毕竟把它做完了,而且中间我从来没有想过放弃。 保守。我非常热衷变化,但是我总能想办法找到更小的变化。所以,我做咨询的时候,客户说还是你为我们着想,因为我在三个人里面总是扮演把“激进的”方案往回拉的那个人。 表现欲。我的价值观第一条就是影响力。要达到影响力,首先就要表现。而反过来我的保守让我只有在有九成把握的时候才出来表现,确让我浪费了很多机会。 设身处地。本能的从别人的 阅读全文

posted @ 2010-12-31 21:17 勇敢的鸵鸟 阅读(872) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 13 下一页