BeanUtils.describe结果只有class,没有属性 解决方法class加上public问题复现如下代码:package com.xxx.work.search.test;import org.apache.commons.beanutils.BeanUtils;import java.util.Map;class Person { private String id; public String getId() { return id; } public static void mai
oracle/达梦 unix时间戳转date create or replace function unix_to_oracle(in_number number) return date isbegin return (to_date('19700101', 'yyyymmdd') + in_number / 86400 + INTERVAL '8' HOUR);end unix_to_oracle;select unix_to_oracle(1623144734);参考以下内容,做了一些调整https://blog.csdn.net
docker maven 打包报错 环境windows环境下docker maven 插件,推送报错安装了docker desktop插件报错信息Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (default-cli) on project cityie-portal-ui: Exception caught: com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.Json
对接gb28181方案 该方案可对接gb28181平台,例如海康、华为VCN(已验证)。SIP服务器开源地址:https://github.com/648540858/wvp-GB28181-pro/tree/wvp-28181-2.0分支:wvp-28181-2.0流媒体服务器项目地址ZLMediaKit:https://github.com/xia-chu/ZLMediaKit由于该项目没有编译最新的包,因此要么自己编译,要么采用docker拉取最新安装包。docker地址:https://hub.docker.
java获取文件夹容量大小,带进度条 package test;import java.io.File;/** * <p>描述: 文件维护工具类 * 主要包括:获取文件夹容量大小 * </p> * <p>创建时间: 2021/2/5 </p> * * @author hzz * @version 1.0 */public class FileDelUtil { public static void main(String[] args) throws Excep
ffmpeg+jsmpeg+h5实现rtsp网页免插件播放 ffmpeg+jsmpeg+h5实现rtps网页免插件播放下载jsmpeghttps://github.com/phoboslab/jsmpeg安装jsmpeg依赖npm install启动jsmpeg:node websocket-relay supersecret 18089 18090拉取ffmpeg docker镜像docker pull jrottenberg/ffmpeg拉取流,推入jsmpeg(supersecret 对应上面websocket的密
ERROR 1045 (28000): Access denied for user ‘root‘@‘172.17.0.1‘ (using password: YES) mysql 报错信息ERROR 1045 (28000): Access denied for user 'root'@'172.17.0.1' (using password: YES)可能的情况:不允许远程连接密码错误解决方法:授予远程访问权限GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY 'Grand_p0ss' WITH GRANT OPTION;rem FLUSH PRIVILEGES;修改密码:rem ALT
部门组织数据库设计 部门的数据结构设计要点:dept_id, ancestors, parent_id, order_num, is_delancestors记录从根节点开始,至父亲节点的所有祖先节点id,例如 0,1,5,20这样设计有几个优势:1. 支持无限层级2. 支持层级排序,通过ancestor字段,高层在低层前面3. order_num是同层排序4. parent_id是层级结构时使用5. is_del逻辑删除,方面数据找回,避免对关联数据造成影响...
logstash 动态模板 没有生效 如果用的7.x版本的,大概率是没有配置 document_typeoutput { if [type]=="tb_tool"{ elasticsearch { # 如果不配置type,动态模板会创建失败 document_type => "_doc" hosts => ["10.0.14.40:31815"] # 索引名称 index => "tb_tool"
软考-系统架构师大纲思维导图+真题下载 系统架构师-大纲科目1:信息系统综合知识1. 计算机软件与网络基础知识1.1 操作系统操作系统的类型和结构操作系统基本原理网络操作系统及网络管理嵌入式操作系统与实时操作系统1.2 数据库系统数据库管理系统的类型、结构和性能评价常用关系型数据库管理系统数据库模式数据库规范化分布式数据库系统,并行数据库系统数据仓库与数据挖掘技术数据库工程备份恢复1.3 嵌入式系统嵌入式系统的特点嵌入式系统的硬件组成与设计嵌入式系统应用软件及平台开发平台嵌入式系统网络嵌入式系统数据库.
最简单的加解密方法:Base64+按位异或 public class Test { public static void main(String[] args) throws UnsupportedEncodingException { String text = "123"; final Base64.Decoder decoder = Base64.getDecoder(); final Base64.Encoder encoder = Base64.getEncoder(); byte[] textByte = text.
离线安装Redis 离线安装Redis下载 wget http://download.redis.io/releases/redis-5.0.8.tar.gz解压 tar -zvxf redis-5.0.8.tar.gz编译 cd redis-5.0.8/src make all安装,会在在上层自动创建bin文件夹,里面就是执行脚本 make prefix='..' install配置环境变量 vi /etc/profile添加 export REDIS_HOME=/da
Elasticsearch源码启动 设置gradle的jdk[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-OwrQ25I8-1592300459645)(en-resource://database/1025:1)]编译gradlew idea打包gradlew -p distribution/archives/windows-zip assemble --parallel需要配置jvm的path.home-Des.path.home=D:\output\idea\elasticsearch_h