1.校验QQ号 console.log(/^[1-9]\d{4,10}$/); // 严格控制5~11位console.log(/^[1-9]\d{4}$/); // 不小于5位即可 2.用户名 console.log(/^[\u4e00-\u9fa5a-zA-Z0-9_]{2,18}$/);con ...
分类:
编程语言 时间:
2021-01-18 10:45:03
阅读次数:
0
一:背景图像区域: background-clip:指定背景绘制区域 border-box:背景被剪裁到边框盒 padding-box:背景被剪裁到内边距框 content-box:背景被剪裁到内容框 content-box padding-box border-box <!DOCTYPE html ...
分类:
Web程序 时间:
2021-01-18 10:43:54
阅读次数:
0
strip_tags strip_tags ( string $str , string $allowable_tags = ? ) : string 该函数尝试返回给定的字符串 str 去除空字符、HTML 和 PHP 标记后的结果。它使用与函数 fgetss() 一样的机制去除标记。 str 输 ...
分类:
Web程序 时间:
2021-01-18 10:41:39
阅读次数:
0
原文地址:https://www.cnblogs.com/damoblog/p/9124937.html 方便自己查看,所以拷了一份到自己这边,方便查找 在java中所有的map都实现了Map接口,因此所有的Map(如HashMap, TreeMap, LinkedHashMap, Hashtabl ...
分类:
编程语言 时间:
2021-01-18 10:34:12
阅读次数:
0
原文地址:https://www.cnblogs.com/lixiuyu/p/5923160.html 桥接模式(Bridge)是一种结构型设计模式。Bridge 模式基于类的最小设计原则,通过使用封装、聚合及继承等行为让不同的类承担不同的职责。它的主要特点是把抽象 (Abstraction) 与行 ...
分类:
其他好文 时间:
2021-01-18 10:33:07
阅读次数:
0
当Django设置DEBUG为False时,发现admin和html的静态资源文件加载失败,折腾一段时间终于找到解决办法; 1、先在setting文件增加BASE_DIR(项目的路径) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspat ...
分类:
Web程序 时间:
2021-01-16 12:05:12
阅读次数:
0
对fd_set的理解,可以参考下:https://www.cnblogs.com/wuyepeng/p/9745573.html int select(int nfds, fd_set* readset, fd_set* writeset, fe_set* exceptset, struct tim ...
分类:
其他好文 时间:
2021-01-16 12:04:47
阅读次数:
0
from: https://www.cnblogs.com/general001/articles/3581303.html LZMA (Lempel-Ziv-Markov chain-Algorithm) 基于著名的LZ77压缩算法改进的压缩/解压工具,特点:高压缩率,高解压速度,低内存消耗,lz ...
分类:
其他好文 时间:
2021-01-16 12:02:39
阅读次数:
0
官方文档地址: https://dromara.org/zh-cn/docs/soul/user-http.html http服务就是我们自己的项目。 1.引入 soul-examples/soul-examples-http 到soul.pom中 application.yml中添加自己的soul ...
分类:
Web程序 时间:
2021-01-16 12:01:05
阅读次数:
0
一、case when的使用方法 Case具有两种格式。简单Case函数和Case搜索函数。 第一种 格式 : 简单Case函数 : 格式说明 case 列名 when 条件值1 then 选项1 when 条件值2 then 选项2....... else 默认值 end eg: select c ...
分类:
数据库 时间:
2021-01-16 11:56:08
阅读次数:
0