first add
This commit is contained in:
commit
c21ea7c741
BIN
.obsidian/.DS_Store
vendored
Normal file
BIN
.obsidian/.DS_Store
vendored
Normal file
Binary file not shown.
7
.obsidian/app.json
vendored
Normal file
7
.obsidian/app.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"newFileLocation": "folder",
|
||||
"newFileFolderPath": "new notes",
|
||||
"showUnsupportedFiles": true,
|
||||
"attachmentFolderPath": "./attachments",
|
||||
"vimMode": true
|
||||
}
|
1
.obsidian/appearance.json
vendored
Normal file
1
.obsidian/appearance.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
{}
|
4
.obsidian/community-plugins.json
vendored
Normal file
4
.obsidian/community-plugins.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
[
|
||||
"copilot",
|
||||
"obsidian-git"
|
||||
]
|
1
.obsidian/copilot-index-3c389a9361368debaf33a4d3b19b1fd0.json
vendored
Normal file
1
.obsidian/copilot-index-3c389a9361368debaf33a4d3b19b1fd0.json
vendored
Normal file
File diff suppressed because one or more lines are too long
1
.obsidian/copilot-index-e155e1bb4a9c38e3baf90637ab7865df.json
vendored
Normal file
1
.obsidian/copilot-index-e155e1bb4a9c38e3baf90637ab7865df.json
vendored
Normal file
File diff suppressed because one or more lines are too long
31
.obsidian/core-plugins.json
vendored
Normal file
31
.obsidian/core-plugins.json
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": true,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"properties": false,
|
||||
"page-preview": true,
|
||||
"daily-notes": true,
|
||||
"templates": true,
|
||||
"note-composer": true,
|
||||
"command-palette": true,
|
||||
"slash-command": false,
|
||||
"editor-status": true,
|
||||
"bookmarks": true,
|
||||
"markdown-importer": false,
|
||||
"zk-prefixer": false,
|
||||
"random-note": false,
|
||||
"outline": true,
|
||||
"word-count": true,
|
||||
"slides": false,
|
||||
"audio-recorder": false,
|
||||
"workspaces": false,
|
||||
"file-recovery": true,
|
||||
"publish": false,
|
||||
"sync": true,
|
||||
"webviewer": false
|
||||
}
|
22
.obsidian/graph.json
vendored
Normal file
22
.obsidian/graph.json
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"collapse-filter": true,
|
||||
"search": "",
|
||||
"showTags": false,
|
||||
"showAttachments": false,
|
||||
"hideUnresolved": false,
|
||||
"showOrphans": true,
|
||||
"collapse-color-groups": true,
|
||||
"colorGroups": [],
|
||||
"collapse-display": true,
|
||||
"showArrow": false,
|
||||
"textFadeMultiplier": 0,
|
||||
"nodeSizeMultiplier": 1,
|
||||
"lineSizeMultiplier": 1,
|
||||
"collapse-forces": true,
|
||||
"centerStrength": 0.518713248970312,
|
||||
"repelStrength": 10,
|
||||
"linkStrength": 1,
|
||||
"linkDistance": 250,
|
||||
"scale": 0.9832475302420375,
|
||||
"close": true
|
||||
}
|
43
.obsidian/hotkeys.json
vendored
Normal file
43
.obsidian/hotkeys.json
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"editor:toggle-source": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt"
|
||||
],
|
||||
"key": "W"
|
||||
}
|
||||
],
|
||||
"markdown:toggle-preview": [],
|
||||
"workspace:split-horizontal": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt"
|
||||
],
|
||||
"key": "H"
|
||||
}
|
||||
],
|
||||
"workspace:split-vertical": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt"
|
||||
],
|
||||
"key": "V"
|
||||
}
|
||||
],
|
||||
"window:zoom-in": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt"
|
||||
],
|
||||
"key": "="
|
||||
}
|
||||
],
|
||||
"window:zoom-out": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt"
|
||||
],
|
||||
"key": "-"
|
||||
}
|
||||
]
|
||||
}
|
BIN
.obsidian/plugins/.DS_Store
vendored
Normal file
BIN
.obsidian/plugins/.DS_Store
vendored
Normal file
Binary file not shown.
239
.obsidian/plugins/copilot/data.json
vendored
Normal file
239
.obsidian/plugins/copilot/data.json
vendored
Normal file
@ -0,0 +1,239 @@
|
||||
{
|
||||
"isPlusUser": false,
|
||||
"plusLicenseKey": "",
|
||||
"openAIApiKey": "",
|
||||
"openAIOrgId": "",
|
||||
"huggingfaceApiKey": "",
|
||||
"cohereApiKey": "",
|
||||
"anthropicApiKey": "",
|
||||
"azureOpenAIApiKey": "",
|
||||
"azureOpenAIApiInstanceName": "",
|
||||
"azureOpenAIApiDeploymentName": "",
|
||||
"azureOpenAIApiVersion": "",
|
||||
"azureOpenAIApiEmbeddingDeploymentName": "",
|
||||
"googleApiKey": "",
|
||||
"openRouterAiApiKey": "",
|
||||
"mistralApiKey": "",
|
||||
"deepseekApiKey": "",
|
||||
"defaultChainType": "vault_qa",
|
||||
"defaultModelKey": "qwen-max-latest|3rd party (openai-format)",
|
||||
"embeddingModelKey": "nomic-embed-text:latest|ollama",
|
||||
"temperature": 0.1,
|
||||
"maxTokens": 1000,
|
||||
"contextTurns": 15,
|
||||
"userSystemPrompt": "",
|
||||
"openAIProxyBaseUrl": "",
|
||||
"openAIEmbeddingProxyBaseUrl": "",
|
||||
"stream": true,
|
||||
"defaultSaveFolder": "copilot-conversations",
|
||||
"defaultConversationTag": "copilot-conversation",
|
||||
"autosaveChat": false,
|
||||
"defaultOpenArea": "view",
|
||||
"customPromptsFolder": "copilot-custom-prompts",
|
||||
"indexVaultToVectorStore": "ON MODE SWITCH",
|
||||
"qaExclusions": "",
|
||||
"qaInclusions": "",
|
||||
"chatNoteContextPath": "",
|
||||
"chatNoteContextTags": [],
|
||||
"enableIndexSync": true,
|
||||
"debug": false,
|
||||
"enableEncryption": false,
|
||||
"maxSourceChunks": 3,
|
||||
"groqApiKey": "",
|
||||
"activeModels": [
|
||||
{
|
||||
"name": "copilot-plus-flash",
|
||||
"provider": "copilot-plus",
|
||||
"enabled": false,
|
||||
"isBuiltIn": true,
|
||||
"core": true,
|
||||
"plusExclusive": true,
|
||||
"capabilities": []
|
||||
},
|
||||
{
|
||||
"name": "gpt-4o",
|
||||
"provider": "openai",
|
||||
"enabled": false,
|
||||
"isBuiltIn": true,
|
||||
"core": true,
|
||||
"capabilities": []
|
||||
},
|
||||
{
|
||||
"name": "gpt-4o-mini",
|
||||
"provider": "openai",
|
||||
"enabled": false,
|
||||
"isBuiltIn": true,
|
||||
"core": true,
|
||||
"capabilities": []
|
||||
},
|
||||
{
|
||||
"name": "claude-3-5-sonnet-latest",
|
||||
"provider": "anthropic",
|
||||
"enabled": false,
|
||||
"isBuiltIn": true,
|
||||
"core": true,
|
||||
"capabilities": []
|
||||
},
|
||||
{
|
||||
"name": "qwen-max-latest",
|
||||
"provider": "3rd party (openai-format)",
|
||||
"enabled": true,
|
||||
"isBuiltIn": false,
|
||||
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
||||
"apiKey": "sk-24a6af9eea55494b8f465a01cb92d461",
|
||||
"isEmbeddingModel": false,
|
||||
"capabilities": [
|
||||
"vision",
|
||||
"websearch"
|
||||
],
|
||||
"stream": true,
|
||||
"displayName": "qwen-max-latest",
|
||||
"enableCors": true
|
||||
}
|
||||
],
|
||||
"activeEmbeddingModels": [
|
||||
{
|
||||
"name": "copilot-plus-small",
|
||||
"provider": "copilot-plus",
|
||||
"enabled": true,
|
||||
"isBuiltIn": true,
|
||||
"isEmbeddingModel": true,
|
||||
"core": true,
|
||||
"plusExclusive": true
|
||||
},
|
||||
{
|
||||
"name": "copilot-plus-large",
|
||||
"provider": "copilot-plus-jina",
|
||||
"enabled": true,
|
||||
"isBuiltIn": true,
|
||||
"isEmbeddingModel": true,
|
||||
"core": true,
|
||||
"plusExclusive": true,
|
||||
"believerExclusive": true,
|
||||
"dimensions": 1024,
|
||||
"enableCors": false
|
||||
},
|
||||
{
|
||||
"name": "copilot-plus-multilingual",
|
||||
"provider": "copilot-plus-jina",
|
||||
"enabled": true,
|
||||
"isBuiltIn": true,
|
||||
"isEmbeddingModel": true,
|
||||
"core": true,
|
||||
"plusExclusive": true,
|
||||
"dimensions": 512
|
||||
},
|
||||
{
|
||||
"name": "text-embedding-3-small",
|
||||
"provider": "openai",
|
||||
"enabled": true,
|
||||
"isBuiltIn": true,
|
||||
"isEmbeddingModel": true,
|
||||
"core": true
|
||||
},
|
||||
{
|
||||
"name": "nomic-embed-text:latest",
|
||||
"provider": "ollama",
|
||||
"enabled": true,
|
||||
"isBuiltIn": false,
|
||||
"baseUrl": "http://localhost:11434/",
|
||||
"apiKey": "",
|
||||
"isEmbeddingModel": true,
|
||||
"capabilities": [],
|
||||
"displayName": "nomic-embed-text",
|
||||
"enableCors": true
|
||||
},
|
||||
{
|
||||
"name": "nomic-embed-text:latest",
|
||||
"provider": "openai",
|
||||
"enabled": true,
|
||||
"isBuiltIn": false,
|
||||
"baseUrl": "http://localhost:11434/v1/",
|
||||
"apiKey": "",
|
||||
"isEmbeddingModel": true,
|
||||
"capabilities": [],
|
||||
"displayName": "nomic-embed-text:latest",
|
||||
"enableCors": true
|
||||
}
|
||||
],
|
||||
"embeddingRequestsPerMin": 90,
|
||||
"embeddingBatchSize": 16,
|
||||
"disableIndexOnMobile": true,
|
||||
"showSuggestedPrompts": true,
|
||||
"showRelevantNotes": true,
|
||||
"numPartitions": 1,
|
||||
"promptUsageTimestamps": {},
|
||||
"defaultConversationNoteName": "{$topic}@{$date}_{$time}",
|
||||
"inlineEditCommands": [
|
||||
{
|
||||
"name": "Fix grammar and spelling",
|
||||
"prompt": "<instruction>Fix the grammar and spelling of the text below. Preserve all formatting, line breaks, and special characters. Do not add or remove any content. Return only the corrected text.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": true
|
||||
},
|
||||
{
|
||||
"name": "Translate to Chinese",
|
||||
"prompt": "<instruction>Translate the text below into Chinese:\n 1. Preserve the meaning and tone\n 2. Maintain appropriate cultural context\n 3. Keep formatting and structure\n Return only the translated text.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": true
|
||||
},
|
||||
{
|
||||
"name": "Summarize",
|
||||
"prompt": "<instruction>Create a bullet-point summary of the text below. Each bullet point should capture a key point. Return only the bullet-point summary.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": true
|
||||
},
|
||||
{
|
||||
"name": "Simplify",
|
||||
"prompt": "<instruction>Simplify the text below to a 6th-grade reading level (ages 11-12). Use simple sentences, common words, and clear explanations. Maintain the original key concepts. Return only the simplified text.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": true
|
||||
},
|
||||
{
|
||||
"name": "Emojify",
|
||||
"prompt": "<instruction>Add relevant emojis to enhance the text below. Follow these rules:\n 1. Insert emojis at natural breaks in the text\n 2. Never place two emojis next to each other\n 3. Keep all original text unchanged\n 4. Choose emojis that match the context and tone\n Return only the emojified text.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": true
|
||||
},
|
||||
{
|
||||
"name": "Make shorter",
|
||||
"prompt": "<instruction>Reduce the text below to half its length while preserving these elements:\n 1. Main ideas and key points\n 2. Essential details\n 3. Original tone and style\n Return only the shortened text.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": true
|
||||
},
|
||||
{
|
||||
"name": "Make longer",
|
||||
"prompt": "<instruction>Expand the text below to twice its length by:\n 1. Adding relevant details and examples\n 2. Elaborating on key points\n 3. Maintaining the original tone and style\n Return only the expanded text.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": true
|
||||
},
|
||||
{
|
||||
"name": "Generate table of contents",
|
||||
"prompt": "<instruction>Generate a hierarchical table of contents for the text below. Use appropriate heading levels (H1, H2, H3, etc.). Include page numbers if present. Return only the table of contents.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": false
|
||||
},
|
||||
{
|
||||
"name": "Generate glossary",
|
||||
"prompt": "<instruction>Create a glossary of important terms, concepts, and phrases from the text below. Format each entry as \"Term: Definition\". Sort entries alphabetically. Return only the glossary.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": false
|
||||
},
|
||||
{
|
||||
"name": "Remove URLs",
|
||||
"prompt": "<instruction>Remove all URLs from the text below. Preserve all other content and formatting. URLs may be in various formats (http, https, www). Return only the text with URLs removed.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": false
|
||||
},
|
||||
{
|
||||
"name": "Rewrite as tweet",
|
||||
"prompt": "<instruction>Rewrite the text below as a single tweet with these requirements:\n 1. Maximum 280 characters\n 2. Use concise, impactful language\n 3. Maintain the core message\n Return only the tweet text.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": false
|
||||
},
|
||||
{
|
||||
"name": "Rewrite as tweet thread",
|
||||
"prompt": "<instruction>Convert the text below into a Twitter thread following these rules:\n 1. Each tweet must be under 240 characters\n 2. Start with \"THREAD START\" on its own line\n 3. Separate tweets with \"\n\n---\n\n\"\n 4. End with \"THREAD END\" on its own line\n 5. Make content engaging and clear\n Return only the formatted thread.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": false
|
||||
},
|
||||
{
|
||||
"name": "Explain like I am 5",
|
||||
"prompt": "<instruction>Explain the text below in simple terms that a 5-year-old would understand:\n 1. Use basic vocabulary\n 2. Include simple analogies\n 3. Break down complex concepts\n Return only the simplified explanation.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": false
|
||||
},
|
||||
{
|
||||
"name": "Rewrite as press release",
|
||||
"prompt": "<instruction>Transform the text below into a professional press release:\n 1. Use formal, journalistic style\n 2. Include headline and dateline\n 3. Follow inverted pyramid structure\n Return only the press release format.</instruction>\n\n<text>{copilot-selection}</text>",
|
||||
"showInContextMenu": false
|
||||
}
|
||||
]
|
||||
}
|
1447
.obsidian/plugins/copilot/main.js
vendored
Normal file
1447
.obsidian/plugins/copilot/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
13
.obsidian/plugins/copilot/manifest.json
vendored
Normal file
13
.obsidian/plugins/copilot/manifest.json
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"id": "copilot",
|
||||
"name": "Copilot",
|
||||
"version": "2.8.8",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "An AI Copilot in Obsidian.",
|
||||
"author": "Logan Yang",
|
||||
"authorUrl": "https://twitter.com/logancyang",
|
||||
"fundingUrl": {
|
||||
"Buy Me a Coffee": "https://www.buymeacoffee.com/logancyang",
|
||||
"GitHub Sponsor": "https://github.com/sponsors/logancyang"
|
||||
}
|
||||
}
|
1
.obsidian/plugins/copilot/styles.css
vendored
Normal file
1
.obsidian/plugins/copilot/styles.css
vendored
Normal file
File diff suppressed because one or more lines are too long
59
.obsidian/plugins/obsidian-git/data.json
vendored
Normal file
59
.obsidian/plugins/obsidian-git/data.json
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
{
|
||||
"commitMessage": "vault backup: {{date}}",
|
||||
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
|
||||
"autoSaveInterval": 0,
|
||||
"autoPushInterval": 0,
|
||||
"autoPullInterval": 0,
|
||||
"autoPullOnBoot": false,
|
||||
"disablePush": false,
|
||||
"pullBeforePush": true,
|
||||
"disablePopups": false,
|
||||
"disablePopupsForNoChanges": false,
|
||||
"listChangedFilesInMessageBody": false,
|
||||
"showStatusBar": true,
|
||||
"updateSubmodules": false,
|
||||
"syncMethod": "merge",
|
||||
"customMessageOnAutoBackup": false,
|
||||
"autoBackupAfterFileChange": false,
|
||||
"treeStructure": false,
|
||||
"refreshSourceControl": true,
|
||||
"basePath": "",
|
||||
"differentIntervalCommitAndPush": false,
|
||||
"changedFilesInStatusBar": false,
|
||||
"showedMobileNotice": true,
|
||||
"refreshSourceControlTimer": 7000,
|
||||
"showBranchStatusBar": true,
|
||||
"setLastSaveToLastCommit": false,
|
||||
"submoduleRecurseCheckout": false,
|
||||
"gitDir": "",
|
||||
"showFileMenu": true,
|
||||
"authorInHistoryView": "hide",
|
||||
"dateInHistoryView": true,
|
||||
"diffStyle": "split",
|
||||
"lineAuthor": {
|
||||
"show": false,
|
||||
"followMovement": "inactive",
|
||||
"authorDisplay": "initials",
|
||||
"showCommitHash": false,
|
||||
"dateTimeFormatOptions": "date",
|
||||
"dateTimeFormatCustomString": "YYYY-MM-DD HH:mm",
|
||||
"dateTimeTimezone": "viewer-local",
|
||||
"coloringMaxAge": "1y",
|
||||
"colorNew": {
|
||||
"r": 255,
|
||||
"g": 150,
|
||||
"b": 150
|
||||
},
|
||||
"colorOld": {
|
||||
"r": 120,
|
||||
"g": 160,
|
||||
"b": 255
|
||||
},
|
||||
"textColorCss": "var(--text-muted)",
|
||||
"ignoreWhitespace": false,
|
||||
"gutterSpacingFallbackLength": 5,
|
||||
"lastShownAuthorDisplay": "initials",
|
||||
"lastShownDateTimeFormatOptions": "date"
|
||||
},
|
||||
"autoCommitMessage": "vault backup: {{date}}"
|
||||
}
|
416
.obsidian/plugins/obsidian-git/main.js
vendored
Normal file
416
.obsidian/plugins/obsidian-git/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
.obsidian/plugins/obsidian-git/manifest.json
vendored
Normal file
10
.obsidian/plugins/obsidian-git/manifest.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"author": "Vinzent",
|
||||
"authorUrl": "https://github.com/Vinzent03",
|
||||
"id": "obsidian-git",
|
||||
"name": "Git",
|
||||
"description": "Integrate Git version control with automatic backup and other advanced features.",
|
||||
"isDesktopOnly": false,
|
||||
"fundingUrl": "https://ko-fi.com/vinzent",
|
||||
"version": "2.32.1"
|
||||
}
|
23
.obsidian/plugins/obsidian-git/obsidian_askpass.sh
vendored
Executable file
23
.obsidian/plugins/obsidian-git/obsidian_askpass.sh
vendored
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
PROMPT="$1"
|
||||
TEMP_FILE="$OBSIDIAN_GIT_CREDENTIALS_INPUT"
|
||||
|
||||
cleanup() {
|
||||
rm -f "$TEMP_FILE" "$TEMP_FILE.response"
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
echo "$PROMPT" > "$TEMP_FILE"
|
||||
|
||||
while [ ! -e "$TEMP_FILE.response" ]; do
|
||||
if [ ! -e "$TEMP_FILE" ]; then
|
||||
echo "Trigger file got removed: Abort" >&2
|
||||
exit 1
|
||||
fi
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
RESPONSE=$(cat "$TEMP_FILE.response")
|
||||
|
||||
echo "$RESPONSE"
|
576
.obsidian/plugins/obsidian-git/styles.css
vendored
Normal file
576
.obsidian/plugins/obsidian-git/styles.css
vendored
Normal file
@ -0,0 +1,576 @@
|
||||
@keyframes loading {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="git-view"] .button-border {
|
||||
border: 2px solid var(--interactive-accent);
|
||||
border-radius: var(--radius-s);
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="git-view"] .view-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="git-history-view"] .view-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.loading > svg {
|
||||
animation: 2s linear infinite loading;
|
||||
transform-origin: 50% 50%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.obsidian-git-center {
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.obsidian-git-textarea {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.obsidian-git-disabled {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.obsidian-git-center-button {
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
.tooltip.mod-left {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.tooltip.mod-right {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.git-tools {
|
||||
display: flex;
|
||||
margin-left: auto;
|
||||
}
|
||||
.git-tools .type {
|
||||
padding-left: var(--size-2-1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 11px;
|
||||
}
|
||||
|
||||
.git-tools .type[data-type="M"] {
|
||||
color: orange;
|
||||
}
|
||||
.git-tools .type[data-type="D"] {
|
||||
color: red;
|
||||
}
|
||||
.git-tools .buttons {
|
||||
display: flex;
|
||||
}
|
||||
.git-tools .buttons > * {
|
||||
padding: 0 0;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.is-active .git-tools .buttons > * {
|
||||
color: var(--nav-item-color-active);
|
||||
}
|
||||
|
||||
.git-author {
|
||||
color: var(--text-accent);
|
||||
}
|
||||
|
||||
.git-date {
|
||||
color: var(--text-accent);
|
||||
}
|
||||
|
||||
.git-ref {
|
||||
color: var(--text-accent);
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
|
||||
background-color: var(--background-primary);
|
||||
border-bottom: 1px solid var(--interactive-accent);
|
||||
font-family: var(--font-monospace);
|
||||
height: 35px;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
||||
font-size: 14px;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
|
||||
border: 1px solid #b4e2b4;
|
||||
border-radius: 5px 0 0 5px;
|
||||
color: #399839;
|
||||
padding: 2px;
|
||||
text-align: right;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
|
||||
border: 1px solid #e9aeae;
|
||||
border-radius: 0 5px 5px 0;
|
||||
color: #c33;
|
||||
margin-left: 1px;
|
||||
padding: 2px;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
font-size: 15px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
|
||||
overflow-x: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 3px;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
|
||||
-webkit-box-pack: end;
|
||||
-ms-flex-pack: end;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
display: none;
|
||||
font-size: 12px;
|
||||
justify-content: flex-end;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
|
||||
background-color: #c8e1ff;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
|
||||
margin: 0 4px 0 0;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
|
||||
border-collapse: collapse;
|
||||
font-family: Menlo, Consolas, monospace;
|
||||
font-size: 13px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
|
||||
display: inline-block;
|
||||
margin-bottom: -8px;
|
||||
margin-right: -4px;
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
|
||||
padding: 0 8em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
||||
display: inline-block;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
||||
padding: 0 4.5em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
|
||||
word-wrap: normal;
|
||||
background: none;
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
vertical-align: middle;
|
||||
white-space: pre;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||
.theme-light
|
||||
.workspace-leaf-content[data-type="diff-view"]
|
||||
.d2h-code-side-line
|
||||
del {
|
||||
background-color: #ffb6ba;
|
||||
}
|
||||
|
||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||
.theme-dark
|
||||
.workspace-leaf-content[data-type="diff-view"]
|
||||
.d2h-code-side-line
|
||||
del {
|
||||
background-color: #8d232881;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
||||
border-radius: 0.2em;
|
||||
display: inline-block;
|
||||
margin-top: -1px;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||
.theme-light
|
||||
.workspace-leaf-content[data-type="diff-view"]
|
||||
.d2h-code-side-line
|
||||
ins {
|
||||
background-color: #97f295;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||
.theme-dark
|
||||
.workspace-leaf-content[data-type="diff-view"]
|
||||
.d2h-code-side-line
|
||||
ins {
|
||||
background-color: #1d921996;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
|
||||
word-wrap: normal;
|
||||
background: none;
|
||||
display: inline;
|
||||
padding: 0;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .line-num1 {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .line-num1,
|
||||
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
padding: 0 0.5em;
|
||||
text-overflow: ellipsis;
|
||||
width: 3.5em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
|
||||
background-color: var(--background-primary);
|
||||
border: solid var(--background-modifier-border);
|
||||
border-width: 0 1px;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
text-align: right;
|
||||
width: 7.5em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
|
||||
content: "\200b";
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
||||
background-color: var(--background-primary);
|
||||
border: solid var(--background-modifier-border);
|
||||
border-width: 0 1px;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
padding: 0 0.5em;
|
||||
position: absolute;
|
||||
text-align: right;
|
||||
text-overflow: ellipsis;
|
||||
width: 4em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-tbody tr {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after {
|
||||
content: "\200b";
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
||||
background-color: var(--background-primary);
|
||||
border-color: var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
||||
background-color: #fee8e9;
|
||||
border-color: #e9aeae;
|
||||
}
|
||||
|
||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
||||
background-color: #dfd;
|
||||
border-color: #b4e2b4;
|
||||
}
|
||||
|
||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
||||
background-color: #521b1d83;
|
||||
border-color: #691d1d73;
|
||||
}
|
||||
|
||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
||||
background-color: rgba(30, 71, 30, 0.5);
|
||||
border-color: #13501381;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-info {
|
||||
background-color: var(--background-primary);
|
||||
border-color: var(--background-modifier-border);
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.theme-light
|
||||
.workspace-leaf-content[data-type="diff-view"]
|
||||
.d2h-file-diff
|
||||
.d2h-del.d2h-change {
|
||||
background-color: #fdf2d0;
|
||||
}
|
||||
|
||||
.theme-dark
|
||||
.workspace-leaf-content[data-type="diff-view"]
|
||||
.d2h-file-diff
|
||||
.d2h-del.d2h-change {
|
||||
background-color: #55492480;
|
||||
}
|
||||
|
||||
.theme-light
|
||||
.workspace-leaf-content[data-type="diff-view"]
|
||||
.d2h-file-diff
|
||||
.d2h-ins.d2h-change {
|
||||
background-color: #ded;
|
||||
}
|
||||
|
||||
.theme-dark
|
||||
.workspace-leaf-content[data-type="diff-view"]
|
||||
.d2h-file-diff
|
||||
.d2h-ins.d2h-change {
|
||||
background-color: rgba(37, 78, 37, 0.418);
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
|
||||
color: #3572b0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"]
|
||||
.d2h-file-list-wrapper
|
||||
a:visited {
|
||||
color: #3572b0;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
|
||||
display: block;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list > li {
|
||||
border-bottom: 1px solid var(--background-modifier-border);
|
||||
margin: 0;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list > li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
|
||||
cursor: pointer;
|
||||
display: none;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-icon {
|
||||
fill: currentColor;
|
||||
margin-right: 10px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
|
||||
color: #c33;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-added {
|
||||
color: #399839;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-changed {
|
||||
color: #d0b44c;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-moved {
|
||||
color: #3572b0;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-tag {
|
||||
background-color: var(--background-primary);
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
font-size: 10px;
|
||||
margin-left: 5px;
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
|
||||
border: 2px solid #c33;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
|
||||
border: 1px solid #399839;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
|
||||
border: 1px solid #d0b44c;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
|
||||
border: 1px solid #3572b0;
|
||||
}
|
||||
|
||||
/* ====================== Line Authoring Information ====================== */
|
||||
|
||||
.cm-gutterElement.obs-git-blame-gutter {
|
||||
/* Add background color to spacing inbetween and around the gutter for better aesthetics */
|
||||
border-width: 0px 2px 0.2px 2px;
|
||||
border-style: solid;
|
||||
border-color: var(--background-secondary);
|
||||
background-color: var(--background-secondary);
|
||||
}
|
||||
|
||||
.cm-gutterElement.obs-git-blame-gutter > div,
|
||||
.line-author-settings-preview {
|
||||
/* delegate text color to settings */
|
||||
color: var(--obs-git-gutter-text);
|
||||
font-family: monospace;
|
||||
height: 100%; /* ensure, that age-based background color occupies entire parent */
|
||||
text-align: right;
|
||||
padding: 0px 6px 0px 6px;
|
||||
white-space: pre; /* Keep spaces and do not collapse them. */
|
||||
}
|
||||
|
||||
@media (max-width: 800px) {
|
||||
/* hide git blame gutter not to superpose text */
|
||||
.cm-gutterElement.obs-git-blame-gutter {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.git-unified-diff-view,
|
||||
.git-split-diff-view .cm-deletedLine .cm-changedText {
|
||||
background-color: #ee443330;
|
||||
}
|
||||
|
||||
.git-unified-diff-view,
|
||||
.git-split-diff-view .cm-insertedLine .cm-changedText {
|
||||
background-color: #22bb2230;
|
||||
}
|
97
.obsidian/plugins/smart-second-brain/data.json
vendored
Normal file
97
.obsidian/plugins/smart-second-brain/data.json
vendored
Normal file
@ -0,0 +1,97 @@
|
||||
{
|
||||
"isChatComfy": true,
|
||||
"isUsingRag": true,
|
||||
"assistantLanguage": "en",
|
||||
"initialAssistantMessageContent": "Hello, I am your assistant. How can I help you?",
|
||||
"isIncognitoMode": false,
|
||||
"ollamaGenModel": {
|
||||
"model": "deepseek-r1:14b",
|
||||
"baseUrl": "http://localhost:11434",
|
||||
"temperature": 0.5,
|
||||
"contextWindow": 1948,
|
||||
"lcModel": {
|
||||
"lc": 1,
|
||||
"type": "constructor",
|
||||
"id": [
|
||||
"langchain",
|
||||
"chat_models",
|
||||
"ollama",
|
||||
"ChatOllama"
|
||||
],
|
||||
"kwargs": {
|
||||
"model": "deepseek-r1:14b",
|
||||
"base_url": "http://localhost:11434",
|
||||
"temperature": 0.5,
|
||||
"context_window": 1948,
|
||||
"lc_model": {
|
||||
"lc": 1,
|
||||
"type": "constructor",
|
||||
"id": [
|
||||
"langchain",
|
||||
"chat_models",
|
||||
"ollama",
|
||||
"ChatOllama"
|
||||
],
|
||||
"kwargs": {
|
||||
"model": "gemma3:12b",
|
||||
"base_url": "http://localhost:11434",
|
||||
"temperature": 0.5,
|
||||
"context_window": 1948
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ollamaEmbedModel": {
|
||||
"model": "nomic-embed-text",
|
||||
"baseUrl": "http://localhost:11434",
|
||||
"similarityThreshold": 0.75,
|
||||
"k": 100
|
||||
},
|
||||
"openAIGenModel": {
|
||||
"model": "gpt-3.5-turbo",
|
||||
"openAIApiKey": "sk-24a6af9eea55494b8f465a01cb92d461",
|
||||
"temperature": 0.5,
|
||||
"contextWindow": 1948,
|
||||
"lcModel": {
|
||||
"lc": 1,
|
||||
"type": "constructor",
|
||||
"id": [
|
||||
"langchain",
|
||||
"chat_models",
|
||||
"openai",
|
||||
"ChatOpenAI"
|
||||
],
|
||||
"kwargs": {
|
||||
"model": "gpt-3.5-turbo",
|
||||
"openai_api_key": {
|
||||
"lc": 1,
|
||||
"type": "secret",
|
||||
"id": [
|
||||
"OPENAI_API_KEY"
|
||||
]
|
||||
},
|
||||
"temperature": 0.5,
|
||||
"context_window": 1948,
|
||||
"streaming": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"openAIEmbedModel": {
|
||||
"model": "text-embedding-ada-002",
|
||||
"openAIApiKey": "sk-24a6af9eea55494b8f465a01cb92d461",
|
||||
"similarityThreshold": 0.75,
|
||||
"k": 100
|
||||
},
|
||||
"targetFolder": "Chats",
|
||||
"defaultChatName": "New Chat",
|
||||
"excludeFF": [
|
||||
"Chats",
|
||||
"*.excalidraw.md"
|
||||
],
|
||||
"isQuickSettingsOpen": true,
|
||||
"isVerbose": false,
|
||||
"isOnboarded": true,
|
||||
"hideIncognitoWarning": false,
|
||||
"isAutostart": true
|
||||
}
|
575
.obsidian/plugins/smart-second-brain/main.js
vendored
Normal file
575
.obsidian/plugins/smart-second-brain/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
.obsidian/plugins/smart-second-brain/manifest.json
vendored
Normal file
10
.obsidian/plugins/smart-second-brain/manifest.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "smart-second-brain",
|
||||
"name": "Smart Second Brain",
|
||||
"description": "Interact with your privacy focused assistant, leveraging Ollama or OpenAI, making your second brain even smarter.",
|
||||
"author": "Leo310, nicobrauchtgit",
|
||||
"authorUrl": "https://github.com/nicobrauchtgit",
|
||||
"version": "1.3.0",
|
||||
"minAppVersion": "1.5.0",
|
||||
"isDesktopOnly": true
|
||||
}
|
1
.obsidian/plugins/smart-second-brain/styles.css
vendored
Normal file
1
.obsidian/plugins/smart-second-brain/styles.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
.obsidian/plugins/smart-second-brain/vectorstores/nomic-embed-text.bin
vendored
Normal file
BIN
.obsidian/plugins/smart-second-brain/vectorstores/nomic-embed-text.bin
vendored
Normal file
Binary file not shown.
199
.obsidian/workspace.json
vendored
Normal file
199
.obsidian/workspace.json
vendored
Normal file
@ -0,0 +1,199 @@
|
||||
{
|
||||
"main": {
|
||||
"id": "134fa9ed79794f95",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "09ed283a351e2731",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "71235e05924257c3",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "copilot-conversations/天麻怎么吃@20250404_120810.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "天麻怎么吃@20250404_120810"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "b11c873647793e6d",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "cc636d003e2a117c",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "c4e53b5293252b33",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {
|
||||
"sortOrder": "alphabetical",
|
||||
"autoReveal": false
|
||||
},
|
||||
"icon": "lucide-folder-closed",
|
||||
"title": "Files"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "8b59296c52c5d26a",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "",
|
||||
"matchingCase": false,
|
||||
"explainSearch": false,
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
},
|
||||
"icon": "lucide-search",
|
||||
"title": "Search"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "a18b52e320193e6b",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "bookmarks",
|
||||
"state": {},
|
||||
"icon": "lucide-bookmark",
|
||||
"title": "Bookmarks"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"right": {
|
||||
"id": "455d8d04d9e49a95",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "73e50e2622177203",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "9b67270d05300062",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "Chats/New Chat.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": false,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-coming-in",
|
||||
"title": "Backlinks for New Chat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "fb227e453f2398b5",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "Chats/New Chat.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-going-out",
|
||||
"title": "Outgoing links from New Chat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "a9ea274143dcadc2",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true,
|
||||
"showSearch": false,
|
||||
"searchQuery": ""
|
||||
},
|
||||
"icon": "lucide-tags",
|
||||
"title": "Tags"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "dfc035c61565f8f7",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "Welcome.md",
|
||||
"followCursor": true,
|
||||
"showSearch": false,
|
||||
"searchQuery": ""
|
||||
},
|
||||
"icon": "lucide-list",
|
||||
"title": "Outline of Welcome"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "54bc157e2cbcd4d0",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "copilot-chat-view",
|
||||
"state": {},
|
||||
"icon": "message-square",
|
||||
"title": "Copilot"
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 4
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 487.5
|
||||
},
|
||||
"left-ribbon": {
|
||||
"hiddenItems": {
|
||||
"switcher:Open quick switcher": false,
|
||||
"graph:Open graph view": false,
|
||||
"canvas:Create new canvas": false,
|
||||
"daily-notes:Open today's daily note": false,
|
||||
"templates:Insert template": false,
|
||||
"command-palette:Open command palette": false,
|
||||
"copilot:Open Copilot Chat": false
|
||||
}
|
||||
},
|
||||
"active": "71235e05924257c3",
|
||||
"lastOpenFiles": [
|
||||
"Welcome.md",
|
||||
"copilot-conversations/天麻怎么吃@20250404_120810.md",
|
||||
"attachments",
|
||||
"未命名文件夹",
|
||||
"new notes",
|
||||
"copilot-conversations",
|
||||
"copilot-conversations/在ubuntu下可不可以把几个物理硬盘挂在到一个逻辑目录下@20250404_111308.md",
|
||||
"Chats/New Chat.md",
|
||||
"Task.md",
|
||||
"欢迎.md",
|
||||
"new notes/chathistory.md",
|
||||
"Chats",
|
||||
"new notes/Untitled.md",
|
||||
"new notes/快捷键设置.md"
|
||||
]
|
||||
}
|
5
Welcome.md
Normal file
5
Welcome.md
Normal file
@ -0,0 +1,5 @@
|
||||
This is your new **vault**.
|
||||
|
||||
Make a note of something, [[create a link]], or try [the Importer](https://help.obsidian.md/Plugins/Importer)!
|
||||
|
||||
When you're ready, delete this note and make the vault your own.:
|
207
copilot-conversations/天麻怎么吃@20250404_120810.md
Normal file
207
copilot-conversations/天麻怎么吃@20250404_120810.md
Normal file
@ -0,0 +1,207 @@
|
||||
---
|
||||
epoch: 1743739690936
|
||||
modelKey: qwen-max-latest|3rd party (openai-format)
|
||||
tags:
|
||||
- copilot-conversation
|
||||
- 药膳
|
||||
- 天麻
|
||||
---
|
||||
|
||||
**user**: 天麻怎么吃
|
||||
[Timestamp: 2025/04/04 12:08:10]
|
||||
|
||||
**ai**: Copilot index does not exist. Please index your vault first!
|
||||
|
||||
1. Set a working embedding model in QA settings. If it's not a local model, don't forget to set the API key.
|
||||
|
||||
2. Click 'Refresh Index for Vault' and wait for indexing to complete. If you encounter the rate limiting error, please turn your request per second down in QA setting.
|
||||
[Timestamp: 2025/04/04 12:08:10]
|
||||
|
||||
**user**: 天麻怎么吃
|
||||
[Timestamp: 2025/04/04 12:12:32]
|
||||
|
||||
**ai**: Copilot index does not exist. Please index your vault first!
|
||||
|
||||
1. Set a working embedding model in QA settings. If it's not a local model, don't forget to set the API key.
|
||||
|
||||
2. Click 'Refresh Index for Vault' and wait for indexing to complete. If you encounter the rate limiting error, please turn your request per second down in QA setting.
|
||||
[Timestamp: 2025/04/04 12:12:32]
|
||||
|
||||
**user**: 天麻怎么吃
|
||||
[Timestamp: 2025/04/04 12:13:21]
|
||||
|
||||
**ai**: 天麻是一种常用的中药材,常用于缓解头痛、头晕、失眠等症状。以下是几种常见的天麻食用方法:
|
||||
|
||||
### 1. **天麻炖汤**
|
||||
这是最常见的吃法之一,可以搭配鸡肉、排骨或猪骨一起炖汤。
|
||||
- **材料**:天麻片 $10-15$ 克,鸡肉或排骨适量,姜片少许。
|
||||
- **做法**:
|
||||
1. 将天麻片用清水浸泡 $30$ 分钟。
|
||||
2. 鸡肉或排骨焯水后放入炖锅。
|
||||
3. 加入天麻片和姜片,倒入适量清水。
|
||||
4. 大火煮开后转小火炖 $1-2$ 小时,最后加盐调味即可。
|
||||
|
||||
### 2. **天麻泡酒**
|
||||
天麻泡酒适合长期保存,具有一定的保健作用。
|
||||
- **材料**:天麻 $50$ 克,白酒 $500$ 毫升。
|
||||
- **做法**:
|
||||
1. 将天麻切片或打碎。
|
||||
2. 放入干净的玻璃瓶中,倒入白酒。
|
||||
3. 密封后放置阴凉处浸泡 $7-15$ 天即可饮用。
|
||||
4. 每次饮用 $10-20$ 毫升,每日 $1-2$ 次。
|
||||
|
||||
### 3. **天麻粉冲水**
|
||||
天麻可以研磨成粉末,方便日常服用。
|
||||
- **材料**:天麻粉 $2-3$ 克。
|
||||
- **做法**:
|
||||
1. 将天麻粉放入杯中。
|
||||
2. 加入温水或蜂蜜水搅拌均匀后饮用。
|
||||
3. 每日 $1-2$ 次。
|
||||
|
||||
### 4. **天麻蒸鸡蛋**
|
||||
这是一种简单又营养的吃法。
|
||||
- **材料**:天麻粉 $2$ 克,鸡蛋 $1-2$ 个,牛奶或清水适量。
|
||||
- **做法**:
|
||||
1. 将鸡蛋打散,加入天麻粉和牛奶(或清水)搅拌均匀。
|
||||
2. 过滤后倒入碗中,盖上保鲜膜。
|
||||
3. 上锅蒸 $10-15$ 分钟即可。
|
||||
|
||||
### 注意事项
|
||||
1. **用量控制**:天麻每日用量一般不超过 $15$ 克,过量可能导致不适。
|
||||
2. **禁忌人群**:孕妇、儿童及对天麻过敏者慎用。
|
||||
3. **搭配禁忌**:天麻不宜与寒凉性药材或食物同食。
|
||||
|
||||
如果需要更详细的药膳配方或有特殊需求,可以参考相关中医书籍或咨询专业医生。
|
||||
[Timestamp: 2025/04/04 12:13:40]
|
||||
|
||||
**user**: 天麻治什么
|
||||
[Timestamp: 2025/04/04 12:16:17]
|
||||
|
||||
**ai**: 天麻是一种传统中药材,主要功效是平肝息风、祛风止痛。它常用于治疗与肝风内动、风痰上扰相关的症状和疾病。以下是天麻的主要治疗作用及相关适应症:
|
||||
|
||||
---
|
||||
|
||||
### 1. **头痛、偏头痛**
|
||||
天麻具有显著的镇痛和镇静作用,特别适合因肝阳上亢或风邪引起的头痛、偏头痛。
|
||||
- **适用症状**:头部胀痛、偏侧头痛、头晕目眩。
|
||||
- **常用搭配**:可与川芎、白芷等药材配伍使用。
|
||||
|
||||
---
|
||||
|
||||
### 2. **眩晕**
|
||||
天麻对因肝阳上亢、气血不足或内耳问题引起的眩晕有较好的缓解作用。
|
||||
- **适用症状**:头晕目眩、站立不稳、耳鸣。
|
||||
- **常用搭配**:常与钩藤、石决明等药材一起使用。
|
||||
|
||||
---
|
||||
|
||||
### 3. **失眠、焦虑**
|
||||
天麻能安神定志,改善因肝火旺盛或心神不安导致的失眠、焦虑等症状。
|
||||
- **适用症状**:入睡困难、多梦易醒、心烦意乱。
|
||||
- **常用搭配**:可与酸枣仁、柏子仁等药材同用。
|
||||
|
||||
---
|
||||
|
||||
### 4. **癫痫、抽搐**
|
||||
天麻有平肝息风的作用,可用于治疗因肝风内动引起的癫痫、抽搐等症状。
|
||||
- **适用症状**:四肢抽搐、口眼歪斜、意识不清。
|
||||
- **常用搭配**:常与全蝎、僵蚕等药材配伍。
|
||||
|
||||
---
|
||||
|
||||
### 5. **风湿痹痛**
|
||||
天麻具有祛风通络的功效,适用于风湿性关节炎、肢体麻木等症状。
|
||||
- **适用症状**:关节疼痛、肌肉麻木、活动受限。
|
||||
- **常用搭配**:可与独活、羌活等药材一起使用。
|
||||
|
||||
---
|
||||
|
||||
### 6. **高血压**
|
||||
天麻对因肝阳上亢引起的高血压有一定的辅助治疗作用。
|
||||
- **适用症状**:头晕、头胀、血压升高。
|
||||
- **常用搭配**:常与夏枯草、菊花等药材配伍。
|
||||
|
||||
---
|
||||
|
||||
### 注意事项
|
||||
1. **辨证用药**:天麻主要用于肝风内动、风痰上扰的症状,若病因不同(如气血虚弱),需结合其他药物使用。
|
||||
2. **禁忌人群**:
|
||||
- 孕妇慎用。
|
||||
- 儿童及体质虚弱者应在医生指导下服用。
|
||||
3. **用量控制**:一般每日用量为 $3-10$ 克,过量可能导致不适。
|
||||
|
||||
---
|
||||
|
||||
如果需要更详细的用药指导,建议咨询中医师或参考专业中医书籍,如《本草纲目》或《中药大辞典》。
|
||||
[Timestamp: 2025/04/04 12:16:36]
|
||||
|
||||
**user**: 天麻的药效
|
||||
[Timestamp: 2025/04/04 12:17:11]
|
||||
|
||||
**ai**: 天麻是一种常用的中药材,具有平肝息风、祛风止痛的功效,常用于治疗头痛、偏头痛、眩晕、失眠、焦虑、癫痫、抽搐、风湿痹痛以及高血压等症状和疾病。为了更好地发挥天麻的药效,可以根据不同的症状选择合适的食用方法。以下是几种常见的天麻食用方式及其适用场景:
|
||||
|
||||
---
|
||||
|
||||
### 1. **天麻炖汤**(适合头痛、眩晕、风湿痹痛)
|
||||
天麻炖汤是最常见且易于吸收的吃法,尤其适合缓解头痛、眩晕以及风湿性关节疼痛。
|
||||
- **适用症状**:头痛、头晕、关节疼痛、肢体麻木。
|
||||
- **材料**:天麻片 $10-15$ 克,鸡肉或排骨适量,姜片少许。
|
||||
- **做法**:
|
||||
1. 将天麻片用清水浸泡 $30$ 分钟。
|
||||
2. 鸡肉或排骨焯水后放入炖锅。
|
||||
3. 加入天麻片和姜片,倒入适量清水。
|
||||
4. 大火煮开后转小火炖 $1-2$ 小时,最后加盐调味即可。
|
||||
|
||||
---
|
||||
|
||||
### 2. **天麻泡酒**(适合长期保健、风湿痹痛)
|
||||
天麻泡酒适合需要长期调理的人群,尤其是风湿痹痛患者。
|
||||
- **适用症状**:风湿性关节炎、肌肉麻木、长期体虚。
|
||||
- **材料**:天麻 $50$ 克,白酒 $500$ 毫升。
|
||||
- **做法**:
|
||||
1. 将天麻切片或打碎。
|
||||
2. 放入干净的玻璃瓶中,倒入白酒。
|
||||
3. 密封后放置阴凉处浸泡 $7-15$ 天即可饮用。
|
||||
4. 每次饮用 $10-20$ 毫升,每日 $1-2$ 次。
|
||||
|
||||
---
|
||||
|
||||
### 3. **天麻粉冲水**(适合失眠、焦虑、高血压)
|
||||
天麻粉冲水是一种简单方便的服用方式,特别适合需要快速缓解失眠、焦虑或高血压的人群。
|
||||
- **适用症状**:失眠、焦虑、高血压、头晕目眩。
|
||||
- **材料**:天麻粉 $2-3$ 克。
|
||||
- **做法**:
|
||||
1. 将天麻粉放入杯中。
|
||||
2. 加入温水或蜂蜜水搅拌均匀后饮用。
|
||||
3. 每日 $1-2$ 次。
|
||||
|
||||
---
|
||||
|
||||
### 4. **天麻蒸鸡蛋**(适合儿童、体质虚弱者)
|
||||
天麻蒸鸡蛋是一种温和且营养丰富的吃法,适合儿童或体质虚弱者。
|
||||
- **适用症状**:轻度头痛、失眠、体虚乏力。
|
||||
- **材料**:天麻粉 $2$ 克,鸡蛋 $1-2$ 个,牛奶或清水适量。
|
||||
- **做法**:
|
||||
1. 将鸡蛋打散,加入天麻粉和牛奶(或清水)搅拌均匀。
|
||||
2. 过滤后倒入碗中,盖上保鲜膜。
|
||||
3. 上锅蒸 $10-15$ 分钟即可。
|
||||
|
||||
---
|
||||
|
||||
### 注意事项
|
||||
1. **用量控制**:天麻每日用量一般不超过 $15$ 克,过量可能导致不适。
|
||||
2. **辨证用药**:根据具体症状选择合适的食用方法。例如,头痛、眩晕可选择炖汤;失眠、焦虑可选择天麻粉冲水。
|
||||
3. **禁忌人群**:
|
||||
- 孕妇慎用。
|
||||
- 儿童及体质虚弱者应在医生指导下服用。
|
||||
4. **搭配禁忌**:天麻不宜与寒凉性药材或食物同食。
|
||||
|
||||
---
|
||||
|
||||
通过以上方法,可以更好地发挥天麻的药效。如果需要更详细的药膳配方或有特殊需求,建议参考相关中医书籍或咨询专业医生。
|
||||
|
||||
#### Sources:
|
||||
|
||||
- [[Welcome]]
|
||||
- [[天麻怎么吃@20250404_120810]]
|
||||
[Timestamp: 2025/04/04 12:17:48]
|
Loading…
x
Reference in New Issue
Block a user