常用软件设置
vscode
"workbench.colorCustomizations": {
"activityBar.background": "#00000000",
"titleBar.activeBackground": "#00000000",
"titleBar.activeForeground": "#ffffff",
"foreground": "#cccccc",
"focusBorder": "#007fd4",
// 编辑背景
"editor.background": "#2f2f2f",
// 选中代码背景
// "editor.selectionBackground": "#fff",
// 搜索选中背景
// "editor.inactiveSelectionBackground": "#fff",
// 匹配到相同字符,边框和背景
"editor.selectionHighlightBorder": "#fff",
// "editor.selectionHighlightBackground": "#fff",
}
Dbeaver设置背景
[窗口][首选项][用户界面][外观][颜色和字体]
搜索[字体]/[font]
1.Dbeaver Fonts, 对应界面字体和sql编辑界面字体
2.数据库查询结果->结果网格字体, 对应数据网格字体
备份数据设置本地客户端连接[还没有设置连接地址]
/var/lib/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin/
es开启jdbc连接
# 打开30天试用版
curl -X POST "localhost:9200/_license/start_trial?acknowledge=true&pretty"
es
version: "3"
services:
mysql:
image: "docker.elastic.co/elasticsearch/elasticsearch:8.7.0"
container_name: "es87"
ports:
- "9200:9200"
environment:
ELASTICSEARCH_USERNAME: "root"
ELASTICSEARCH_PASSWORD: "root"
ELASTICSEARCH_HOSTS: "https://127.0.0.1:9200"
xpack.security.enabled: false
discovery.type: "single-node"
# volumes:
# - "mysql_data:/var/lib/mysql/"
# - "/vagrant_data/caddy/my.cnf:/usr/my.cnf"
# "--defaults-file=/usr/my.cnf",
tty: true
mysql
version: "3"
services:
mysql:
image: "mysql:5.6"
container_name: "mysql56"
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: "root"
command: [ "--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci" ]
# volumes:
# - "mysql_data:/var/lib/mysql/"
# - "/vagrant_data/caddy/my.cnf:/usr/my.cnf"
# "--defaults-file=/usr/my.cnf",
tty: true