题目:
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 legibility)
P A H N
A...
分类:
编程语言 时间:
2015-07-06 12:25:10
阅读次数:
143
Python的修饰器的英文名叫Decorator,当你看到这个英文名的时候,你可能会把其跟Design Pattern里的Decorator搞混了,其实这是完全不同的两个东西。虽然好像,他们要干的事都很相似——都是想要对一个已有的模块做一些“修饰工作”,所谓修饰工作就是想给现有的模块加上一些小装饰(...
分类:
编程语言 时间:
2015-07-06 11:35:21
阅读次数:
240
<!--form.html-->
<!DOCTYPEhtml>
<htmlng-app="firstMoudule"lang="zh-CN">
<head>
<metacharset=‘utf-8‘>
<linkrel="stylesheet"href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.css">
<linkrel="stylesheet"href="../..
分类:
Web程序 时间:
2015-07-05 07:17:00
阅读次数:
218
工厂方法模式(Factory method pattern)flyfish 2015-7-4工厂方法模式正式定义 - 引用《HeadFirst 设计模式》
Define an interface for creating an object,but let subclasses decide
which class to instantiate.Factory Method lets a...
分类:
其他好文 时间:
2015-07-04 19:47:55
阅读次数:
149
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 fo...
分类:
其他好文 时间:
2015-07-04 18:06:34
阅读次数:
86
grep(GlobalsearchREgularexpressionandPrintouttheline.)是一个文本搜索工具,根据用户指定的文本模式(搜索条件)对目标文件进行逐行搜索,显示能匹配到的行。使用man命令查看grep使用语法格式:grep[OPTIONS]PATTERN[FILE...]grep[OPTIONS][-ePATTERN|-fFILE][FILE...]其..
分类:
其他好文 时间:
2015-07-04 16:52:41
阅读次数:
85
<pre>day08昨天内容回顾(1)servlet三种实现的方式(2)servlet的生命周期*三个方法initservicedestroy(3)URL-Pattern的配置有三种(4)路径的问题*绝对路径/day09/....*重定向和转发(5)ServletConfig对象*初始化参数的配置<init-param><param-name><..
分类:
其他好文 时间:
2015-07-04 01:00:28
阅读次数:
257
最近准备从物体检测的角度来重新审视文本检测这个方向,所以看了下CNN大火以后的几篇经典文献,OverFeat,Region CNN, Dense Neural Pattern等等。
对这个方向来说,百闻不如一试,趁着其他程序还在跑没什么事,我安装了一下RCNN来看看效果...
分类:
其他好文 时间:
2015-07-03 19:19:28
阅读次数:
436
strokeStyle定义和用法strokeStyle 属性设置或返回用于笔触的颜色、渐变或模式。context.strokeStyle=color|gradient|pattern;//指示绘图填充色的CSS颜色值|用于填充绘图的渐变对象线性或放射性|用于填充绘图的 pattern 对象实例 1绘...
public static boolean regexUdpUrl(String url) { if (url == null) return false; Pattern pattern = Pattern .compile("[udp]+[://]+((\\d){1,})+\\.(...
分类:
编程语言 时间:
2015-07-03 15:20:44
阅读次数:
188