- 博客(3)
- 收藏
- 关注
原创 批量更新下载git代码.bat版本
@echo on@title git repository clone, updateset prefix=git@github.com:test/set suffix=.gitfor %%f in ( test-service, ) do ( if exist %%f ( cd %%f git fetch git pull cd .. ) else ( git clone %prefix%%%f%suffix% ) ) pause
2021-11-11 16:20:52 534
原创 Linux jar包服务停止脚本
linux按服务名停止服务脚本-shutdown.sh#!/bin/bashPID=$(ps -ef | grep test-service.jar | grep -v grep | awk '{ print $2 }')if [ -z "$PID" ]then echo Application is already stoppedelse echo kill $PID kill -9 $PIDfi
2021-10-28 14:39:56 242
原创 java内存优化之优化class声明
java class的成员变量内存优化一、让我们看看如下代码:1.成员变量全部使用Integer/Double等类数据类型 public class DayStatistics1{ Long time; Double maxValue; Integer maxValueHour; Double minValue; ...
2019-12-30 22:24:09 138
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人