摘要: private static final Pattern MOBILE_PATTERN = Pattern.compile("^13[0-9]{9}$|14[0-9]{9}|15[0-9]{9}$|17[0-9]{9}$|18[0-9]{9}$|19[0-9]{9}$"); private stat 阅读全文
posted @ 2020-06-09 15:43 桔子木木 阅读(2017) 评论(0) 推荐(0) 编辑
摘要: int num1 = 7; int num1 = 7; int num2 = 9; int num2 = 9; // 创建一个数值格式化对象 // 创建一个数值格式化对象 NumberFormat numberFormat = NumberFormat.getInstance(); NumberFo 阅读全文
posted @ 2019-10-17 15:01 桔子木木 阅读(8000) 评论(0) 推荐(1) 编辑
摘要: Usage of API documented as @since 1.6+ This inspection finds all usages of methods that have @since tag in their documentation. This may be useful whe 阅读全文
posted @ 2019-09-02 11:22 桔子木木 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 效果图: 阅读全文
posted @ 2018-12-18 17:24 桔子木木 阅读(505) 评论(0) 推荐(0) 编辑
摘要: 效果 阅读全文
posted @ 2018-12-18 17:10 桔子木木 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 效果: 阅读全文
posted @ 2018-12-18 17:06 桔子木木 阅读(547) 评论(0) 推荐(0) 编辑
摘要: linux下面可以直接创建.git-credential文件,命令如下: 创建文件,进入文件,输入内容: cd ~ touch .git-credentials vim .git-credentials https://{username}:{password}@github.com 在终端下输入: 阅读全文
posted @ 2018-01-17 23:44 桔子木木 阅读(1525) 评论(0) 推荐(0) 编辑
摘要: 有时候测试环境会让更新到指定版本,用以验证问题或者其他原因 具体方法有两种: 方法1: svn merge回滚 1) 先 svn up,保证更新到最新的版本,如2106; 2) 然后用 svn log ,查看历史修改,找出要恢复的版本,如2105 。如果想要更详细的了解情况,可以使用svn diff 阅读全文
posted @ 2018-01-02 13:06 桔子木木 阅读(342) 评论(0) 推荐(1) 编辑
摘要: 打开命令后 cd /usr/local/bin 然后执行 curl -sS https://getcomposer.org/installer | php 接下来 sudo mv composer.phar composer 修改权限 sudo chmod a+x composer 阅读全文
posted @ 2018-01-02 12:42 桔子木木 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1.进入到elasticsearch cd /data/webroot/www/elasticsearch/elasticsearch-5.6.3 2.运行:sh ./bin/elasticsearch 报错:解决方法:当前用户不是root 没有权限 : sudo -i 3.再次运行:bin/ela 阅读全文
posted @ 2017-11-26 21:18 桔子木木 阅读(220) 评论(0) 推荐(0) 编辑