following-sibling::td
- это часть того что будет в конце. может и по другому (через условие на строку таблицы ... -i interval
Wait interval seconds between sending each packet. The default
is to wait for one second between each packet normally, or not
to wait in flood mod
SELECT * from TABLE WHERE column in (val1,val2,val3,val4,...val100)
public List<BackendData> queryByIdsAndKeys(List<Integer> ids,
List<String> keys) {
... делает "select * from test where id in (...ids...) and key in (...keys ...) "
?1
:tag
@Query("select new Server(s.serverId, s.serverName) from Server s where s.serverName LIKE ?1%")
public List<Server> findServer(String serverName);
String data = "02.28.2022";
Date date = null;
try {
DateFormat formatter = new SimpleDateFormat("MM.dd.yyyy");
date = (java.util.Date) formatter.parse(data);
System.err.println(
String.format("data: %s date: %s", data, date.toLocaleString()));
} catch (ParseException e) {
System.err.println(e.getMessage());
}
data: 02.28.2022 date: Feb 28, 2022 12:00:00 AM
$target = '8.8.8.8';
c:\Windows\System32\ping.exe -t $target | foreach-object { '{0} - {1}' -f (get-date -format 'MM/dd/yyyy HH:mm:ss') , $_ }
ping_loop.cmd 8.8.8.8 25
Sun 10/16/2022 14:14:03 Reply from 8.8.8.8: bytes=32 time=16ms TTL=115
Sun 10/16/2022 14:14:28 Reply from 8.8.8.8: bytes=32 time=15ms TTL=115
Sun 10/16/2022 14:14:53 Reply from 8.8.8.8: bytes=32 time=15ms TTL=115
Sun 10/16/2022 14:15:18 Reply from 8.8.8.8: bytes=32 time=22ms TTL=115
Sun 10/16/2022 14:15:43 Reply from 8.8.8.8: bytes=32 time=15ms TTL=115
example.booleans = true,true,true,false, true
@Value("#{'${example.booleans}'.split(',')}")
private boolean[] flags;
logger.info("flags: {}", Arrays.asList(flags));
flags: [[true, true, true, false, true]]
задача была найти ровно один