[Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.18' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
nc -z $SERVICE_HOST $SERVICE_PORT
if [ $? -eq 0 ]
then
break
fi
find src/main/resources/
th:href="@{/css/core.css}"
<img th:src="@{/images/icon.png}"/>
src/main/resources/static/css/core.css
src/main/resources/static/images/icons.png
private static final String projectPath = System.getProperty("user.dir")
.replaceAll("\\\\", "/");
registry.addResourceHandler("/images/**")
.addResourceLocations("classpath:/static/images/", String.format(
"file:///%s/src/main/resources/static/images/", projectPath));
"classpath:/static/images/"
String.format("file:///%s/src/main/resources/static/images/", projectPath)
это один и тот же путь@echo OFF
setlocal enabledelayedexpansion
set INITIAL_COUNTER=1000
if not exist example!INITIAL_COUNTER!.txt copy NUL example!INITIAL_COUNTER!.txt > NUL
REM only works until overlow:
REM fails to sort the example10000.txt after example9999.txt
for /F %%. in ('DIR /b example*.txt ^| sort /R') do call :XXX %%. && goto EOF
:XXX
set COUNTER=%1
set COUNTER=!COUNTER:example=!
set COUNTER=!COUNTER:.txt=!
set /A COUNTER=!COUNTER! + 1
copy NUL example!COUNTER!.txt > NUL
echo !COUNTER!
exit /b 0
goto :EOF
:EOF