为streampark新增用户资源转移功能
凡事一俭,则谋生易足;谋生易足,则求人无争,亦于人无求。——钱泳 相关的pr:https://github.com/apache/incubator-streampark/pull/2734 对应的描述: What changes were proposed in this pull requestIssue Number: close #2712 Brief change log Requirement: The administrator cancels the user deletion function and replaces it with disabling users. Detailed logic: The administrator cancels the user deletion function. When the user account is disabled, it cannot own resources (application and project ownership) Add resource transfer func...
apache-incubator-streampark源码编译本地运行(二)
多做一些好事情,不图报酬,还可以使我们短短的生命很体面和有价值,这本身就可以算是一种报酬。——马克·吐温 书接上文apache-incubator-streampark源码编译本地运行 时隔今日,streampark又发生了一些变化 执行(因为我本机仍然没有配置mvnw,所以干脆用命令): 1mvn -Pscala-2.12,shaded,dist -DskipTests clean package 剩下的步骤就不再赘述,在开头的链接,上次已经提过了 但是期间如果提示spotless:check的报错,可以使用 1mvn spotless:apply 让代码格式化一下即可 重新执行 1mvn -Pscala-2.12,shaded,dist -DskipTests clean package 重新刷新下依赖 如果报错ApplicationType is already defined as Java enum ApplicationType 这个貌似是因为不小心设置了下scala环境就搞坏了,我换了台电脑就好了 但是原来的电脑里还是坏的,我删除了本地项目目录,重...
华为云镜像
错误可能有无穷的结合方式,而真理却只能有一种存在的方式。——卢俊 分享maven的华为云镜像 123456<mirror> <id>huaweicloud</id> <mirrorOf>*</mirrorOf> <name>huaweicloud</name> <url>https://mirrors.huaweicloud.com/repository/maven/</url></mirror>
Real-ESRGAN高清修复
处事,须留余地。——弘一大师 分享一个给图片、视频进行AI高清修复的项目: https://github.com/xinntao/Real-ESRGAN/blob/master/README_CN.md 点击下载windows版: 解压缩后,执行命令: 1./realesrgan-ncnn-vulkan.exe -i 输入图像.jpg -o 输出图像.png -n 模型名字 例如原来 执行后
hutool-excel设置单元格列宽
保持沉默,别人将以为你是一位哲学家。——佚名 hutool里excel可以如下使用,设置自动列宽: 12val writer = ExcelUtil.getWriter()writer.autoSizeColumnAll() 但也可以单独设置: 1writer.getSheet().setColumnWidth(1, 5000) 这里的1是列下标,5000是宽度 还可以设置冻结首行 1writer.setFreezePane(1)
为shenyu的PortUtils.findPort添加单元测试
爱好自由是人的天性,但往往过度而陷于放纵。斯宾诺莎 今天为shenyu的shenyu-client-core模块下添加了PortUtils.findPort的test case: https://github.com/apache/shenyu/pull/4604 对应的代码如下: 123456789101112131415161718192021222324252627282930313233343536373839404142/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Ve...
taze
在读书的时候,我们是与智者交谈;在生活的事务中,我们通常是与愚人交谈。——培根 分享一个开源项目:taze github:https://github.com/antfu/taze 话说antfu大佬是真的nb taze是一个现代化的ci工具,能够让你的依赖保持最新版 执行:npx taze
drauu
在判断之前,应当消除内心的成见。——塞涅卡 分享一个基于SVG的画板项目: https://drauu.netlify.app/ https://github.com/antfu/drauu
iconify
赢得友谊要靠智慧,保持友谊要靠美德,这两者是同等重要的。——威佩因特 分享一个图标项目: https://iconify.design/ 包含150K+的开源icon github:https://github.com/iconify/iconify 非常的给力!
shenyu
小心谨慎,不但可以防备别人侵犯自己,也可自防人性的放纵和腐败。——巴克 分享一个开源项目shenyu 官方文档:https://shenyu.apache.org/zh/ github:https://github.com/apache/shenyu 可以启动shenyu-admin下的ShenyuAdminBootstrap体验一下 访问:http://localhost:9095 用户名admin密码123456 然后我们按照文档上写的修改shenyu-bootstrap中的shenyu.local.enabled 然后运行shenyu-bootstrap下的ShenyuBootstrapApplication 这里报错的话点一下左边的提示即可 或者这里配置 启动成功后我们再启动一个我们自己的boot项目 此处访问http://127.0.0.1:8080/helloworld即可返回 1234{ "name" : "Shenyu", "data" : "hello world...
