PHP验证手机号码正则表达式 验证是否是手机号码的正则表达式 代码: /** * 验证输入的手机号码 * @access public * @param string $user_mobile 需要验证的手机号码 * @return bool */ function is_mobile($user_ ...
分类:
移动开发 时间:
2020-06-14 23:38:06
阅读次数:
626
获取上传签名代码 /** * 获取签名 * @return */ public OssSignature getSignature(OSSClient ossClient,OssProperties ossProperties,String fileName) { /** * host的格式为 bu ...
分类:
编程语言 时间:
2020-06-14 20:20:42
阅读次数:
54
//用PrintWriter写入文件 import java.io.IOException; import java.io.PrintWriter; public class PrintWriteDemo { public static void main(String[] args) throws ...
分类:
编程语言 时间:
2020-06-14 19:07:58
阅读次数:
140
func merge(left,right []int) (result []int) { r,l := 0,0 for l < len(left) && r < len(right) { if left[l] < right[r]{ result = append(result,left[l]) ...
分类:
编程语言 时间:
2020-06-14 19:03:35
阅读次数:
62
Accessing data using cursors ArcGIS 10.7 Locate topic A cursor is a data access object that can be used to either iterate over the set of rows in a ta... ...
分类:
数据库 时间:
2020-06-14 19:00:06
阅读次数:
82
1.The quick brown fox jumps over a lazy dog. 那只敏捷的棕色狐狸跳过了一只懒惰的狗。 这个句子包含了英语中的26个字母。 2.Was it a bar or a bat I saw ? 我看到的是酒吧还是蝙蝠? 这是一句回文句,顺着读和倒着读是一样的。类似 ...
分类:
其他好文 时间:
2020-06-14 15:00:27
阅读次数:
74
一、概述操作Excel的类库:NPOI: V2.4.1 快速生成 https://github.com/tonyqus/npoiMyXls:Aspose.Cell.dll :收费Fpplus.Excel:2007、2010NPOI 是 POI 项目的 .NET 版本。POI是一个开源的Java读写E... ...
分类:
其他好文 时间:
2020-06-14 11:17:08
阅读次数:
62
目标:使用Python编写爬虫,获取链家青岛站的房产信息,然后对爬取的房产信息进行分析。 环境:win10+python3.8+pycharm Python库: 1 import requests 2 import bs4 3 from bs4 import BeautifulSoup 4 impo ...
分类:
编程语言 时间:
2020-06-13 23:25:03
阅读次数:
68
数据库就是存储数据的仓库 分为关系型数据库和非关系型数据库 常用的数据库管理软件有:甲骨文的oracle MySQL(开源、免费、跨平台) IBM的db2 微软的sql server access 下载安装MySQL: 登录 cmd :mysql -u用户名 -p(回车就是输入密文,不回车直接输入就 ...
分类:
数据库 时间:
2020-06-13 21:07:52
阅读次数:
68
权限控制时报 Access is denied (user is not anonymous); delegating to AccessDeniedHandler 或者 AccessDeniedException : Access is denied 那么请确保最终传入 方法为: Username ...
分类:
编程语言 时间:
2020-06-13 19:07:26
阅读次数:
144