vault backup: 2025-08-26 23:01:44

This commit is contained in:
CrazyJasonwell committed 2025-08-26 23:01:44 +08:00
1 parent b87cba540c
commit 290c8483e8
18 files changed
+12402 -49

No files matched your search

+2 -1
View File
@@ -60,5 +60,6 @@
"generate-timeline",
"update-time-on-edit",
"timelines-revamped",
"mehrmaid"
"mehrmaid",
"onlyoffice"
]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+12
View File
@@ -0,0 +1,12 @@
{
"onlyOfficeServerPort": 3480,
"jwtSecret": "sIQDBApCLBgr2yZQsHJve07bHi4iZDv7",
"localServerAddress": "192.168.1.181",
"htmlServerPort": 0,
"callbackServerPort": 0,
"useRequestToken": true,
"useSystemSaveAs": false,
"hideDownloadAs": true,
"promptNameOnCreate": true,
"restrictToLocalhost": false
}
+59
View File
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>OnlyOffice Embedded Editor</title>
<style>
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }
#placeholder { width: 100%; height: 100%; }
</style>
</head>
<body>
<div id="placeholder"></div>
<script>
// Host injects a script that defines init payload
(function() {
function boot() {
if (!window.__OO_INIT__) { return setTimeout(boot, 50); }
const { apiScriptUrl, buildConfig, bridge } = window.__OO_INIT__;
const script = document.createElement('script');
script.src = apiScriptUrl;
script.onload = function() {
try {
const cfg = buildConfig();
// Wire events into both config.events and editorConfig.events for compatibility
cfg.events = cfg.events || {};
cfg.editorConfig = cfg.editorConfig || {};
cfg.editorConfig.events = cfg.editorConfig.events || {};
const ev = {
onAppReady: function() { bridge('onlyoffice-app-ready', {}); },
onDocumentStateChange: function(e){ bridge('onlyoffice-dirty-state', { isDirty: !!(e && e.data) }); },
onDocumentContentChanged: function(){ bridge('onlyoffice-dirty-state', { isDirty: true }); },
onDownloadAs: function(e){ bridge('onlyoffice-save-as', e && e.data || {}); },
onRequestSaveAs: function(e){ bridge('onlyoffice-save-as', e && e.data || {}); },
onRequestCreateNew: function(e){ bridge('onlyoffice-create-new', e && e.data || {}); }
};
Object.assign(cfg.events, ev);
Object.assign(cfg.editorConfig.events, ev);
window.docEditor = new window.DocsAPI.DocEditor('placeholder', cfg);
console.log('[embedded-editor] initialized');
// Messages from /api/* pages
window.addEventListener('message', function(ev){
if (!ev || !ev.data) return;
if (ev.data.type === 'onlyoffice-save-as') bridge('onlyoffice-save-as', ev.data.data || {});
if (ev.data.type === 'onlyoffice-create-new') bridge('onlyoffice-create-new', ev.data || {});
});
} catch (err) {
console.error('[embedded-editor] init error', err);
}
};
script.onerror = function(){ console.error('[embedded-editor] failed to load API', apiScriptUrl); };
document.head.appendChild(script);
}
boot();
})();
</script>
</body>
</html>
File diff suppressed because it is too large. Load diff
+10
View File
@@ -0,0 +1,10 @@
{
"id": "onlyoffice",
"name": "OnlyOffice",
"version": "1.0.0",
"minAppVersion": "0.15.0",
"description": "Edit DOCX files using OnlyOffice Document Server",
"author": "Jan Sansdtröm",
"authorUrl": "https://github.com/yourusername",
"isDesktopOnly": true
}
+1 -1
View File
@@ -34,7 +34,7 @@
"contentTemplate": "# {{{title}}}\n\n{{{description}}}\n\n{{{article_title}}} //文章内容标题\n{{{content}}} //文章正文\n\n\n[Read in Cubox]({{{cubox_url}}}) \n[Read Original]({{{url}}}) \n\n---\n\n{{#highlights.length}}\n## Annotations \n\n{{#highlights}}\n> {{{text}}} \n\n{{#note}}\n{{{note}}}\n{{/note}}\n[Link️]({{{cubox_url}}}) \n\n{{/highlights}}\n{{/highlights.length}}",
"highlightInContent": true,
"dateFormat": "yyyy-MM-dd",
"lastSyncTime": 1756217339834,
"lastSyncTime": 1756219139631,
"lastSyncCardId": "7358083230366436785",
"lastCardUpdateTime": "2025-08-21T13:52:28.950+0800",
"syncing": false
+8 -8
View File
@@ -4,10 +4,18 @@
"basename": "2025-08-26",
"path": "01-工作日记/2025-08-26.md"
},
{
"basename": "Start",
"path": "08-Inbox/Office/Start.pptx"
},
{
"basename": "数据备份方案",
"path": "03-学习笔记/数据备份方案.md"
},
{
"basename": "Start",
"path": "08-Inbox/Office/Start.docx"
},
{
"basename": "2025-08-25",
"path": "01-工作日记/2025-08-25.md"
@@ -191,14 +199,6 @@
{
"basename": "软件下载安装",
"path": "90-学习教程/99-黑曜石玩家指南/1-obsidian入门/软件下载安装.md"
},
{
"basename": "每周定期汇总小结",
"path": "90-学习教程/99-黑曜石玩家指南/1-obsidian入门/每周定期汇总小结.md"
},
{
"basename": "开箱写日志",
"path": "90-学习教程/99-黑曜石玩家指南/1-obsidian入门/开箱写日志.md"
}
],
"omittedPaths": [],
+1 -1
View File
@@ -18,6 +18,6 @@
"01-工作日记/2025-08-24.md": "b82a4f49459f0b3dd8f8b4b2411fc2c682fea28f69b72d5c2cdf28ecac49cfd4",
"01-工作日记/2025-08-25.md": "2c6441d63702944db046c5637e0db95a969a26abc661ebd500662acfbf1e3a22",
"60-Imports/63-WuCai/2025/08/Plex重大变更:无论使用自己还是别人的媒体服务器远程播放都必须付费 – 蓝点网.md": "7a61c7330f970a8283cc70a0511e8b43bd6a160fc65e42fb2bee5f46668c752f",
"01-工作日记/2025-08-26.md": "21a60c32fb116a5e9fa4ce0c36735214b885c22c661a0a1130f67692d847d272"
"01-工作日记/2025-08-26.md": "95ef1aaf127c499d538809bb85054c191268e360119c7c716505a73dc5a6c51b"
}
}
+12 -37
View File
@@ -4,45 +4,21 @@
"type": "split",
"children": [
{
"id": "68ba61e199a3006a",
"id": "cf20749da23c30a8",
"type": "tabs",
"children": [
{
"id": "210f6e255abf09ac",
"id": "88ed9de744392085",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "01-工作日记/2025-08-26.md",
"mode": "source",
"source": false,
"backlinks": true,
"backlinkOpts": {
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
"showSearch": false,
"searchQuery": "",
"backlinkCollapsed": true,
"unlinkedCollapsed": true
}
},
"icon": "lucide-file",
"title": "2025-08-26"
}
},
{
"id": "79999341f21ff9a9",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "03-学习笔记/数据备份方案.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "数据备份方案"
"title": "2025-08-26"
}
}
]
@@ -321,7 +297,6 @@
"obsidian-importer:Open Importer": false,
"copilot:Open Copilot Chat": false,
"DEVONlink-obsidian:DEVONlink": false,
"periodic-notes:Open today": false,
"memos-ai-sync:Sync Memos": false,
"translate:Open translation view": false,
"obsidian-calibre-plugin:Calibre": false,
@@ -330,20 +305,26 @@
"diary-ics:日记日历订阅": false,
"cubox-sync:Cubox": false,
"file-tree-alternative:File Tree Alternative Plugin": true,
"hidden-folder-obsidian:隐藏文件夹": false,
"password-protection:开启密码保护": false,
"soundscapes:Soundscapes: My Music": false,
"sheet-plus:创建 Excel 文件": false,
"wucai-highlights-official:Start WuCai syncing": false,
"note-to-mp:复制到公众号": false,
"timelines-revamped:Insert Timeline Event": false,
"timelines-revamped:Insert Timeline Event (Frontmatter)": false
"timelines-revamped:Insert Timeline Event (Frontmatter)": false,
"periodic-notes:Open today": false,
"onlyoffice:New OnlyOffice Document": false
}
},
"active": "210f6e255abf09ac",
"active": "88ed9de744392085",
"lastOpenFiles": [
"08-Inbox/Office/Start.pptx",
"03-学习笔记/数据备份方案.md",
"08-Inbox/Office/Start.docx",
"01-工作日记/2025-08-26.md",
"08-Inbox/Office/Start.xlsx",
"08-Inbox/Office",
"08-Inbox/未命名文件夹",
"01-工作日记/2025-08-25.md",
"50-Memos/2025/08/党员组织看山河为证2个多小时 晚上在最大的杨裕兴面馆吃面 (2025-08-25 19-25).md",
"60-Imports/63-WuCai/2025/08/Plex重大变更:无论使用自己还是别人的媒体服务器远程播放都必须付费 – 蓝点网.md",
@@ -367,7 +348,6 @@
"10-WebClipper/扩展无限可能:Obsidian Web Viewer插件解析.md",
"10-WebClipper/Pocket.md",
"02-技术评测/AI专题/免费使用Gemini 2.5 Pro的完整教程.md",
"02-技术评测/AI专题/AI使用评测.md",
"50-Memos/2025/08/resources/npLDiAioDzxYNMCxDndP3Q_A0FB7954-FD46-4F7F-A39E-E5284AAD9223.jpg",
"08-Inbox/B99016FB-F1A3-433A-BF44-75086CF8B7F6.txt",
"08-Inbox/assets/68691ee74ca1b.png",
@@ -375,11 +355,6 @@
"70-SimpRead/output/Obsidian 和 Logseq 对比 - 拾月/assets",
"70-SimpRead/output/Obsidian 和 Logseq 对比 - 拾月",
"70-SimpRead/output/本地快照系统.pdf",
"70-SimpRead/output/assets",
"70-SimpRead/Inbox/assets",
"70-SimpRead/output/tmp-本地快照系统.html",
"70-SimpRead/simpread_config.json",
"simpread_config.json",
"50-Memos/2025/08/resources/JghbgqDFVMTm2ZbzCdqT3T_22902977-BC80-405E-8D23-996AFB1B7939.jpg",
"50-Memos/2025/08/resources/QxEtttRT6WPdBi6WWzSgMj_E6DB1120-D906-409D-99DE-374ADE4B4E7E.jpg",
"50-Memos/2025/08/resources/iBGNVYtLw8a8HuefAMGv6L_FD566CF2-5ECB-479D-844E-36A3977F3EE3.jpg",
+2 -1
View File
@@ -6,7 +6,7 @@ tags:
rating: ⭐️
excerpt:
created: 2025-08-26T10:08
updated: 2025-08-26T17:43
updated: 2025-08-26T23:01
---
## 1TODO
- [x] 多喝水,避免久坐不动 ✅ 2025-08-26
@@ -128,6 +128,7 @@ nextcloud也需要域名信任,修改config.php文件!ssh->root权限!
- fnOS-T:更新下载镜像到90%后失败?
## 3 Tips
- 偶然发现:OB有onlyoffice插件,实现office文件联动
## 4 Questions
Binary file not shown.
Binary file not shown.
Binary file not shown.