vault backup: 2026-07-26 09:50:49

This commit is contained in:
Benjamin Neumann
2026-07-26 09:50:49 +02:00
parent 33e06205be
commit 6c311316a7
7 changed files with 14726 additions and 2 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
[
"obsidian-git"
"obsidian-git",
"execute-code"
]
+206
View File
@@ -0,0 +1,206 @@
{
"lastOpenLanguageTab": "shell",
"releaseNote2_1_0wasShowed": true,
"persistentOuput": false,
"timeout": 10000,
"allowInput": true,
"wslMode": false,
"shellWSLMode": false,
"onlyCurrentBlock": false,
"nodePath": "node",
"nodeArgs": "",
"jsFileExtension": "js",
"jsInject": "",
"tsPath": "ts-node",
"tsArgs": "",
"tsInject": "",
"latexCompilerPath": "lualatex",
"latexCompilerArgs": "-interaction=nonstopmode",
"latexDoFilter": true,
"latexTexfotPath": "texfot",
"latexTexfotArgs": "--quiet",
"latexDocumentclass": "article",
"latexAdaptFont": "obsidian",
"latexKeepLog": false,
"latexSubprocessesUseShell": false,
"latexMaxFigures": 10,
"latexFigureTitlePattern": "[^\\n][^%`]*\\\\title\\s*\\{(?<name>[^\\}]*)\\}",
"latexDoCrop": false,
"latexCropPath": "pdfcrop",
"latexCropArgs": "--quiet",
"latexCropNoStandalone": true,
"latexCropNoPagenum": true,
"latexSaveSvg": "poppler",
"latexSvgPath": "pdftocairo",
"latexSvgArgs": "-svg",
"latexInkscapePath": "inkscape",
"latexInkscapeArgs": "--pages=all --export-plain-svg",
"latexSavePdf": true,
"latexSavePng": false,
"latexPngPath": "pdftocairo",
"latexPngArgs": "-singlefile -png",
"latexOutputEmbeddings": true,
"latexInvertFigures": true,
"latexCenterFigures": true,
"latexInject": "",
"leanPath": "lean",
"leanArgs": "",
"leanInject": "",
"luaPath": "lua",
"luaArgs": "",
"luaFileExtension": "lua",
"luaInject": "",
"dartPath": "dart",
"dartArgs": "",
"dartFileExtension": "dart",
"dartInject": "",
"csPath": "dotnet-script",
"csArgs": "",
"csFileExtension": "csx",
"csInject": "",
"pythonPath": "python",
"pythonArgs": "",
"pythonEmbedPlots": true,
"pythonFileExtension": "py",
"pythonInject": "",
"shellPath": "bash",
"shellArgs": "",
"shellFileExtension": "sh",
"shellInject": "",
"batchPath": "call",
"batchArgs": "",
"batchFileExtension": "bat",
"batchInject": "",
"groovyPath": "groovy",
"groovyArgs": "",
"groovyFileExtension": "groovy",
"groovyInject": "",
"golangPath": "go",
"golangArgs": "run",
"golangFileExtension": "go",
"goInject": "",
"javaPath": "java",
"javaArgs": "-ea",
"javaFileExtension": "java",
"javaInject": "",
"maxPrologAnswers": 15,
"prologInject": "",
"powershellPath": "powershell",
"powershellArgs": "-file",
"powershellFileExtension": "ps1",
"powershellInject": "$OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding",
"powershellEncoding": "latin1",
"cargoPath": "cargo",
"cargoEvalArgs": "",
"rustInject": "",
"cppRunner": "cling",
"cppFileExtension": "cpp",
"cppInject": "",
"cppArgs": "",
"cppUseMain": false,
"clingPath": "cling",
"clingArgs": "",
"clingStd": "c++17",
"rustFileExtension": "rs",
"RPath": "Rscript",
"RArgs": "",
"REmbedPlots": true,
"RFileExtension": "R",
"rInject": "",
"kotlinPath": "kotlinc",
"kotlinArgs": "-script",
"kotlinFileExtension": "kts",
"kotlinInject": "",
"swiftPath": "swift",
"swiftArgs": "",
"swiftFileExtension": "swift",
"swiftInject": "",
"runghcPath": "runghc",
"ghcPath": "ghc",
"ghciPath": "ghci",
"useGhci": false,
"haskellInject": "",
"mathematicaPath": "wolframscript",
"mathematicaArgs": "-file",
"mathematicaFileExtension": "wls",
"mathematicaInject": "",
"scalaPath": "scala",
"scalaArgs": "",
"scalaFileExtension": "scala",
"scalaInject": "",
"racketPath": "racket",
"racketArgs": "",
"racketFileExtension": "rkt",
"racketInject": "#lang racket",
"fsharpPath": "dotnet",
"fsharpArgs": "fsi",
"fsharpInject": "",
"fsharpFileExtension": "fsx",
"cArgs": "",
"cUseMain": true,
"cInject": "",
"rubyPath": "ruby",
"rubyArgs": "",
"rubyFileExtension": "rb",
"rubyInject": "",
"sqlPath": "psql",
"sqlArgs": "-d <database> -U <user> -f",
"sqlInject": "",
"octavePath": "octave",
"octaveArgs": "-q",
"octaveFileExtension": "m",
"octaveInject": "figure('visible','off') # Necessary to embed plots",
"maximaPath": "maxima",
"maximaArgs": "-qb",
"maximaFileExtension": "mx",
"maximaInject": "",
"applescriptPath": "osascript",
"applescriptArgs": "",
"applescriptFileExtension": "scpt",
"applescriptInject": "",
"zigPath": "zig",
"zigArgs": "run",
"zigInject": "",
"ocamlPath": "ocaml",
"ocamlArgs": "",
"ocamlInject": "",
"phpPath": "php",
"phpArgs": "",
"phpFileExtension": "php",
"phpInject": "",
"jsInteractive": true,
"tsInteractive": false,
"csInteractive": false,
"latexInteractive": false,
"leanInteractive": false,
"luaInteractive": false,
"dartInteractive": false,
"pythonInteractive": true,
"cppInteractive": false,
"prologInteractive": false,
"shellInteractive": false,
"batchInteractive": false,
"bashInteractive": false,
"groovyInteractive": false,
"rInteractive": false,
"goInteractive": false,
"rustInteractive": false,
"javaInteractive": false,
"powershellInteractive": false,
"kotlinInteractive": false,
"swiftInteractive": false,
"mathematicaInteractive": false,
"haskellInteractive": false,
"scalaInteractive": false,
"fsharpInteractive": false,
"cInteractive": false,
"racketInteractive": false,
"rubyInteractive": false,
"sqlInteractive": false,
"octaveInteractive": false,
"maximaInteractive": false,
"applescriptInteractive": false,
"zigInteractive": false,
"ocamlInteractive": false,
"phpInteractive": false
}
File diff suppressed because one or more lines are too long
+10
View File
@@ -0,0 +1,10 @@
{
"id": "execute-code",
"name": "Execute Code",
"version": "2.1.2",
"minAppVersion": "1.7.2",
"description": "Allows you to execute code snippets within a note. Support C, C++, Python, R, JavaScript, TypeScript, LaTeX, SQL, and many more.",
"author": "twibiral",
"authorUrl": "https://www.github.com/twibiral",
"isDesktopOnly": true
}
+276
View File
@@ -0,0 +1,276 @@
/* @settings
name: Execute Code Settings
id: obsidian-execute-code
settings:
-
id: color-section-title
title: Color Settings
type: heading
level: 3
-
id: use-custom-output-color
title: Custom Code Output Color
description: Use a custom color for the output of code blocks
type: class-toggle
default: false
-
id: code-output-text-color
title: Output Text Color
type: variable-color
format: hex
opacity: false
default: '#FFFFFF'
-
id: use-custom-error-color
title: Custom Code Error Color
description: Use a custom color for the error output of code blocks
type: class-toggle
default: false
-
id: code-error-text-color
title: Error Text Color
type: variable-color
format: hex
opacity: false
default: '#FF0000'
*/
button.run-code-button {
display: none;
color: var(--text-muted);
position: absolute;
bottom: 0;
right: 0;
margin: 5px;
padding: 5px 20px 5px 20px;
z-index: 100;
}
button.clear-button {
display: none;
color: var(--text-muted);
position: absolute;
bottom: 0;
left: 0;
margin: 5px;
padding: 5px 20px 5px 20px;
z-index: 100;
}
pre:hover .run-code-button,
pre:hover .clear-button {
display: block;
}
pre:hover .run-button-disabled,
pre:hover .clear-button-disabled {
display: none;
}
.run-button-disabled,
.clear-button-disabled {
display: none;
}
pre:hover code.language-output {
margin-bottom: 28px;
}
:not(.use-custom-output-color) code.language-output span.stdout {
color: var(--text-muted) !important;
}
.use-custom-output-color code.language-output span.stdout {
color: var(--code-output-text-color) !important;
}
:not(.use-custom-error-color) code.language-output span.stderr {
color: red !important;
}
.use-custom-error-color code.language-output span.stderr {
color: var(--code-error-text-color) !important;
}
code.language-output hr {
margin: 0 0 1em;
}
.settings-code-input-box textarea,
.settings-code-input-box input {
min-width: 400px;
min-height: 100px;
font-family: monospace;
resize: vertical;
}
input.interactive-stdin {
font: inherit;
}
.manage-executors-view h3 {
margin: 1em;
}
.manage-executors-view ul {
margin: 1em;
padding: 0;
list-style-type: none;
}
.manage-executors-view ul li {
padding: 0.5em;
background: var(--background-primary-alt);
border-radius: 4px;
display: grid;
flex-direction: column;
margin-bottom: 0.5em;
}
.manage-executors-view small {
text-transform: uppercase;
font-weight: bold;
letter-spacing: 0.1ch;
grid-row: 1;
}
.manage-executors-view .filename {
grid-row: 2;
}
.manage-executors-view li button {
grid-column: 2;
grid-row: 1 / 3;
margin: 0;
padding: 0.25em;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
background: none;
}
.manage-executors-view li button:hover {
background: var(--background-tertiary);
color: var(--icon-color-hover);
}
.manage-executors-view>div {
position: relative;
}
.manage-executors-view .empty-state {
color: var(--text-muted);
padding: 0.5em;
}
.has-run-code-button {
position: relative;
}
.load-state-indicator {
position: absolute;
top: 0.1em;
left: -2em;
width: 2em;
height: 2em;
background: var(--background-primary-alt);
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
color: var(--tx1);
transform: translateX(2em);
transition: transform 0.25s, opacity 0.25s;
opacity: 0;
pointer-events: none;
cursor: pointer;
}
.load-state-indicator svg {
width: 1.5em;
height: 1.5em;
margin: 0.25em;
}
.load-state-indicator.visible {
transform: translateX(0);
opacity: 1;
pointer-events: all;
}
.load-state-indicator::before {
content: "";
box-shadow: -1em 0 1em -0.75em inset var(--background-modifier-box-shadow);
position: absolute;
display: block;
width: 100%;
height: 100%;
transform: translateX(-2em);
opacity: 0;
transition: transform 0.25s, opacity 0.25s;
pointer-events: none;
}
.load-state-indicator.visible::before {
transform: translateX(0);
opacity: 1;
}
/* Hide code blocks with language-output only in markdown view using "markdown-preview-view"*/
.markdown-preview-view pre.language-output {
display: none;
}
.markdown-rendered pre.language-output {
display: none;
}
/* Do not hide code block when exporting to PDF */
@media print {
pre.language-output {
display: block;
}
/* Hide code blocks with language-output only in markdown view using "markdown-preview-view"*/
.markdown-preview-view pre.language-output {
display: block;
}
.markdown-rendered pre.language-output {
display: block;
}
}
/* Center LaTeX vector graphics, confine to text width */
.center-latex-figures img[src*="/figure%20"][src$=".svg"],
.center-latex-figures img[src*="/figure%20"][src*=".svg?"],
.center-latex-figures .stdout img[src*=".svg?"] {
display: block;
margin: auto;
max-width: 100%;
}
/* Invert LaTeX vector graphics in dark mode */
.theme-dark.invert-latex-figures img[src*="/figure%20"][src$=".svg"],
.theme-dark.invert-latex-figures img[src*="/figure%20"][src*=".svg?"],
.theme-dark.invert-latex-figures .stdout img[src*=".svg?"] {
filter: invert(1);
}
/* Allow descriptions in LaTeX settings to be selected and copied. */
.selectable-description-text {
-moz-user-select: text;
-khtml-user-select: text;
-webkit-user-select: text;
-ms-user-select: text;
user-select: text;
}
.insert-figure-icon {
margin-left: 0.5em;
}
/* Try to keep description of cmd arguments in LaTeX settings on the same line. */
code.selectable-description-text {
white-space: nowrap;
}
+1 -1
View File
@@ -213,8 +213,8 @@
},
"active": "203d4fdbb0824dd5",
"lastOpenFiles": [
"SS2026/Datenbanken und Informationssysteme/Datenbanken und Informationssysteme.md",
"SS2026/Datenbanken und Informationssysteme/MongoDB/MongoDB.md",
"SS2026/Datenbanken und Informationssysteme/Datenbanken und Informationssysteme.md",
"SS2026/Datenbanken und Informationssysteme/5. Relationale Anfragebearbeitung/Relationale Anfragebearbeitung.md",
"SS2026/Datenbanken und Informationssysteme/MongoDB",
"SS2026/Datenbanken und Informationssysteme/7. Transaktionsverwaltung/Transaktionsverwaltung.md",