摘要:
` 阅读全文
摘要:
``` package com.xw.paintheart.utils; import org.apache.commons.lang.StringUtils; public class EmojiFilterUtils { private static boolean isEmojiCharact 阅读全文
摘要:
```
国内Ngrok官网:https://www.ngrok.cc/ 注册账号后,可以直接添加隧道(此处我使用的是google浏览器): 关于开通隧道已经有详细的教程了:https://www.sunnyos.com/article-show-67.html 下一步就是点击上图的客户端下载:https://www.ngrok.cc/download.html,下载自己系统对应的客户端。... 阅读全文
摘要:
``` / 键盘连续字符统计3个 @param str @return / function _isKeyBoardContinuousChar(str) { var c1 = [ ['!', '@', ' ', '$', '%', '^', '&', ' ', '(', ')', '_', '+' 阅读全文
摘要:
``` import java.lang.reflect.Field; import java.text.NumberFormat; import java.util.Collections; import java.util.Comparator; import java.util.Date; import java.util.List; public class ListUtils { ... 阅读全文
摘要:
``` !/bin/bash 设置mysql备份目录 folder=/home/data_bks cd $folder day= mkdir $day cd $day 数据库服务器,一般为localhost host=localhost 用户名 user=root 密码 password=CQUPT 阅读全文
摘要:
```
cd /home/root_bk;
zip -q -r $(date +%Y%m%d).zip /home/tomcat9_jiuye/webapps/ROOT;
find ./ -mtime +30 -name "*.zip" -exec rm -rf {} \;
``` 阅读全文
摘要:
往常按照我的思维计算天数是先判断是否是闰年,在判断是哪个月计算当月有多少天。Java中有一个巧妙的计算方法,代码如下: Calendar类用于创建日历,这里参数输入需要求的年和月,日为0,生成的日期,日会变为当月最后一天。 阅读全文