会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
rubekid
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
19
下一页
2022年2月7日
jar运行配置
摘要: #!/bin/bash # chkconfig: - 95 15 # description: server start/stop/status script export JAVA_HOME=/usr/java/jdk1.8.0_301 export PATH=$JAVA_HOME/bin:$PA
阅读全文
posted @ 2022-02-07 10:42 rubekid
阅读(149)
评论(0)
推荐(0)
2022年1月22日
elasticsearch 安装
摘要: wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.16.2-linux-x86_64.tar.gz tar -zxvf elasticsearch-7.16.2-linux-x86_64.tar.gz
阅读全文
posted @ 2022-01-22 21:52 rubekid
阅读(122)
评论(0)
推荐(0)
2021年11月18日
Linux Tomcat运行监测
摘要: 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
阅读(62)
评论(0)
推荐(0)
2021年11月11日
Typescript 解构赋值
摘要: // 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
阅读(741)
评论(0)
推荐(0)
2021年11月5日
浏览器防伪标识
摘要: // 由于不同的系统显卡绘制 canvas 时渲染参数、抗锯齿等算法不同,因此绘制成图片数据的 CRC 校验也不一样。/** * 生成种子 */function generateSeed () { let canvas = document.createElement('canvas') canva
阅读全文
posted @ 2021-11-05 15:43 rubekid
阅读(35)
评论(0)
推荐(0)
2021年10月26日
ImageIO.read返回null
摘要: 1、原因 ImageIO.read 不支持 WEBP格式通过文本编辑器打开图片后看到图片格式如: 2、引入 webp-imageio <!-- https://mvnrepository.com/artifact/com.github.gotson/webp-imageio --> <depende
阅读全文
posted @ 2021-10-26 23:07 rubekid
阅读(732)
评论(0)
推荐(0)
2021年9月24日
java实现woff字体解析,逆向反爬
摘要: 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
阅读(1236)
评论(0)
推荐(0)
2021年9月3日
CentOS6.x 版本升级到 CentOS7 的方法
摘要: 更新阿里源 升级到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
阅读(1880)
评论(0)
推荐(0)
2021年8月13日
mysql 通过坐标换算距离
摘要: ceil(sqrt(pow((#{longitude,jdbcType=DECIMAL} -longitude) * 102834.74258026089786013677476285, 2) + pow((#{latitude,jdbcType=DECIMAL} -latitude) * 1117
阅读全文
posted @ 2021-08-13 10:34 rubekid
阅读(132)
评论(0)
推荐(0)
2021年8月1日
Vue项目接口管理-Vue模块自动装配
摘要: 知识点:依赖管理 文档地址:https://webpack.docschina.org/guides/dependency-management/ 项目目录结构: /api/index.js 源码 // require.context 获取 指定目录下匹配文件 const ctx = require
阅读全文
posted @ 2021-08-01 17:45 rubekid
阅读(93)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
19
下一页
公告