Compare commits
10 commits
a16f7ad8c5
...
420640d449
Author | SHA1 | Date | |
---|---|---|---|
420640d449 | |||
4a863dcda6 | |||
a24806d71d | |||
2269bdebae | |||
4d409a3892 | |||
9e3b45d83f | |||
16bf361f18 | |||
2a1004a7c7 | |||
8aa7a6d3bb | |||
0a26a405cb |
5
.obsidian/appearance.json
vendored
5
.obsidian/appearance.json
vendored
|
@ -1,10 +1,11 @@
|
||||||
{
|
{
|
||||||
"theme": "moonstone",
|
"theme": "moonstone",
|
||||||
"translucency": true,
|
"translucency": true,
|
||||||
"cssTheme": "Prism",
|
"cssTheme": "Shimmering Focus",
|
||||||
"interfaceFontFamily": "IBM Plex Sans",
|
"interfaceFontFamily": "IBM Plex Sans",
|
||||||
"textFontFamily": "IBM Plex Mono,monospace",
|
"textFontFamily": "IBM Plex Mono,monospace",
|
||||||
"monospaceFontFamily": "IBM Plex Mono",
|
"monospaceFontFamily": "IBM Plex Mono",
|
||||||
"baseFontSize": 19,
|
"baseFontSize": 19,
|
||||||
"enabledCssSnippets": []
|
"enabledCssSnippets": [],
|
||||||
|
"accentColor": ""
|
||||||
}
|
}
|
29
.obsidian/core-plugins-migration.json
vendored
Normal file
29
.obsidian/core-plugins-migration.json
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"file-explorer": true,
|
||||||
|
"global-search": true,
|
||||||
|
"switcher": true,
|
||||||
|
"graph": true,
|
||||||
|
"backlink": true,
|
||||||
|
"outgoing-link": true,
|
||||||
|
"tag-pane": true,
|
||||||
|
"page-preview": true,
|
||||||
|
"daily-notes": false,
|
||||||
|
"templates": true,
|
||||||
|
"note-composer": true,
|
||||||
|
"command-palette": true,
|
||||||
|
"slash-command": false,
|
||||||
|
"editor-status": true,
|
||||||
|
"starred": true,
|
||||||
|
"markdown-importer": false,
|
||||||
|
"zk-prefixer": false,
|
||||||
|
"random-note": true,
|
||||||
|
"outline": true,
|
||||||
|
"word-count": true,
|
||||||
|
"slides": false,
|
||||||
|
"audio-recorder": false,
|
||||||
|
"workspaces": false,
|
||||||
|
"file-recovery": false,
|
||||||
|
"publish": false,
|
||||||
|
"sync": false,
|
||||||
|
"canvas": true
|
||||||
|
}
|
5
.obsidian/plugins/obsidian-git/data.json
vendored
5
.obsidian/plugins/obsidian-git/data.json
vendored
|
@ -20,5 +20,8 @@
|
||||||
"basePath": "",
|
"basePath": "",
|
||||||
"differentIntervalCommitAndPush": true,
|
"differentIntervalCommitAndPush": true,
|
||||||
"changedFilesInStatusBar": true,
|
"changedFilesInStatusBar": true,
|
||||||
"username": ""
|
"username": "",
|
||||||
|
"showedMobileNotice": true,
|
||||||
|
"refreshSourceControlTimer": 7000,
|
||||||
|
"showBranchStatusBar": true
|
||||||
}
|
}
|
27993
.obsidian/plugins/obsidian-git/main.js
vendored
27993
.obsidian/plugins/obsidian-git/main.js
vendored
File diff suppressed because it is too large
Load diff
6
.obsidian/plugins/obsidian-git/manifest.json
vendored
6
.obsidian/plugins/obsidian-git/manifest.json
vendored
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"id": "obsidian-git",
|
"id": "obsidian-git",
|
||||||
"name": "Obsidian Git",
|
"name": "Obsidian Git",
|
||||||
"description": "Backup your vault with git.",
|
"description": "Backup your vault with Git.",
|
||||||
"isDesktopOnly": true,
|
"isDesktopOnly": false,
|
||||||
"js": "main.js",
|
"js": "main.js",
|
||||||
"version": "1.31.0"
|
"version": "2.6.0"
|
||||||
}
|
}
|
||||||
|
|
452
.obsidian/plugins/obsidian-git/styles.css
vendored
452
.obsidian/plugins/obsidian-git/styles.css
vendored
|
@ -1,465 +1,473 @@
|
||||||
@keyframes loading {
|
@keyframes loading {
|
||||||
0% {
|
0% {
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type='git-view'] .view-content {
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading>svg {
|
.loading>svg {
|
||||||
animation: 2s linear infinite loading;
|
animation: 2s linear infinite loading;
|
||||||
transform-origin: 50% 50%;
|
transform-origin: 50% 50%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.obsidian-git-center {
|
.obsidian-git-center {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.obsidian-git-textarea {
|
.obsidian-git-textarea {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.obsidian-git-center-button {
|
.obsidian-git-center-button {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooltip.mod-left {
|
.tooltip.mod-left {
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooltip.mod-right {
|
.tooltip.mod-right {
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.obsidian-git-shortcuts {
|
.obsidian-git-shortcuts {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.diff-err {
|
.diff-err {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.diff-err-sign {
|
.diff-err-sign {
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
border-bottom: 1px solid var(--interactive-accent);
|
border-bottom: 1px solid var(--interactive-accent);
|
||||||
font-family: var(--font-monospace);
|
font-family: var(--font-monospace);
|
||||||
height: 35px;
|
height: 35px;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
|
||||||
border: 1px solid #b4e2b4;
|
border: 1px solid #b4e2b4;
|
||||||
border-radius: 5px 0 0 5px;
|
border-radius: 5px 0 0 5px;
|
||||||
color: #399839;
|
color: #399839;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
|
||||||
border: 1px solid #e9aeae;
|
border: 1px solid #e9aeae;
|
||||||
border-radius: 0 5px 5px 0;
|
border-radius: 0 5px 5px 0;
|
||||||
color: #c33;
|
color: #c33;
|
||||||
margin-left: 1px;
|
margin-left: 1px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
|
||||||
-webkit-box-align: center;
|
-webkit-box-align: center;
|
||||||
-ms-flex-align: center;
|
-ms-flex-align: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
|
||||||
border: 1px solid var(--background-modifier-border);
|
border: 1px solid var(--background-modifier-border);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
|
||||||
-webkit-box-pack: end;
|
-webkit-box-pack: end;
|
||||||
-ms-flex-pack: end;
|
-ms-flex-pack: end;
|
||||||
-webkit-box-align: center;
|
-webkit-box-align: center;
|
||||||
-ms-flex-align: center;
|
-ms-flex-align: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: 1px solid var(--background-modifier-border);
|
border: 1px solid var(--background-modifier-border);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: none;
|
display: none;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
|
||||||
background-color: #c8e1ff;
|
background-color: #c8e1ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
|
||||||
margin: 0 4px 0 0;
|
margin: 0 4px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
font-family: Menlo, Consolas, monospace;
|
font-family: Menlo, Consolas, monospace;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: -8px;
|
margin-bottom: -8px;
|
||||||
margin-right: -4px;
|
margin-right: -4px;
|
||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
|
||||||
padding: 0 8em;
|
padding: 0 8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
||||||
padding: 0 4.5em;
|
padding: 0 4.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
background: none;
|
background: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
-webkit-user-select: text;
|
-webkit-user-select: text;
|
||||||
-moz-user-select: text;
|
-moz-user-select: text;
|
||||||
-ms-user-select: text;
|
-ms-user-select: text;
|
||||||
user-select: text;
|
user-select: text;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
width: 100%;
|
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-line del,
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
||||||
background-color: #ffb6ba;
|
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-line del,
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
||||||
background-color: #8d232881;
|
background-color: #8d232881;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
.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-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 del,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
||||||
border-radius: 0.2em;
|
border-radius: 0.2em;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
vertical-align: middle;
|
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-line ins,
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
||||||
background-color: #97f295;
|
background-color: #97f295;
|
||||||
text-align: left;
|
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-line ins,
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
||||||
background-color: #1d921996;
|
background-color: #1d921996;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
background: none;
|
background: none;
|
||||||
display: inline;
|
display: inline;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .line-num1 {
|
.workspace-leaf-content[data-type="diff-view"] .line-num1 {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .line-num1,
|
.workspace-leaf-content[data-type="diff-view"] .line-num1,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 0 0.5em;
|
padding: 0 0.5em;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 3.5em;
|
width: 3.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
border: solid var(--background-modifier-border);
|
border: solid var(--background-modifier-border);
|
||||||
border-width: 0 1px;
|
border-width: 0 1px;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
width: 7.5em;
|
width: 7.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
|
||||||
content: "\200b";
|
content: "\200b";
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
border: solid var(--background-modifier-border);
|
border: solid var(--background-modifier-border);
|
||||||
border-width: 0 1px;
|
border-width: 0 1px;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 0 0.5em;
|
padding: 0 0.5em;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 4em;
|
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 {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after {
|
||||||
content: "\200b";
|
content: "\200b";
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
border-color: var(--background-modifier-border);
|
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-line-prefix,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
.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-code-side-linenumber,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
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-linenumber,
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
||||||
direction: rtl;
|
direction: rtl;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
||||||
background-color: #fee8e9;
|
background-color: #fee8e9;
|
||||||
border-color: #e9aeae;
|
border-color: #e9aeae;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
||||||
background-color: #dfd;
|
background-color: #dfd;
|
||||||
border-color: #b4e2b4;
|
border-color: #b4e2b4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
||||||
background-color: #521b1d83;
|
background-color: #521b1d83;
|
||||||
border-color: #691d1d73;
|
border-color: #691d1d73;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
||||||
background-color: rgba(30, 71, 30, 0.5);
|
background-color: rgba(30, 71, 30, 0.5);
|
||||||
border-color: #13501381;
|
border-color: #13501381;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-info {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-info {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
border-color: var(--background-modifier-border);
|
border-color: var(--background-modifier-border);
|
||||||
color: var(--text-normal);
|
color: var(--text-normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
||||||
background-color: #fdf2d0;
|
background-color: #fdf2d0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
||||||
background-color: #55492480;
|
background-color: #55492480;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
||||||
background-color: #ded;
|
background-color: #ded;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
||||||
background-color: rgba(37, 78, 37, 0.418);
|
background-color: rgba(37, 78, 37, 0.418);
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
|
||||||
color: #3572b0;
|
color: #3572b0;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited {
|
||||||
color: #3572b0;
|
color: #3572b0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
|
||||||
display: block;
|
display: block;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li {
|
||||||
border-bottom: 1px solid var(--background-modifier-border);
|
border-bottom: 1px solid var(--background-modifier-border);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li:last-child {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li:last-child {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: none;
|
display: none;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-icon {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-icon {
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
|
||||||
color: #c33;
|
color: #c33;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-added {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-added {
|
||||||
color: #399839;
|
color: #399839;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-changed {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-changed {
|
||||||
color: #d0b44c;
|
color: #d0b44c;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-moved {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-moved {
|
||||||
color: #3572b0;
|
color: #3572b0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-tag {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-tag {
|
||||||
background-color: var(--background-primary);
|
background-color: var(--background-primary);
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
|
||||||
border: 2px solid #c33;
|
border: 2px solid #c33;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
|
||||||
border: 1px solid #399839;
|
border: 1px solid #399839;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
|
||||||
border: 1px solid #d0b44c;
|
border: 1px solid #d0b44c;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
|
||||||
border: 1px solid #3572b0;
|
border: 1px solid #3572b0;
|
||||||
}
|
}
|
|
@ -3,11 +3,7 @@
|
||||||
"obsidian-prism-theme@@light-accent-color-preset": "pt-accent-color-green-lt",
|
"obsidian-prism-theme@@light-accent-color-preset": "pt-accent-color-green-lt",
|
||||||
"obsidian-prism-theme@@color-schemes-dt": "pt-color-scheme-indigo-dt",
|
"obsidian-prism-theme@@color-schemes-dt": "pt-color-scheme-indigo-dt",
|
||||||
"obsidian-prism-theme@@pt-disable-blur": true,
|
"obsidian-prism-theme@@pt-disable-blur": true,
|
||||||
"obsidian-prism-theme@@pt-disable-animations": true,
|
|
||||||
"obsidian-prism-theme@@pt-disable-custom-icons": false,
|
|
||||||
"obsidian-prism-theme@@pt-hide-view-header": false,
|
|
||||||
"obsidian-prism-theme@@accent-style-dt": "pt-accent-style-borderandfilled-dt",
|
"obsidian-prism-theme@@accent-style-dt": "pt-accent-style-borderandfilled-dt",
|
||||||
"obsidian-prism-theme@@accent-style-lt": "pt-accent-style-borderandfilled-lt",
|
"obsidian-prism-theme@@accent-style-lt": "pt-accent-style-borderandfilled-lt",
|
||||||
"obsidian-prism-theme@@background-type-lt": "pt-background-default-lt",
|
|
||||||
"obsidian-prism-theme@@light-mark-highlight-style": "pt-highlight-style-filled-lt"
|
"obsidian-prism-theme@@light-mark-highlight-style": "pt-highlight-style-filled-lt"
|
||||||
}
|
}
|
|
@ -3861,7 +3861,14 @@ const tr = {};
|
||||||
|
|
||||||
const uk = {};
|
const uk = {};
|
||||||
|
|
||||||
const zh = {};
|
const zh = {
|
||||||
|
"Default:": "默认:",
|
||||||
|
"Error:": "错误:",
|
||||||
|
"missing default light value, or value is not in a valid color format": "缺少默认的浅色模式色值,或该色值没有采用一个有效的颜色格式",
|
||||||
|
"missing default dark value, or value is not in a valid color format": "缺少默认的深色模式色值,或该色值没有采用一个有效的颜色格式",
|
||||||
|
"missing default value, or value is not in a valid color format": "缺少默认色值,或该色值没有采用一个有效的颜色格式",
|
||||||
|
"missing default value": "缺少默认色值",
|
||||||
|
};
|
||||||
|
|
||||||
const zhTw = {};
|
const zhTw = {};
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "obsidian-style-settings",
|
"id": "obsidian-style-settings",
|
||||||
"name": "Style Settings",
|
"name": "Style Settings",
|
||||||
"version": "0.4.11",
|
"version": "0.4.12",
|
||||||
"minAppVersion": "0.11.5",
|
"minAppVersion": "0.11.5",
|
||||||
"description": "Offers controls for adjusting theme, plugin, and snippet CSS variables.",
|
"description": "Offers controls for adjusting theme, plugin, and snippet CSS variables.",
|
||||||
"author": "mgmeyers",
|
"author": "mgmeyers",
|
||||||
|
|
7
.obsidian/themes/Prism/manifest.json
vendored
Normal file
7
.obsidian/themes/Prism/manifest.json
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"name": "Prism",
|
||||||
|
"version": "3.0.0-beta.10",
|
||||||
|
"minAppVersion": "0.16.0",
|
||||||
|
"author": "Damian Korcz",
|
||||||
|
"authorUrl": "https://github.com/damiankorcz"
|
||||||
|
}
|
6934
.obsidian/themes/Prism/theme.css
vendored
Normal file
6934
.obsidian/themes/Prism/theme.css
vendored
Normal file
File diff suppressed because one or more lines are too long
7
.obsidian/themes/Shimmering Focus/manifest.json
vendored
Normal file
7
.obsidian/themes/Shimmering Focus/manifest.json
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"name": "Shimmering Focus",
|
||||||
|
"version": "3.179",
|
||||||
|
"minAppVersion": "0.16.0",
|
||||||
|
"author": "pseudometa",
|
||||||
|
"authorUrl": "https://github.com/chrisgrieser/shimmering-focus"
|
||||||
|
}
|
443
.obsidian/themes/Shimmering Focus/theme.css
vendored
Normal file
443
.obsidian/themes/Shimmering Focus/theme.css
vendored
Normal file
File diff suppressed because one or more lines are too long
185
.obsidian/workspace.json
vendored
Normal file
185
.obsidian/workspace.json
vendored
Normal file
|
@ -0,0 +1,185 @@
|
||||||
|
{
|
||||||
|
"main": {
|
||||||
|
"id": "8e9accceb03b8cbb",
|
||||||
|
"type": "split",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "84346e9cb4897289",
|
||||||
|
"type": "tabs",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "734cb4b36b9fd11f",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "markdown",
|
||||||
|
"state": {
|
||||||
|
"file": "Wiki/Ideas.md",
|
||||||
|
"mode": "preview",
|
||||||
|
"backlinks": false,
|
||||||
|
"source": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "d964937eb85b8dd3",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "markdown",
|
||||||
|
"state": {
|
||||||
|
"file": "Wiki/pages/Geph TUI.md",
|
||||||
|
"mode": "source",
|
||||||
|
"backlinks": false,
|
||||||
|
"source": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"currentTab": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"direction": "vertical"
|
||||||
|
},
|
||||||
|
"left": {
|
||||||
|
"id": "8f339aba13fc7b34",
|
||||||
|
"type": "split",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "181b0904a5ea9093",
|
||||||
|
"type": "tabs",
|
||||||
|
"dimension": 80.92443140132062,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "dc7b766adde71133",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "file-explorer",
|
||||||
|
"state": {
|
||||||
|
"sortOrder": "byCreatedTime"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "9fea4d6a3fb7b065",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "search",
|
||||||
|
"state": {
|
||||||
|
"query": "bfs",
|
||||||
|
"matchingCase": false,
|
||||||
|
"explainSearch": false,
|
||||||
|
"collapseAll": true,
|
||||||
|
"extraContext": false,
|
||||||
|
"sortOrder": "alphabetical"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "67a5b9b7405b0aab",
|
||||||
|
"type": "tabs",
|
||||||
|
"dimension": 19.075568598679386,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "433ee2e054563ec8",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "starred",
|
||||||
|
"state": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"direction": "horizontal",
|
||||||
|
"width": 471
|
||||||
|
},
|
||||||
|
"right": {
|
||||||
|
"id": "84d48f88a06a5d05",
|
||||||
|
"type": "split",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "600e2282db7d13db",
|
||||||
|
"type": "tabs",
|
||||||
|
"dimension": 50.03668378576669,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "b7747330b7aae8d3",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "backlink",
|
||||||
|
"state": {
|
||||||
|
"file": "Wiki/pages/Geph TUI.md",
|
||||||
|
"collapseAll": false,
|
||||||
|
"extraContext": false,
|
||||||
|
"sortOrder": "alphabetical",
|
||||||
|
"showSearch": false,
|
||||||
|
"searchQuery": "",
|
||||||
|
"backlinkCollapsed": false,
|
||||||
|
"unlinkedCollapsed": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "9519bbe1baa8be43",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "outgoing-link",
|
||||||
|
"state": {
|
||||||
|
"file": "Wiki/pages/Geph TUI.md",
|
||||||
|
"linksCollapsed": false,
|
||||||
|
"unlinkedCollapsed": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bad3fb60ee1eaeb0",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "tag",
|
||||||
|
"state": {
|
||||||
|
"sortOrder": "frequency",
|
||||||
|
"useHierarchy": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "5904586ead812fd4",
|
||||||
|
"type": "tabs",
|
||||||
|
"dimension": 49.96331621423331,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "08480958817d433e",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "outline",
|
||||||
|
"state": {
|
||||||
|
"file": "Wiki/pages/Geph TUI.md"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"direction": "horizontal",
|
||||||
|
"width": 419
|
||||||
|
},
|
||||||
|
"ribbon": {
|
||||||
|
"mostRecentAction": ""
|
||||||
|
},
|
||||||
|
"active": "d964937eb85b8dd3",
|
||||||
|
"lastOpenFiles": [
|
||||||
|
"Wiki/Ideas.md",
|
||||||
|
"Wiki/Notes for CS.md",
|
||||||
|
"Untitled.md",
|
||||||
|
"OJ notes/pages/Leetcode Binary-Tree-Level-Order-Traversal.md",
|
||||||
|
"OJ notes/pages/Breadth First Search.md",
|
||||||
|
"OJ notes/OJ-index.md",
|
||||||
|
"Index.md",
|
||||||
|
"OJ notes/pages/Elementary Math Problems.md",
|
||||||
|
"Wiki/pages/Gentoo log parser.md",
|
||||||
|
"Wiki/Wiki-Index.md"
|
||||||
|
]
|
||||||
|
}
|
|
@ -12,7 +12,7 @@
|
||||||
>
|
>
|
||||||
> ##### Difficulty:
|
> ##### Difficulty:
|
||||||
>
|
>
|
||||||
> #CS*analysis #difficulty*
|
> #CS_analysis #difficulty_easy
|
||||||
>
|
>
|
||||||
> ##### Additional tags:
|
> ##### Additional tags:
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,9 @@ I tried with DFS, but
|
||||||
|
|
||||||
#### BFS
|
#### BFS
|
||||||
|
|
||||||
|
> [!tip]
|
||||||
|
> Search from 0 instead of 1, can make it easier.
|
||||||
|
|
||||||
Start searching from 0s, because the search direction matters.
|
Start searching from 0s, because the search direction matters.
|
||||||
|
|
||||||
pseudo code:
|
pseudo code:
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
>
|
>
|
||||||
> ##### Revisions:
|
> ##### Revisions:
|
||||||
>
|
>
|
||||||
> N/A
|
> 2022-09-21
|
||||||
|
|
||||||
##### Related topics:
|
##### Related topics:
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
>
|
>
|
||||||
> ##### Revisions:
|
> ##### Revisions:
|
||||||
>
|
>
|
||||||
> N/A
|
> 2022-09-21
|
||||||
|
|
||||||
##### Related topics:
|
##### Related topics:
|
||||||
|
|
||||||
|
@ -110,3 +110,34 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Alternative solution using private values
|
||||||
|
```cpp
|
||||||
|
class Solution {
|
||||||
|
vector<vector<int>> ans;
|
||||||
|
vector<int> combs = {};
|
||||||
|
int N, K;
|
||||||
|
void backtrack(int cur) {
|
||||||
|
if (combs.size() == K) {
|
||||||
|
// we reached the end, should push to the answer array
|
||||||
|
ans.push_back(combs);
|
||||||
|
return;
|
||||||
|
} else if (cur <= N) {
|
||||||
|
combs.push_back(cur);
|
||||||
|
backtrack(cur + 1);
|
||||||
|
|
||||||
|
combs.pop_back();
|
||||||
|
backtrack(cur + 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public:
|
||||||
|
vector<vector<int>> combine(int n, int k) {
|
||||||
|
N = n;
|
||||||
|
K = k;
|
||||||
|
backtrack(1);
|
||||||
|
|
||||||
|
return ans;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
>
|
>
|
||||||
> ##### Revisions:
|
> ##### Revisions:
|
||||||
>
|
>
|
||||||
> N/A
|
> 2022-09-21
|
||||||
|
|
||||||
##### Related topics:
|
##### Related topics:
|
||||||
|
|
||||||
##### Links:
|
##### Links:
|
||||||
|
|
||||||
- [Link to problem](https://leetcode.com/problems/implement-queue-using-stacks/submissions/)
|
- [Link to problem](https://leetcode.com/problems/implement-queue-using-stacks/)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -52,15 +52,19 @@ Implement the `MyQueue` class:
|
||||||
```
|
```
|
||||||
|
|
||||||
**Output**
|
**Output**
|
||||||
|
```
|
||||||
[null, null, null, 1, 1, false]
|
[null, null, null, 1, 1, false]
|
||||||
|
```
|
||||||
|
|
||||||
**Explanation**
|
**Explanation**
|
||||||
|
```
|
||||||
MyQueue myQueue = new MyQueue();
|
MyQueue myQueue = new MyQueue();
|
||||||
myQueue.push(1); // queue is: [1]
|
myQueue.push(1); // queue is: [1]
|
||||||
myQueue.push(2); // queue is: [1, 2] (leftmost is front of the queue)
|
myQueue.push(2); // queue is: [1, 2] (leftmost is front of the queue)
|
||||||
myQueue.peek(); // return 1
|
myQueue.peek(); // return 1
|
||||||
myQueue.pop(); // return 1, queue is [2]
|
myQueue.pop(); // return 1, queue is [2]
|
||||||
myQueue.empty(); // return false
|
myQueue.empty(); // return false
|
||||||
|
```
|
||||||
|
|
||||||
#### Constraints
|
#### Constraints
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
>
|
>
|
||||||
> ##### Revisions:
|
> ##### Revisions:
|
||||||
>
|
>
|
||||||
> N/A
|
> 2022-09-21
|
||||||
|
|
||||||
##### Links:
|
##### Links:
|
||||||
|
|
||||||
|
|
3
Wiki/Ideas.md
Normal file
3
Wiki/Ideas.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```query
|
||||||
|
tag:#idea
|
||||||
|
```
|
10
Wiki/pages/Gentoo log parser.md
Normal file
10
Wiki/pages/Gentoo log parser.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Glop An genlop alternative
|
||||||
|
|
||||||
|
written in rust / cpp
|
||||||
|
#idea
|
||||||
|
|
||||||
|
## What does it do?
|
||||||
|
|
||||||
|
- parse gentoo log, summary for updated packages
|
||||||
|
- estimate build times based on past achives
|
||||||
|
- estimate package update time `se -atvuDN @world`
|
2
Wiki/pages/Geph TUI.md
Normal file
2
Wiki/pages/Geph TUI.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Geph CLI and GUI sucks, let's make a TUI!
|
||||||
|
#idea
|
Loading…
Reference in a new issue