学习设计模式目的:1.)更好的利用前人总结出的经验;2.)强化面向对象思想,强化职业素质,提升代码可读性,用来解决问题(避免给自己挖坑)。导读:1.)创建型设计模式(5种): 1.1.)单例(Single Pattern) 1.2.)工厂方法(Factory Method) 1.3.)抽象工...
分类:
其他好文 时间:
2014-10-26 01:31:51
阅读次数:
161
在开机读秒的时候,按下任意键进入如下页面
输入 e, 进入这个页面,上下移动至高亮条到中间
输入e, 进入这个页面
在这个页面中,追加 “single”, 按下确定
更新之后的启动命令界面,这时按下 b, 进入单用户维护模式
按下 b 之后,启动显示的页面
输入 passwd , 输入两次密码之后,在输入 re...
分类:
其他好文 时间:
2014-10-25 23:05:49
阅读次数:
358
如果忘记root口令,执行如下图步骤,可修改口令!开机5秒内按下任意键进入grub菜单按e键进行编辑在行尾添加1或者添加single添加后,boot键启动,进入系统,重新修改口令或者删除!修改完,重新启动!
分类:
系统相关 时间:
2014-10-25 02:09:37
阅读次数:
217
题目
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement i...
分类:
其他好文 时间:
2014-10-25 00:51:38
阅读次数:
214
单选的select:$("#single").val("Single2");多选的select:$("#multiple").val(["Multiple2", "Multiple3"]); //注意是数组形式里边checkbox和radio: check1 check2 radio1 radio....
分类:
Web程序 时间:
2014-10-24 18:48:15
阅读次数:
203
用好Drools 中的表达式是你的规则引擎能否强大的必要条件http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html_single/index.html下面列出了几个个人认为比较重要的点:ANDDrools 默认的并列表达式就...
分类:
其他好文 时间:
2014-10-24 18:41:44
阅读次数:
139
问题描述:
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without ...
分类:
其他好文 时间:
2014-10-24 13:08:49
阅读次数:
221
/** * Take a String which is a delimited list and convert it to a String array. * A single delimiter can consists of more than one charact...
分类:
编程语言 时间:
2014-10-24 06:52:05
阅读次数:
349
Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex charactersMongoDB GUI工具 Mongo-Editif (xxx.length !== 24) {}
分类:
其他好文 时间:
2014-10-24 01:31:31
阅读次数:
145
1. Fragments A Fragment represents a behavior or a portion of user interface in an Activity. You can combine multiple fragments in a single activity.....
分类:
移动开发 时间:
2014-10-23 22:20:50
阅读次数:
458