• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






小苗苗的博客

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 下一页

2022年9月28日

图表自动适用屏幕
摘要: 随着屏幕窗口的变动重新加载图表 方案一: window.addEventListener("resize",function(){ myChart.resize(); }) 方案二: $(window).resize(function () { myChart.resize(); }).resize 阅读全文
posted @ 2022-09-28 11:25 小苗苗呀 阅读(41) 评论(0) 推荐(0)
 

2022年9月19日

记录程序耗时
摘要: 说明:用 spring 自身提供的 stopWatch API @Test public void test01() throws InterruptedException { StopWatch watch = new StopWatch(); watch.start("任务一"); Thread 阅读全文
posted @ 2022-09-19 11:34 小苗苗呀 阅读(28) 评论(0) 推荐(0)
 
对list集合进行分页
摘要: 方法一: @Test public void test02(){ List<Integer> list = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9); int totalPage = 0; int pageSize = 5; int size = list.s 阅读全文
posted @ 2022-09-19 11:26 小苗苗呀 阅读(53) 评论(0) 推荐(0)
 

2022年9月14日

数据库文档生成工具(screw)快速生成数据库文档
摘要: maven插件形式: 1》pom中添加如下配置 <build> <plugins> <plugin> <groupId>cn.smallbun.screw</groupId> <artifactId>screw-maven-plugin</artifactId> <version>1.0.5</ve 阅读全文
posted @ 2022-09-14 16:48 小苗苗呀 阅读(119) 评论(0) 推荐(0)
 

2022年7月20日

window下通过java -jar一次启动多个jar
摘要: 1》新建文本文档 2》输入一下文本: @echo off e: cd jar start cmd /c "title auth && java -Dfile.encoding=utf-8 -jar gd-sys-auth.jar " start cmd /c "title gateway && ja 阅读全文
posted @ 2022-07-20 16:06 小苗苗呀 阅读(1377) 评论(0) 推荐(0)
 

2022年7月13日

linux下软件常用命令
摘要: linux域名映射: #etc下,编辑 hosts 即可 CentOS7 有使用firewall防火墙执行以下步骤: # 查看开放的端口firewall-cmd --zone=public --list-ports# 放通端口 firewall-cmd --zone=public --add-por 阅读全文
posted @ 2022-07-13 14:26 小苗苗呀 阅读(85) 评论(0) 推荐(0)
 

2022年7月1日

开启mysql远程连接
摘要: # 在某个数据库下操作 # 允许任何人访问数据库,第一个root:用户名,第二个root:密码 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' with grant OPTION; # 重新加载用户权限 FLUSH PRI 阅读全文
posted @ 2022-07-01 09:11 小苗苗呀 阅读(36) 评论(0) 推荐(0)
 

2022年6月30日

删除下载失败的jar
摘要: 1》新建文档,内容如下: set REPOSITORY_PATH=F:\work\maven\repository rem 正在搜索... for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do ( del 阅读全文
posted @ 2022-06-30 14:16 小苗苗呀 阅读(56) 评论(0) 推荐(0)
 

2022年4月25日

自动生成单元格测试(Squaretest插件)
摘要: 1,开发工具idea,我们先来下载一下插件,File——>Settings——>Plugins,搜索Squaretest,然后install就好了,插件安装完成后需要重启一下 2,首先我们打开一个类,这个类就是我们即将要作为实验的类,因为Squaretest生成的单元测试方法都是只能生成public 阅读全文
posted @ 2022-04-25 10:30 小苗苗呀 阅读(2811) 评论(0) 推荐(0)
 

2022年4月20日

docker常用命令
摘要: 一、镜像基础命令:$ docker info # 查看docker信息$ docker system df # 查看镜像/容器/数据卷所占的空间。$ ip addr #查看容器内部网络地址。$ docker images # 查看镜像$ docker search 镜像名称 # 搜索镜像 --lim 阅读全文
posted @ 2022-04-20 15:05 小苗苗呀 阅读(153) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 下一页