vault backup: 2023-02-19 18:00:00

This commit is contained in:
fallen-angle
2023-02-19 18:00:00 +08:00
parent 6f6a97c6a4
commit f6f8bf9ad8
15 changed files with 219 additions and 5035 deletions

4
.obsidian/app.json vendored
View File

@@ -1,7 +1,7 @@
{
"promptDelete": false,
"newLinkFormat": "relative",
"attachmentFolderPath": "./assets/未命名",
"attachmentFolderPath": "./assets/代码随想录",
"showUnsupportedFiles": false,
"newFileLocation": "current",
"useMarkdownLinks": true,
@@ -10,7 +10,7 @@
"vimMode": false,
"showLineNumber": true,
"foldIndent": true,
"showIndentGuide": true,
"showIndentGuide": false,
"smartIndentList": true,
"spellcheckLanguages": [
"zh-CN",

View File

@@ -2,7 +2,7 @@
"accentColor": "",
"cssTheme": "Minimal",
"monospaceFontFamily": "Maple Mono SC NF",
"theme": "moonstone",
"theme": "obsidian",
"interfaceFontFamily": "霞鹜文楷",
"textFontFamily": "霞鹜文楷等宽",
"translucency": false

View File

@@ -3,13 +3,13 @@
"obsidian-linter",
"obsidian-minimal-settings",
"obsidian-outliner",
"calendar",
"obsidian-git",
"theme-picker",
"oz-clear-unused-images",
"easy-typing-obsidian",
"obsidian-quiet-outline",
"table-editor-obsidian",
"obsidian-excalidraw-plugin",
"obsidian-custom-attachment-location"
"obsidian-custom-attachment-location",
"notion-like-tables",
"obsidian-git"
]

View File

@@ -8,7 +8,7 @@
"outgoing-link": true,
"tag-pane": true,
"page-preview": true,
"daily-notes": true,
"daily-notes": false,
"templates": true,
"note-composer": true,
"command-palette": true,

View File

@@ -7,7 +7,6 @@
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",

View File

@@ -1,10 +0,0 @@
{
"shouldConfirmBeforeCreate": true,
"weekStart": "locale",
"wordsPerDot": 250,
"showWeeklyNote": false,
"weeklyNoteFormat": "",
"weeklyNoteTemplate": "",
"weeklyNoteFolder": "",
"localeOverride": "system-default"
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +0,0 @@
{
"id": "calendar",
"name": "Calendar",
"description": "Calendar view of your daily notes",
"version": "1.5.10",
"author": "Liam Cain",
"authorUrl": "https://github.com/liamcain/",
"isDesktopOnly": false,
"minAppVersion": "0.9.11"
}

View File

@@ -0,0 +1,173 @@
{
"data": {
"table-id-ncD19n": {
"model": {
"columnIds": [
"column-id-DbpSufdC",
"column-id-X6bsAJAJ",
"column-id-AesrlXWA",
"column-id-R9Puaesk"
],
"rowIds": [
"row-id-2TwPFDyZ",
"row-id-UOEV6y9c",
"row-id-lGVh1i0M"
],
"cells": [
{
"id": "cell-id-ZwNGJppu",
"columnId": "column-id-DbpSufdC",
"rowId": "row-id-2TwPFDyZ",
"markdown": "1",
"html": "1",
"isHeader": true
},
{
"id": "cell-id-SF0WAz53",
"columnId": "column-id-X6bsAJAJ",
"rowId": "row-id-2TwPFDyZ",
"markdown": "1",
"html": "1",
"isHeader": true
},
{
"id": "cell-id-QQWFVvOk",
"columnId": "column-id-AesrlXWA",
"rowId": "row-id-2TwPFDyZ",
"markdown": "New Column",
"html": "New Column",
"isHeader": true
},
{
"id": "cell-id-7gwX7zTs",
"columnId": "column-id-R9Puaesk",
"rowId": "row-id-2TwPFDyZ",
"markdown": "New Column",
"html": "New Column",
"isHeader": true
},
{
"id": "cell-id-yUafFaI9",
"columnId": "column-id-DbpSufdC",
"rowId": "row-id-UOEV6y9c",
"markdown": "2",
"html": "2",
"isHeader": false
},
{
"id": "cell-id-LeUm3MQo",
"columnId": "column-id-X6bsAJAJ",
"rowId": "row-id-UOEV6y9c",
"markdown": "2",
"html": "2",
"isHeader": false
},
{
"id": "cell-id-WUMDHrFe",
"columnId": "column-id-AesrlXWA",
"rowId": "row-id-UOEV6y9c",
"markdown": "",
"html": "",
"isHeader": false
},
{
"id": "cell-id-0GNCtChc",
"columnId": "column-id-R9Puaesk",
"rowId": "row-id-UOEV6y9c",
"markdown": "",
"html": "",
"isHeader": false
},
{
"id": "cell-id-g2knaJYp",
"columnId": "column-id-DbpSufdC",
"rowId": "row-id-lGVh1i0M",
"markdown": "",
"html": "",
"isHeader": false
},
{
"id": "cell-id-yzvmUVf1",
"columnId": "column-id-X6bsAJAJ",
"rowId": "row-id-lGVh1i0M",
"markdown": "",
"html": "",
"isHeader": false
},
{
"id": "cell-id-HKsSvWWJ",
"columnId": "column-id-AesrlXWA",
"rowId": "row-id-lGVh1i0M",
"markdown": "",
"html": "",
"isHeader": false
},
{
"id": "cell-id-Mm4RxWAx",
"columnId": "column-id-R9Puaesk",
"rowId": "row-id-lGVh1i0M",
"markdown": "",
"html": "",
"isHeader": false
}
]
},
"settings": {
"columns": {
"column-id-DbpSufdC": {
"sortDir": "default",
"width": "120px",
"type": "text",
"useAutoWidth": false,
"shouldWrapOverflow": false,
"tags": []
},
"column-id-X6bsAJAJ": {
"sortDir": "default",
"width": "120px",
"type": "text",
"useAutoWidth": false,
"shouldWrapOverflow": false,
"tags": []
},
"column-id-AesrlXWA": {
"sortDir": "default",
"width": "120px",
"type": "text",
"useAutoWidth": false,
"shouldWrapOverflow": false,
"tags": []
},
"column-id-R9Puaesk": {
"sortDir": "default",
"width": "120px",
"type": "text",
"useAutoWidth": false,
"shouldWrapOverflow": false,
"tags": []
}
},
"rows": {
"row-id-2TwPFDyZ": {
"creationDate": 1676795276044
},
"row-id-UOEV6y9c": {
"creationDate": 1676795276045
},
"row-id-lGVh1i0M": {
"creationDate": 1676795292773
}
}
},
"pluginVersion": 505
}
},
"tableFolder": "_notion-like-tables",
"viewModeSync": {
"tableId": "table-id-ncD19n",
"viewModes": [],
"eventType": "update-state"
},
"shouldClear": false,
"shouldDebug": false
}

File diff suppressed because one or more lines are too long

View File

@@ -1,10 +0,0 @@
{
"id": "obsidian-tasks-plugin",
"name": "Tasks",
"version": "1.25.0",
"minAppVersion": "0.14.6",
"description": "Task management for Obsidian",
"author": "Martin Schenck and Clare Macrae",
"authorUrl": "https://github.com/obsidian-tasks-group",
"isDesktopOnly": false
}

View File

@@ -1,298 +0,0 @@
:root {
--tasks-details-icon: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z'/></svg>");
}
.plugin-tasks-query-explanation{
/* Prevent long explanation lines wrapping, so they are more readable,
especially on small screens.
A horizontal scroll bar will be displayed, if the explanation
is too wide to fit.
*/
--code-white-space: pre;
}
.tasks-count {
color: var(--text-faint);
padding-left: 20px;
}
/* Pencil icon. */
.tasks-edit {
background-color: var(--text-faint);
mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-hidden%3D%22true%22%20focusable%3D%22false%22%20width%3D%221em%22%20height%3D%221em%22%20style%3D%22-ms-transform%3A%20rotate(360deg)%3B%20-webkit-transform%3A%20rotate(360deg)%3B%20transform%3A%20rotate(360deg)%3B%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20viewBox%3D%220%200%201536%201536%22%3E%3Cpath%20d%3D%22M363%201408l91-91l-235-235l-91%2091v107h128v128h107zm523-928q0-22-22-22q-10%200-17%207l-542%20542q-7%207-7%2017q0%2022%2022%2022q10%200%2017-7l542-542q7-7%207-17zm-54-192l416%20416l-832%20832H0v-416zm683%2096q0%2053-37%2090l-166%20166l-416-416l166-165q36-38%2090-38q53%200%2091%2038l235%20234q37%2039%2037%2091z%22%20fill%3D%22%23626262%22%2F%3E%3C%2Fsvg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-hidden%3D%22true%22%20focusable%3D%22false%22%20width%3D%221em%22%20height%3D%221em%22%20style%3D%22-ms-transform%3A%20rotate(360deg)%3B%20-webkit-transform%3A%20rotate(360deg)%3B%20transform%3A%20rotate(360deg)%3B%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20viewBox%3D%220%200%201536%201536%22%3E%3Cpath%20d%3D%22M363%201408l91-91l-235-235l-91%2091v107h128v128h107zm523-928q0-22-22-22q-10%200-17%207l-542%20542q-7%207-7%2017q0%2022%2022%2022q10%200%2017-7l542-542q7-7%207-17zm-54-192l416%20416l-832%20832H0v-416zm683%2096q0%2053-37%2090l-166%20166l-416-416l166-165q36-38%2090-38q53%200%2091%2038l235%20234q37%2039%2037%2091z%22%20fill%3D%22%23626262%22%2F%3E%3C%2Fsvg%3E");
mask-size: contain;
-webkit-mask-size: contain;
display: inline-block;
width: 1em;
height: 1em;
vertical-align: middle;
margin-left: 0.5em;
cursor: pointer;
}
/* Urgency score */
.tasks-urgency {
font-size: var(--font-ui-smaller);
font-family: var(--font-interface);
padding: 2px 6px;
border-radius: var(--radius-s);
color: var(--text-normal);
background-color: var(--background-secondary);
margin-left: 0.5em;
line-height: 1;
}
.internal-link.internal-link-short-mode {
text-decoration: none;
}
.tasks-list-text {
position: relative;
}
.tasks-list-text .tooltip {
position: absolute;
top: 0px;
left: 0px;
white-space: nowrap;
}
.tasks-setting-important {
color: red;
font-weight: bold;
}
/**------------------------------------------------------------------------
** MODAL
*------------------------------------------------------------------------**/
.tasks-modal-section + .tasks-modal-section {
margin-top: 16px;
}
.tasks-modal-section label {
display: inline-block;
margin-bottom: 4px;
}
.tasks-modal-section label > span {
display: inline-block;
}
.tasks-modal .with-accesskeys .accesskey-first::first-letter,
.tasks-modal .with-accesskeys .accesskey {
text-decoration: underline;
text-underline-offset: 1pt;
}
.tasks-modal-buttons {
display: grid;
grid-template-columns: 3fr 1fr;
column-gap: .5em;
}
.tasks-modal label + input[type="checkbox"] {
margin-left: 0.67em;
top: 2px;
}
.tasks-modal input[type="text"] {
width: 100%;
}
.tasks-modal-priorities {
display: grid;
grid-template-columns: 4em 5em 5em 7em 5em;
grid-column-gap: 1.33em;
}
.tasks-modal-priorities span {
line-height: 1.41;
white-space: nowrap;
}
.tasks-modal-priorities label {
border-radius: var(--input-radius);
padding: 2px 3px;
}
.tasks-modal-priorities input:focus + label {
box-shadow: 0 0 0 2px var(--background-modifier-border-focus);
border-color: var(--background-modifier-border-focus);
}
.tasks-modal-priorities input:checked + label > span:first-child {
font-weight: bold;
}
.tasks-modal-priorities input:not(:checked) + label > span:nth-child(2) {
filter: grayscale(100%) opacity(60%);
}
.tasks-modal-dates {
display: grid;
grid-template-columns: 5.5em auto;
column-gap: .5em;
row-gap: 5px;
}
.tasks-modal-dates > label {
grid-column: 1;
margin-top: 6px;
}
.tasks-modal-dates > input, .tasks-modal-dates > code {
grid-column: 2;
align-items: stretch;
}
.tasks-modal-dates > code {
margin-bottom: 5px;
}
.tasks-modal-dates > div {
grid-column-start: 1;
grid-column-end: 3;
}
.tasks-modal-status {
display: flex;
justify-content: space-between;
}
.tasks-modal-error {
border: 1px solid red !important;
}
.tasks-modal button:disabled {
pointer-events: none !important;
opacity: 0.3 !important;
}
@media (max-width: 649px) {
.tasks-modal-priorities {
grid-template-columns: 4em 7.5em 5em;
margin-bottom: -10px;
}
.tasks-modal-priorities > label {
grid-row: 1 / span 2;
}
.tasks-modal-dates {
grid-template-columns: 1fr;
}
.tasks-modal-dates > label {
margin: 0;
}
.tasks-modal-dates > input, .tasks-modal-dates > code {
grid-column: 1;
}
.tasks-modal-dates > div {
grid-column-end: 1;
}
.tasks-modal-status {
display: block;
}
}
@media (max-width: 399px) {
.tasks-modal-priorities {
grid-template-columns: 4em auto;
}
.tasks-modal-priorities > label {
grid-row: 1 / span 4;
}
}
@media (max-width: 259px) {
.tasks-modal-priorities {
grid-template-columns: 1fr;
margin-bottom: 0;
}
.tasks-modal-priorities > label {
grid-row: 1;
}
}
/**------------------------------------------------------------------------
** SETTINGS
*------------------------------------------------------------------------**/
.tasks-settings-is-invalid {
/* Dark red text on pale background*/
color: var(--text-error) !important;
background-color: rgba(var(--background-modifier-error-rgb), 0.2) !important;
}
.tasks-settings .additional {
margin: 6px 12px;
}
.tasks-settings .additional > .setting-item {
border-top: 0;
padding-top: 9px;
}
.tasks-settings details > summary {
outline: none;
display: block !important;
list-style: none !important;
list-style-type: none !important;
min-height: 1rem;
border-top-left-radius: 0.1rem;
border-top-right-radius: 0.1rem;
cursor: pointer;
position: relative;
}
.tasks-settings details > summary::-webkit-details-marker,
.tasks-settings details > summary::marker {
display: none !important;
}
.tasks-settings details > summary > .collapser {
position: absolute;
top: 50%;
right: 8px;
transform: translateY(-50%);
content: "";
}
.tasks-settings details > summary > .collapser > .handle {
transform: rotate(0deg);
transition: transform 0.25s;
background-color: currentColor;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: contain;
mask-size: contain;
-webkit-mask-image: var(--tasks-details-icon);
mask-image: var(--tasks-details-icon);
width: 20px;
height: 20px;
}
.tasks-settings details[open] > summary > .collapser > .handle {
transform: rotate(90deg);
}
.tasks-nested-settings .setting-item {
border: 0px;
padding-bottom: 0;
}
.tasks-nested-settings {
padding-bottom: 18px;
}
.tasks-nested-settings[open] .setting-item-heading,
.tasks-nested-settings:not(details) .setting-item-heading {
border-top: 0px;
border-bottom: 1px solid var(--background-modifier-border);
}
.tasks-settings .row-for-status {
margin-top: 0px;
margin-bottom: 0px;
}

View File

@@ -4,16 +4,16 @@
"type": "split",
"children": [
{
"id": "f947ce0a0b060a6d",
"id": "36cd3ae527e35a9d",
"type": "tabs",
"children": [
{
"id": "8ed24f07e71c95c9",
"id": "cfd9802490841a0a",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Books/未命名.md",
"file": "Books/代码随想录/代码随想录.md",
"mode": "source",
"source": false
}
@@ -85,7 +85,7 @@
"state": {
"type": "backlink",
"state": {
"file": "Books/未命名.md",
"file": "Books/代码随想录/代码随想录.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@@ -102,7 +102,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "Books/未命名.md",
"file": "Books/代码随想录/代码随想录.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
@@ -125,7 +125,7 @@
"state": {
"type": "outline",
"state": {
"file": "Books/未命名.md"
"file": "Books/代码随想录/代码随想录.md"
}
}
},
@@ -136,36 +136,18 @@
"type": "advanced-tables-toolbar",
"state": {}
}
},
{
"id": "956a18952dde4b3b",
"type": "leaf",
"state": {
"type": "calendar",
"state": {}
}
},
{
"id": "d48efbe492f71eab",
"type": "leaf",
"state": {
"type": "side-panel-control-view",
"state": {}
}
}
],
"currentTab": 4
"currentTab": 2
}
],
"direction": "horizontal",
"width": 386.5,
"collapsed": true
"width": 386.5
},
"left-ribbon": {
"hiddenItems": {
"switcher:打开快速切换": false,
"graph:查看关系图谱": false,
"daily-notes:打开/创建今天的日记": false,
"templates:插入模板": false,
"command-palette:打开命令面板": false,
"table-editor-obsidian:Advanced Tables Toolbar": false,
@@ -173,17 +155,17 @@
"oz-clear-unused-images:Clear Unused Images": false
}
},
"active": "8ed24f07e71c95c9",
"active": "cfd9802490841a0a",
"lastOpenFiles": [
"Books/Windows.md",
"Books/未命名.md",
"Books/!Windows.md",
"Project/LConf/TODO.md",
"Project/hot-remap.nvim/TODO.md",
"School/操作系统/王道考研/处理机.md",
"Book/Java高并发程序设计/Java高并发程序设计5.md",
"Book/Java高并发程序设计/Java高并发程序设计4.md",
"Book/Java高并发程序设计/Java高并发程序设计3.md",
"Book/Java高并发程序设计/Java高并发程序设计1、2.md"
"Books/代码随想录/().md",
"Books/代码随想录/代码随想录.md",
"Temp/未命名.md",
"_notion-like-tables/table-id-ncD19n.md",
"未命名.md",
"Basic/未命名.md",
"Excalidraw/Drawing 2023-02-19 16.06.15.excalidraw.md",
"Excalidraw/Drawing 2023-02-19 16.07.56.excalidraw.md",
"Excalidraw/Drawing 2023-02-19 16.07.40.excalidraw.md",
"Books/Windows.md"
]
}

View File

@@ -0,0 +1,20 @@
---
tag: algorithm
---
# 数组
1. [二分查找](https://leetcode.cn/problems/binary-search/)
进度状况:仅完成主题干。
注意:
- 二分查找时注意区间的边界,当取 `[left, right]` 时,当 `left == right` 是有意义的,所以循环的条件为 `while(left < right)`;同理,当取 `[left, right)` 时,循环的条件为 `while(left <= right)`
2. [移除元素](https://leetcode.cn/problems/remove-element/)
进度状况:仅完成主题干。
解题方法:双指针法
- 快慢指针法
- 相向指针法(√):减少元素移动次数
3. [有序数组的平方](https://leetcode.cn/problems/minimum-size-subarray-sum/)
进度状况:完成主题干
注意:
- 注意指针可以从中间向两侧扫描,最好从两侧向中间扫描。
4. 长度最小的子数组
进度状况:仅完成主题干。
解题方法:滑动窗口。

View File

@@ -1,16 +0,0 @@
```
---
title: recollect that in arming yourselves
date: "2022-08-22 21:37"
tags:
- lang/eng
- type/book
- study/quote
---
```
>
>
> ```java
> private int a = 1;
> ```