SHOW FULL PROCESSLIST;
SHOW ENGINE INNODB STATUS;
The
data_locks
table shows data locks held and requested [^1][^2]
import click | |
import os | |
@click.group() | |
def cli(): | |
pass | |
@cli.command() |
package cn.itcast.jx.util; | |
import org.apache.poi.ss.usermodel.*; | |
import org.apache.poi.xssf.usermodel.XSSFWorkbook; | |
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.FileOutputStream; | |
/** |
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<parent> | |
<artifactId>day98_mybatis</artifactId> | |
<groupId>cn.pers.mybatis</groupId> | |
<version>1.0-SNAPSHOT</version> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 4 | |
indent_style = space | |
insert_final_newline = false | |
max_line_length = 120 | |
tab_width = 4 | |
ij_continuation_indent_size = 8 | |
ij_formatter_off_tag = @formatter:off |
#!/usr/bin/env bash | |
timestamp() { | |
date +%s | |
} | |
regex='(https?|ftp|file)://[-A-Za-z0-9\+&@#/%?=~_|!:,.;]*[-A-Za-z0-9\+&@#/%=~_|]' | |
for var in "$@" | |
do | |
timestamp=$(timestamp) |
.cardImageContainer { | |
background-size: cover; | |
} | |
.paper-icon-button-img { | |
object-fit: cover; | |
max-height: 1.72em; | |
} | |
.fldImage img { | |
height: 103px; | |
object-fit: cover; |
@echo off | |
setlocal EnableDelayedExpansion | |
echo ================[ Getting web page ]================ | |
set URL=%1 | |
if NOT "%URL:~-1%" == "/" ( | |
set URL="%URL%/" | |
) | |
echo 'url: %URL%' | |
for /f "tokens=4 delims=/" %%a in ("%URL%") do ( |
对于mTLS的配置的证书来说,有如下的提示。
三个文件。 对于大多数系统,如:MySQL, Redis,PostgreSQL。会需要三个文件:CA证书 + CERT 和 KEY。可以在我的这个开源项目(https://github.com/haoel/mTLS/tree/main/certs )中找到我生成的CA,以及 Server 和 Client的 .crt
和 .key
文件。生成的方法也在我的那个开源项目中了。
两个文件。 对于有的系统,比如:MongoDB,他只要两个文件,一个是CA,一个是 pem 文件,对于pem文件,你可以直接把上面的 .crt 和 .key 合并了就好了。如:cat server.crt server.key > server.pem
JKS文件。 对于一些系统,比如:Kafka 和 Zookeeper。他要的不是上面的明文的格式,他要的是一种jks的格式,这是Java的格式。怎么从上面的明文的方式转到jks的文件。需要经过下面几步。