Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a lette ...
分类:
其他好文 时间:
2018-10-02 14:05:32
阅读次数:
219
Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a lette ...
分类:
其他好文 时间:
2018-10-02 13:50:22
阅读次数:
187
1.什么是设计模式 (1)设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结. (2)此术语是在1990年代由Erich Gamma等人从建筑设计领域引入到计算机科学中来的。 (3)使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码 ...
分类:
编程语言 时间:
2018-09-30 20:04:52
阅读次数:
149
全局替换 :%s/172.18.0.4/10.10.10.22/g vim 跳转到某一指定行 :12 跳转到某一指定行 查找命令 /pattern<Enter> :向下查找pattern匹配字符串 ?pattern<Enter>:向上查找pattern匹配字符串 使用了查找命令之后,使用如下两个键快 ...
分类:
其他好文 时间:
2018-09-30 14:52:31
阅读次数:
132
设计模式 2018-09-29 23:46:41 class object{ design pattern } https://blog.csdn.net/lovelion/article/details/17517213 #设计模式讲解 DSA释义 2018-09-29 23:53:41 clas ...
分类:
其他好文 时间:
2018-09-30 00:23:35
阅读次数:
227
表格表单 一、表格 1、基本结构 2、常用属性 3、垂直水平居中 二、表单 1、基本结构 2、input常用类型 3、常用类型标签 文本框 密文框 单选框 复选框 下拉选项 多行文本输入 按钮 4、全局属性 required:必填项 pattern:正则 5、伪类 focus:获得焦点 ...
分类:
其他好文 时间:
2018-09-28 20:43:09
阅读次数:
179
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 ...
分类:
其他好文 时间:
2018-09-28 19:13:37
阅读次数:
164
# -*- coding: utf-8 -*- ''' 1.discover方法里面有三个参数: -case_dir:这个是待执行用例的目录。 -pattern:这个是匹配脚本名称的规则,test*.py意思是匹配test开头的所有脚本。 -top_level_dir:这个是顶层目录的名称,一般默认... ...
分类:
Web程序 时间:
2018-09-28 13:47:13
阅读次数:
299
"""dailyfresh URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/to... ...
分类:
Web程序 时间:
2018-09-27 22:56:55
阅读次数:
227
本文采用Calendar 实现 ,当然也可以用java8提供的愉快且方便的时间处理- LocalDate ...
分类:
编程语言 时间:
2018-09-27 11:16:37
阅读次数:
342