vault backup: 2024-03-26 12:10:08

This commit is contained in:
2024-03-26 12:10:08 +08:00
parent 7769ab8998
commit e72751b4fa
6 changed files with 24282 additions and 4 deletions

View File

@@ -10,5 +10,5 @@
"obsidian-git", "obsidian-git",
"obsidian-quiet-outline", "obsidian-quiet-outline",
"obsidian-tracker", "obsidian-tracker",
"hk-code-block" "codeblock-customizer"
] ]

View File

@@ -0,0 +1,322 @@
{
"Themes": {
"Obsidian": {
"settings": {
"codeblock": {
"enableLineNumbers": true,
"enableActiveLineHighlight": true,
"enableDeleteCodeButton": false,
"codeBlockBorderStylingPosition": "disable",
"showIndentationLines": false,
"enableCopyCodeButton": false,
"enableLinks": false,
"enableLinkUpdate": false,
"textHighlight": true
},
"semiFold": {
"enableSemiFold": false,
"visibleLines": 5,
"showAdditionalUncollapseButon": false
},
"header": {
"boldText": false,
"italicText": false,
"collapseIconPosition": "hide",
"collapsedCodeText": "",
"codeblockLangBoldText": true,
"codeblockLangItalicText": true,
"alwaysDisplayCodeblockLang": false,
"alwaysDisplayCodeblockIcon": false,
"displayCodeBlockLanguage": true,
"displayCodeBlockIcon": false
},
"gutter": {
"highlightActiveLineNr": true,
"enableHighlight": true
},
"inlineCode": {
"enableInlineCodeStyling": false
},
"printing": {
"enablePrintToPDFStyling": false,
"forceCurrentColorUse": false
},
"common": {
"enableInSourceMode": false
},
"enableEditorActiveLineHighlight": true
},
"colors": {
"dark": {
"codeblock": {
"activeLineColor": "--color-base-30",
"backgroundColor": "--code-background",
"highlightColor": "--text-highlight-bg",
"alternateHighlightColors": {},
"languageBorderColors": {}
},
"header": {
"backgroundColor": "--code-background",
"textColor": "--text-normal",
"lineColor": "--color-base-30",
"codeBlockLangTextColor": "--code-comment",
"codeBlockLangBackgroundColor": "--code-background"
},
"gutter": {
"textColor": "--text-faint",
"backgroundColor": "--code-background",
"activeLineNrColor": "--text-muted"
},
"inlineCode": {
"backgroundColor": "--code-background",
"textColor": "--code-normal"
},
"editorActiveLineColor": "--color-base-20",
"languageSpecificColors": {}
},
"light": {
"codeblock": {
"activeLineColor": "--color-base-30",
"backgroundColor": "--code-background",
"highlightColor": "--text-highlight-bg",
"alternateHighlightColors": {},
"languageBorderColors": {}
},
"header": {
"backgroundColor": "--code-background",
"textColor": "--text-normal",
"lineColor": "--color-base-30",
"codeBlockLangTextColor": "--code-comment",
"codeBlockLangBackgroundColor": "--code-background"
},
"gutter": {
"textColor": "--text-faint",
"backgroundColor": "--code-background",
"activeLineNrColor": "--text-muted"
},
"inlineCode": {
"backgroundColor": "--code-background",
"textColor": "--code-normal"
},
"editorActiveLineColor": "--color-base-20",
"languageSpecificColors": {}
}
}
},
"Solarized": {
"settings": {
"codeblock": {
"enableLineNumbers": true,
"enableActiveLineHighlight": true,
"enableDeleteCodeButton": false,
"codeBlockBorderStylingPosition": "disable",
"showIndentationLines": false,
"enableCopyCodeButton": false,
"enableLinks": false,
"enableLinkUpdate": false,
"textHighlight": true
},
"semiFold": {
"enableSemiFold": false,
"visibleLines": 5,
"showAdditionalUncollapseButon": false
},
"header": {
"boldText": false,
"italicText": false,
"collapseIconPosition": "hide",
"collapsedCodeText": "",
"codeblockLangBoldText": true,
"codeblockLangItalicText": true,
"alwaysDisplayCodeblockLang": false,
"alwaysDisplayCodeblockIcon": false,
"displayCodeBlockLanguage": true,
"displayCodeBlockIcon": false
},
"gutter": {
"highlightActiveLineNr": false,
"enableHighlight": false
},
"inlineCode": {
"enableInlineCodeStyling": false
},
"printing": {
"enablePrintToPDFStyling": false,
"forceCurrentColorUse": false
},
"common": {
"enableInSourceMode": false
},
"enableEditorActiveLineHighlight": true
},
"colors": {
"dark": {
"codeblock": {
"activeLineColor": "#073642",
"backgroundColor": "#002B36",
"highlightColor": "#054b5c",
"alternateHighlightColors": {},
"languageBorderColors": {}
},
"header": {
"backgroundColor": "#0a4554",
"textColor": "#DADADA",
"lineColor": "#46cced",
"codeBlockLangTextColor": "#000000",
"codeBlockLangBackgroundColor": "#008080"
},
"gutter": {
"textColor": "#6c6c6c",
"backgroundColor": "#073642",
"activeLineNrColor": "#DADADA"
},
"inlineCode": {
"backgroundColor": "#054b5c",
"textColor": "#DADADA"
},
"editorActiveLineColor": "#468eeb33",
"languageSpecificColors": {}
},
"light": {
"codeblock": {
"activeLineColor": "#EDE8D6",
"backgroundColor": "#FCF6E4",
"highlightColor": "#E9DFBA",
"alternateHighlightColors": {},
"languageBorderColors": {}
},
"header": {
"backgroundColor": "#D5CCB4",
"textColor": "#866704",
"lineColor": "#EDD489",
"codeBlockLangTextColor": "#C25F30",
"codeBlockLangBackgroundColor": "#B8B5AA"
},
"gutter": {
"textColor": "#6c6c6c",
"backgroundColor": "#EDE8D6",
"activeLineNrColor": "#866704"
},
"inlineCode": {
"backgroundColor": "#E9DFBA",
"textColor": "#866704"
},
"editorActiveLineColor": "#60460633",
"languageSpecificColors": {}
}
}
}
},
"ExcludeLangs": "dataview, ad-*",
"SelectedTheme": {
"settings": {
"codeblock": {
"enableLineNumbers": true,
"enableActiveLineHighlight": true,
"enableDeleteCodeButton": false,
"codeBlockBorderStylingPosition": "disable",
"showIndentationLines": false,
"enableCopyCodeButton": false,
"enableLinks": false,
"enableLinkUpdate": false,
"textHighlight": true
},
"semiFold": {
"enableSemiFold": false,
"visibleLines": 5,
"showAdditionalUncollapseButon": false
},
"header": {
"boldText": false,
"italicText": false,
"collapseIconPosition": "hide",
"collapsedCodeText": "",
"codeblockLangBoldText": true,
"codeblockLangItalicText": true,
"alwaysDisplayCodeblockLang": false,
"alwaysDisplayCodeblockIcon": false,
"displayCodeBlockLanguage": true,
"displayCodeBlockIcon": false
},
"gutter": {
"highlightActiveLineNr": true,
"enableHighlight": true
},
"inlineCode": {
"enableInlineCodeStyling": false
},
"printing": {
"enablePrintToPDFStyling": false,
"forceCurrentColorUse": false
},
"common": {
"enableInSourceMode": false
},
"enableEditorActiveLineHighlight": true
},
"colors": {
"dark": {
"codeblock": {
"activeLineColor": "--color-base-30",
"backgroundColor": "--code-background",
"highlightColor": "--text-highlight-bg",
"alternateHighlightColors": {},
"languageBorderColors": {}
},
"header": {
"backgroundColor": "--code-background",
"textColor": "--text-normal",
"lineColor": "--color-base-30",
"codeBlockLangTextColor": "--code-comment",
"codeBlockLangBackgroundColor": "--code-background"
},
"gutter": {
"textColor": "--text-faint",
"backgroundColor": "--code-background",
"activeLineNrColor": "--text-muted"
},
"inlineCode": {
"backgroundColor": "--code-background",
"textColor": "--code-normal"
},
"editorActiveLineColor": "--color-base-20",
"languageSpecificColors": {}
},
"light": {
"codeblock": {
"activeLineColor": "--color-base-30",
"backgroundColor": "--code-background",
"highlightColor": "--text-highlight-bg",
"alternateHighlightColors": {},
"languageBorderColors": {}
},
"header": {
"backgroundColor": "--code-background",
"textColor": "--text-normal",
"lineColor": "--color-base-30",
"codeBlockLangTextColor": "--code-comment",
"codeBlockLangBackgroundColor": "--code-background"
},
"gutter": {
"textColor": "--text-faint",
"backgroundColor": "--code-background",
"activeLineNrColor": "--text-muted"
},
"inlineCode": {
"backgroundColor": "--code-background",
"textColor": "--code-normal"
},
"editorActiveLineColor": "--color-base-20",
"languageSpecificColors": {}
}
}
},
"ThemeName": "Obsidian",
"newThemeName": "",
"alternateHighlightColorName": "",
"languageBorderColorName": "",
"foldAllCommand": false,
"settingsType": "basic",
"langSpecificSettingsType": "",
"languageSpecificLanguageName": ""
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,11 @@
{
"id": "codeblock-customizer",
"name": "Codeblock Customizer",
"version": "1.2.6",
"minAppVersion": "0.15.0",
"description": "This Obsidian plugin lets you customize your codeblocks in editing, and reading mode as well.",
"author": "mugiwara",
"authorUrl": "https://github.com/mugiwara85",
"fundingUrl": "https://www.buymeacoffee.com/ThePirateKing",
"isDesktopOnly": false
}

File diff suppressed because one or more lines are too long

View File

@@ -16,7 +16,7 @@
# `docker-compose.yml` # `docker-compose.yml`
```yaml highlight:"5" ```yaml
services: services:
grafana: grafana:
image: grafana/grafana:latest image: grafana/grafana:latest
@@ -55,7 +55,7 @@ services:
# `datasources.yaml` # `datasources.yaml`
```yaml highlight:"6" ```yaml
# datasources.yaml # datasources.yaml
apiVersion: 1 apiVersion: 1
datasources: datasources:
@@ -69,7 +69,7 @@ datasources:
# `prometheus.yml` # `prometheus.yml`
```yaml highlight:"11" ```yaml
# prometheus.yml # prometheus.yml
global: global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
@@ -84,3 +84,14 @@ scrape_configs:
``` ```
要注意 `- targets: ['192.168.1.24:8084']` 這一行,要更新 IP 位置。 要注意 `- targets: ['192.168.1.24:8084']` 這一行,要更新 IP 位置。
# Grafana template
template ID: `1860`
# 參考
- [Docker Compose 部署监控系统 Prometheus + Grafana + Node Exporter + Cadvisor-腾讯云开发者社区-腾讯云](https://cloud.tencent.com/developer/article/2016801)
- [基于docker-compose快速搭建Prometheus+Grafana监控系统 - 掘金](https://juejin.cn/post/7320525843737460771)
- [Deep Dive into Using Docker Compose for Monitoring with Prometheus, Grafana, and node_exporter | by mefengl | Medium](https://medium.com/@mefengl/unknown-title-95cb5a15ce83)
- [使用docker-compose快速部署Prometheus+grafana环境_docker-compose安装grafana-CSDN博客](https://blog.csdn.net/weixin_45070882/article/details/132104496)
- [Dashboards | Grafana Labs](https://grafana.com/grafana/dashboards/?collector=nodeexporter&dataSource=prometheus)