The string "PAYPALISHIRING" is written in a
zigzag pattern on a given number of rows like this: (you may want to display
this pattern in a fixed font ...
分类:
其他好文 时间:
2014-05-24 04:13:54
阅读次数:
284
This blog post introduces the problem with
Globals, Side Effect when Forgetting var, Access the Global Object, Single var
Pattern and Hoisting: A prob...
分类:
编程语言 时间:
2014-05-20 01:30:31
阅读次数:
404
正则表达式两类:Pattern模式类和Matcher匹配类
Pattern主要是用来编译模型和生成匹配器matcher;正则表达式基本方法 //定义一个pattern,该pattern就是个f空两个k的模式Pattern
p=Pattern.compile("f(.+?)(.+?)(.+...
分类:
编程语言 时间:
2014-05-19 18:29:37
阅读次数:
270
近段时间发现自己越来越懒了,老师早就讲过的东西,一直没有总结!百度了一下,给的答案是设计模式总共23种。简单工厂属于其中一种,而单例模式并不是其中一种。今天总结下使用这两种模式写的项目。设计模式:设计模式(Design
pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总...
分类:
其他好文 时间:
2014-05-19 16:30:58
阅读次数:
303
.val()works on input elements (or any element
with a value attribute?) and.text()will not work on input elements..val()gets
the value of the input ele...
分类:
Web程序 时间:
2014-05-19 12:14:34
阅读次数:
382
// 测试打开一个文件var fileref = new File
("/E/work/没有图片提交/2014/2014.5.19/G20/部件渲染测试/png/tianji_1-41001_bujian35.png")var
docref = app.open (fileref)// 打印路径 /...
分类:
其他好文 时间:
2014-05-18 19:58:07
阅读次数:
272
1、
??
ZigZag Conversion
The string "PAYPALISHIRING" is
written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibili...
分类:
其他好文 时间:
2014-05-18 07:56:49
阅读次数:
407
VMSTATNAME:Vmstat:报告虚拟内存统计语法: vmstat [-a] [-n]
[-t] [-S unit] [delay [ count]] vmstat [-s] [-n] [-S unit] vmstat [-m] [-n]
[delay [ count]] vmstat [-d...
分类:
系统相关 时间:
2014-05-18 02:35:58
阅读次数:
349
This work was partially performed when the first
author wasa visitor at NCSU, supported by a fellowship from the Universityof
Pisa and MURST, Italy.Th...
分类:
其他好文 时间:
2014-05-17 21:20:32
阅读次数:
342
设计模式(Design
pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。
毫无疑问,设计模式于己于他人于系统都是多赢的;设计模式使代码编制真正工程化;设计模式是软件工程的基石脉络,如同大厦的结构...
分类:
其他好文 时间:
2014-05-17 14:21:06
阅读次数:
323