vim命令-查找字符串

piaoling  2013-01-08 13:21:10

vim命令-查找字符串   2012-08-21 15:28:58|  分类: VIM |字号 订阅 1. vim 中用 / 和 ? 来查找字符串,两者的区别是: /string 会高亮显示光标后匹配的第一个字符串,回车后光标移到该字符串的第一个字母; ?string 会高亮显示光标前匹配的第一个字符串,回车后光标移到该字符串的第一个字母。 在回车之后,按n键同方向转到下一个匹配的字符串,按N键反方向转到上一个匹配的字符串。   二、字符串的替换 1.......

类别 :  vim(2)  |  浏览(6276)  |  评论(0)

survey popup

piaoling  2012-12-28 15:04:11

var Survey = {         load:function(config){                      },         isUserActive:function(){                      },         calculateOccurence:function(){                                   },         ......

类别 :  默认(762)  |  浏览(5004)  |  评论(0)

Magento form field dependence

piaoling  2012-12-28 10:18:09

file : app/code/core/Mage/Adminhtml/Block/Catalog/Product/Attribute/Edit/Tab/Main.php // define field dependencies $this->setChild('form_after', $this->getLayout()->createBlock('adminhtml/widget_form_element_dependence') ->addFieldMap("is_wysiwyg_enabled", 'wysiwyg_enabled')//param1 is form element id, param2 is element maped ->addFieldMap("is_html_allowed_on_front", 'html_allowed_on_front') ->addFieldMap("frontend_input", 'frontend_input_type') ->addFieldDependence('wysiw......

类别 :  magento(258)  |  浏览(7065)  |  评论(0)

jQuery idleTimer plugin

piaoling  2012-12-27 14:46:04

jQuery idleTimer plugin June 3rd, 2009 There are a few cases where you want to know if the user is idle. Namely: You want to preload more assets You want to grab their attention to pull them back You want close their banking session after 5 minutes of inactivity.(Jerk!) You want the site to sneak off the screen and see if they notice ;-) Nick Zakas wrote a script for YUI3 to handle these cases. His writeup has a great description of the architecture approach he took to the script. In my jQuery adaptation, I did a few different things: Leveraged......

类别 :  JS(21)  |  浏览(5610)  |  评论(0)

test

piaoling  2012-12-13 11:21:12

......

类别 :  默认(762)  |  浏览(4026)  |  评论(0)

letter to daughter

piaoling  2012-12-07 10:39:19

......

类别 :  默认(762)  |  浏览(3868)  |  评论(0)

http://fyyy.tv/index/index.htm

piaoling  2012-12-05 11:45:25

http://fyyy.tv/index/index.htm......

类别 :  默认(762)  |  浏览(5323)  |  评论(0)

S.O.L.I.D.类设计原则

piaoling  2012-12-04 13:46:17

本文是由敏捷宣言签署人之一、《 Clean Code(代码整洁之道)》一书的作者Robert C. Martin为他的《Applying Principles and Patterns》这本书搜集整理而来。 单一责任原则(SRP) 只有一个理由去修改一个类。例如,如果一个业务规则的改变会导致这个类的修改,那么,数据库、界面、报表格式或系统任何其它的部分的改变都不该迫使这个类做修改。 http://davidhayden.com/blog/dave/archive/2005/05/29/1066.aspx http://c2.com/cgi/wiki?SingleResponsibilityPrinciple 《Head First 设计模式》 ......

类别 :  PHP(78)  |  浏览(5761)  |  评论(0)

show popup

piaoling  2012-11-23 16:41:56

wogerWarningPopup = {     inBody: false,     popupNode: '<div id="jqmWarningPopup" class="jqmWindow"><div class="jqmClose"></div><div class="jqmnContent"></div></div>',     init: function(){         $('body').append($(this.popupNode));     },     show: function(title, message){         if(!this.inBody){             this.init();    &......

类别 :  默认(762)  |  浏览(4577)  |  评论(0)

清华差生10年奋斗经历

piaoling  2012-11-22 16:54:26

资深电信营销和战略专家王煜全解读创业战况 包凡一:如何写好留学文书 如何用微博开展平台活动 汤敏:如何培养想象力 导语:清华“差生”10年奋斗经历,只写事业,不写女人。作者从2004年本科毕业写到2012年,近10年的奋斗经历。反正一字一句看完后,各种反省各种彻悟。不要老去抱怨别人“天时地利人和”,做好当下,后来人或许还会羡慕嫉妒恨你。 我的故事里有三个人:我自己、我大学同宿舍的哥们、我第一个公司的直接领导......

类别 :  默认(762)  |  浏览(4633)  |  评论(0)
  • Page:16/147  1462 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类