上一页 1 2 3 4 5 6 ··· 18 下一页
摘要: Tomcat 莫名其妙关闭了,暂时还没有找到原因,先写个监测脚本 #!/usr/bin/env bash function check(){ APPNAME=$1 DATE=$(date "+%Y-%m-%d %H:%M:%S") PID=`ps -ef |grep java|grep $APPNA 阅读全文
posted @ 2021-11-18 22:17 rubekid 阅读(55) 评论(0) 推荐(0) 编辑
摘要: // js 代码 let obj = {name:'Young', age: 10} let {name, age} = obj // name = 'Young', age = 10 // ts 代码 let obj:any = {name:'Young', age: 10} let {name, 阅读全文
posted @ 2021-11-11 18:00 rubekid 阅读(730) 评论(0) 推荐(0) 编辑
摘要: // 由于不同的系统显卡绘制 canvas 时渲染参数、抗锯齿等算法不同,因此绘制成图片数据的 CRC 校验也不一样。/** * 生成种子 */function generateSeed () { let canvas = document.createElement('canvas') canva 阅读全文
posted @ 2021-11-05 15:43 rubekid 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1、原因 ImageIO.read 不支持 WEBP格式通过文本编辑器打开图片后看到图片格式如: 2、引入 webp-imageio <!-- https://mvnrepository.com/artifact/com.github.gotson/webp-imageio --> <depende 阅读全文
posted @ 2021-10-26 23:07 rubekid 阅读(603) 评论(0) 推荐(0) 编辑
摘要: package com.liuwa.font; import com.google.typography.font.sfntly.Font; import com.google.typography.font.sfntly.FontFactory; import com.google.typogra 阅读全文
posted @ 2021-09-24 13:49 rubekid 阅读(989) 评论(0) 推荐(0) 编辑
摘要: 更新阿里源 升级到6.10 yum update –y 1、查看当前CentOS版本 cat /etc/redhat-release 2、更新源 vim /etc/yum.repos.d/upgrade.repo 输入以下内容: [upgrade] name=upgrade baseurl=http 阅读全文
posted @ 2021-09-03 11:39 rubekid 阅读(1620) 评论(0) 推荐(0) 编辑
摘要: ceil(sqrt(pow((#{longitude,jdbcType=DECIMAL} -longitude) * 102834.74258026089786013677476285, 2) + pow((#{latitude,jdbcType=DECIMAL} -latitude) * 1117 阅读全文
posted @ 2021-08-13 10:34 rubekid 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 知识点:依赖管理 文档地址:https://webpack.docschina.org/guides/dependency-management/ 项目目录结构: /api/index.js 源码 // require.context 获取 指定目录下匹配文件 const ctx = require 阅读全文
posted @ 2021-08-01 17:45 rubekid 阅读(82) 评论(0) 推荐(0) 编辑
摘要: vue3.0+ts+element-plus+axios项目初体验 项目基于vue-cli@4.5下开发的,vue-cli4.5和之前的3.0以下的老版本不一样,安装命令也有所不同。 首先得全局安装cli npm install -g @vue/cli //全局安装vue-cli最新版本 第二步:实 阅读全文
posted @ 2021-07-05 17:05 rubekid 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1、安装 Vue-cli最新版本 npm install @vue/cli -g2、创建vue项目vue create playbill 控制台交互内容: ? Your connection to the default yarn registry seems to be slow. Use htt 阅读全文
posted @ 2021-05-10 22:58 rubekid 阅读(1080) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 18 下一页