try { String backupDir = null; StringBuilder buf = null; File file; backupDir = RuoYiConfig.getBackupDir(); if(System...
编程技术
殷奥辉Unity 游戏客户端 面试精粹
点乘与叉乘? 向量(向量:既有大小又有方向的量叫向量)的点乘也叫向量的内积,数量级,对两个向量执行点乘运算,就是对这两个向量对应位一一相乘之后求和的操作,点乘的结果是...
spring 实现对 elasticsearch 动态索引
背景: 使用filebetat抓取程序运行日志 导致日志文件在 elasticsearch 中的 索引 按照日期每日一个索引文件 但是后台需要对这些日志 统一进行查询 则需要spring 需要实现动态查询索引 方案: 使用spring el表...
收集的常用正则
## 常用正则 正则 火车车次 /^[GCDZTSPKXLY1-9]\d{1,4}$/ 正则 手机机身码(IMEI) /^\d{15,17}$/ 正则 必须带端口号的网址(或ip) /^((ht|f)tps?:\/\/)?[\w-]+(\.[\w-]+)+:\d{1,5}\/?$/ 正...
git 长期保存密码
git config –global credential.helper store 永久存储 git config --global --unset credential.helper 移除存储密码
cURL error 60: See http://curl.haxx.se/libcurl/c/libcurl-errors.html
本地php开发环境出现 cURL error 60: See http://curl.haxx.se/libcurl/c/libcurl-errors.html 解决方案: 到 https://curl.haxx.se/ca/cacert.pem 下载证书文件 cacert.pem,将其保存到 P...
git操作及fatal: Authentication failed for错误解决
1、配置用户信息 git config --global user.name [username] git config --global user.email [email] 2、查询用户信息 git config --list 3、如果push遇到在输入密码是熟错后,就会报这个错误fa...
如何给自己的博客 添加卡通美女
在你的公共文件中添加 如下代码 <link rel="stylesheet" type="text/css" href="https://live2d.szwyll.com/assets/waifu.min.css?v=1.4.2"/> <script type="text/javascript" src="https://live2...
一个简单的基于Java库,Java对象序列化到XML XStream
<dependency> <groupId>com.thoughtworks.xstream</groupId> <artifactId>xstream</artifactId> <version>1.4.11.1</version> </dependency> 1、序列化对象到XML X...
解决centos 中文情况下乱码的问题
yum groupinstall "X Window System" -y yum -y groupinstall chinese-support yum -y groupinstall Fonts