add notes
This commit is contained in:
0
notes/zettlekasten/().md
Normal file
0
notes/zettlekasten/().md
Normal file
3
notes/zettlekasten/.obsidian/app.json
vendored
Normal file
3
notes/zettlekasten/.obsidian/app.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"alwaysUpdateLinks": true
|
||||
}
|
||||
3
notes/zettlekasten/.obsidian/appearance.json
vendored
Normal file
3
notes/zettlekasten/.obsidian/appearance.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"theme": "obsidian"
|
||||
}
|
||||
3
notes/zettlekasten/.obsidian/community-plugins.json
vendored
Normal file
3
notes/zettlekasten/.obsidian/community-plugins.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[
|
||||
"dataview"
|
||||
]
|
||||
30
notes/zettlekasten/.obsidian/core-plugins-migration.json
vendored
Normal file
30
notes/zettlekasten/.obsidian/core-plugins-migration.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": true,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"properties": true,
|
||||
"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
|
||||
}
|
||||
30
notes/zettlekasten/.obsidian/core-plugins.json
vendored
Normal file
30
notes/zettlekasten/.obsidian/core-plugins.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": true,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"properties": true,
|
||||
"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
|
||||
}
|
||||
22
notes/zettlekasten/.obsidian/graph.json
vendored
Normal file
22
notes/zettlekasten/.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": 1,
|
||||
"close": true
|
||||
}
|
||||
29
notes/zettlekasten/.obsidian/hotkeys.json
vendored
Normal file
29
notes/zettlekasten/.obsidian/hotkeys.json
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"insert-template": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt",
|
||||
"Mod"
|
||||
],
|
||||
"key": "T"
|
||||
}
|
||||
],
|
||||
"app:open-settings": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt",
|
||||
"Mod"
|
||||
],
|
||||
"key": "S"
|
||||
}
|
||||
],
|
||||
"app:delete-file": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt",
|
||||
"Mod"
|
||||
],
|
||||
"key": "D"
|
||||
}
|
||||
]
|
||||
}
|
||||
25
notes/zettlekasten/.obsidian/plugins/companion/data.json
vendored
Normal file
25
notes/zettlekasten/.obsidian/plugins/companion/data.json
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"provider": "ollama",
|
||||
"model": "llama3.1:8b_32786",
|
||||
"enable_by_default": true,
|
||||
"keybind": "Tab",
|
||||
"delay_ms": 500,
|
||||
"stream": true,
|
||||
"accept": {
|
||||
"splitter_regex": " ",
|
||||
"display_splitter_regex": "[.?!:;]",
|
||||
"completion_completeness_regex": ".*(?!p{L})[^d]$",
|
||||
"min_accept_length": 4,
|
||||
"min_display_length": 50,
|
||||
"retrigger_threshold": 48
|
||||
},
|
||||
"provider_settings": {
|
||||
"ollama": {
|
||||
"models": {
|
||||
"llama3.1:8b_32786": "{\"system_prompt\":\"\",\"user_prompt\":\"\\n{{#context}}Context:\\\\n\\\\n{{context}}\\\\n\\\\n=================================\\\\n{{/context}}\\nThe following text has been written by the user. You will continue writing the next few words of the text as if you were the original writer. Do not begin the text with '...' and don't summarize the text.\\n{{last_line}}\\n\\n{{last_line}}\"}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"presets": [],
|
||||
"fallback": null
|
||||
}
|
||||
35514
notes/zettlekasten/.obsidian/plugins/companion/main.js
vendored
Normal file
35514
notes/zettlekasten/.obsidian/plugins/companion/main.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
11
notes/zettlekasten/.obsidian/plugins/companion/manifest.json
vendored
Normal file
11
notes/zettlekasten/.obsidian/plugins/companion/manifest.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"id": "companion",
|
||||
"name": "Companion",
|
||||
"version": "1.8.0",
|
||||
"minAppVersion": "1.1.16",
|
||||
"description": "Autocomplete with AI, including ChatGPT and ollama, through a copilot-like interface.",
|
||||
"author": "rizerphe",
|
||||
"authorUrl": "https://github.com/rizerphe",
|
||||
"fundingUrl": "https://www.buymeacoffee.com/rizerphe",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
25
notes/zettlekasten/.obsidian/plugins/companion/styles.css
vendored
Normal file
25
notes/zettlekasten/.obsidian/plugins/companion/styles.css
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
/* src/styles.sass */
|
||||
.ai-complete-advanced-settings {
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.ai-complete-chatgpt-full-width {
|
||||
width: 100%;
|
||||
min-height: 120px;
|
||||
resize: none;
|
||||
}
|
||||
.ai-complete-jurassic-expandable {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
.ai-complete-ollama-full-width {
|
||||
width: 100%;
|
||||
min-height: 120px;
|
||||
resize: none;
|
||||
}
|
||||
.ai-complete-groq-full-width {
|
||||
width: 100%;
|
||||
min-height: 120px;
|
||||
resize: none;
|
||||
}
|
||||
20723
notes/zettlekasten/.obsidian/plugins/dataview/main.js
vendored
Normal file
20723
notes/zettlekasten/.obsidian/plugins/dataview/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
11
notes/zettlekasten/.obsidian/plugins/dataview/manifest.json
vendored
Normal file
11
notes/zettlekasten/.obsidian/plugins/dataview/manifest.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"id": "dataview",
|
||||
"name": "Dataview",
|
||||
"version": "0.5.67",
|
||||
"minAppVersion": "0.13.11",
|
||||
"description": "Complex data views for the data-obsessed.",
|
||||
"author": "Michael Brenan <blacksmithgu@gmail.com>",
|
||||
"authorUrl": "https://github.com/blacksmithgu",
|
||||
"helpUrl": "https://blacksmithgu.github.io/obsidian-dataview/",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
146
notes/zettlekasten/.obsidian/plugins/dataview/styles.css
vendored
Normal file
146
notes/zettlekasten/.obsidian/plugins/dataview/styles.css
vendored
Normal file
@@ -0,0 +1,146 @@
|
||||
/** Live Preview padding fixes, specifically for DataviewJS custom HTML elements. */
|
||||
.is-live-preview .block-language-dataviewjs > p, .is-live-preview .block-language-dataviewjs > span {
|
||||
line-height: 1.0;
|
||||
}
|
||||
|
||||
.block-language-dataview {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/*****************/
|
||||
/** Table Views **/
|
||||
/*****************/
|
||||
|
||||
/* List View Default Styling; rendered internally as a table. */
|
||||
.table-view-table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.table-view-table > thead > tr, .table-view-table > tbody > tr {
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.table-view-table > tbody > tr:hover {
|
||||
background-color: var(--table-row-background-hover);
|
||||
}
|
||||
|
||||
.table-view-table > thead > tr > th {
|
||||
font-weight: 700;
|
||||
font-size: larger;
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
border-bottom: solid;
|
||||
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.table-view-table > tbody > tr > td {
|
||||
text-align: left;
|
||||
border: none;
|
||||
font-weight: 400;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.table-view-table ul, .table-view-table ol {
|
||||
margin-block-start: 0.2em !important;
|
||||
margin-block-end: 0.2em !important;
|
||||
}
|
||||
|
||||
/** Rendered value styling for any view. */
|
||||
.dataview-result-list-root-ul {
|
||||
padding: 0em !important;
|
||||
margin: 0em !important;
|
||||
}
|
||||
|
||||
.dataview-result-list-ul {
|
||||
margin-block-start: 0.2em !important;
|
||||
margin-block-end: 0.2em !important;
|
||||
}
|
||||
|
||||
/** Generic grouping styling. */
|
||||
.dataview.result-group {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
/*******************/
|
||||
/** Inline Fields **/
|
||||
/*******************/
|
||||
|
||||
.dataview.inline-field-key {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
font-family: var(--font-monospace);
|
||||
background-color: var(--background-primary-alt);
|
||||
color: var(--text-nav-selected);
|
||||
}
|
||||
|
||||
.dataview.inline-field-value {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
font-family: var(--font-monospace);
|
||||
background-color: var(--background-secondary-alt);
|
||||
color: var(--text-nav-selected);
|
||||
}
|
||||
|
||||
.dataview.inline-field-standalone-value {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
font-family: var(--font-monospace);
|
||||
background-color: var(--background-secondary-alt);
|
||||
color: var(--text-nav-selected);
|
||||
}
|
||||
|
||||
/***************/
|
||||
/** Task View **/
|
||||
/***************/
|
||||
|
||||
.dataview.task-list-item, .dataview.task-list-basic-item {
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
transition: 0.4s;
|
||||
}
|
||||
|
||||
.dataview.task-list-item:hover, .dataview.task-list-basic-item:hover {
|
||||
background-color: var(--text-selection);
|
||||
box-shadow: -40px 0 0 var(--text-selection);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*****************/
|
||||
/** Error Views **/
|
||||
/*****************/
|
||||
|
||||
div.dataview-error-box {
|
||||
width: 100%;
|
||||
min-height: 150px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 4px dashed var(--background-secondary);
|
||||
}
|
||||
|
||||
.dataview-error-message {
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*************************/
|
||||
/** Additional Metadata **/
|
||||
/*************************/
|
||||
|
||||
.dataview.small-text {
|
||||
font-size: smaller;
|
||||
color: var(--text-muted);
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.dataview.small-text::before {
|
||||
content: "(";
|
||||
}
|
||||
|
||||
.dataview.small-text::after {
|
||||
content: ")";
|
||||
}
|
||||
3
notes/zettlekasten/.obsidian/templates.json
vendored
Normal file
3
notes/zettlekasten/.obsidian/templates.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"folder": "Templates"
|
||||
}
|
||||
8
notes/zettlekasten/.obsidian/types.json
vendored
Normal file
8
notes/zettlekasten/.obsidian/types.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"types": {
|
||||
"aliases": "aliases",
|
||||
"cssclasses": "multitext",
|
||||
"tags": "tags",
|
||||
"date/time": "datetime"
|
||||
}
|
||||
}
|
||||
247
notes/zettlekasten/.obsidian/workspace.json
vendored
Normal file
247
notes/zettlekasten/.obsidian/workspace.json
vendored
Normal file
@@ -0,0 +1,247 @@
|
||||
{
|
||||
"main": {
|
||||
"id": "05bcf0f26284a9c6",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "948947d5300a30ba",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "33923136d84ea6a5",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "1 - Fleeting Notes/Synology NAS.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "Synology NAS"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "3ff105ba99fe7d5a",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "empty",
|
||||
"state": {},
|
||||
"icon": "lucide-file",
|
||||
"title": "New tab"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "1056ced2ebd49f93",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "1 - Fleeting Notes/LLMs.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "LLMs"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "126f1846b68f890c",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "5f496e6c5289bbbc",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "d26dced78c06e7d3",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {
|
||||
"sortOrder": "alphabetical"
|
||||
},
|
||||
"icon": "lucide-folder-closed",
|
||||
"title": "Files"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "cd1a1e3550b1691a",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "",
|
||||
"matchingCase": false,
|
||||
"explainSearch": false,
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
},
|
||||
"icon": "lucide-search",
|
||||
"title": "Search"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "28b27fb128dac0a3",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "bookmarks",
|
||||
"state": {},
|
||||
"icon": "lucide-bookmark",
|
||||
"title": "Bookmarks"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 633.5
|
||||
},
|
||||
"right": {
|
||||
"id": "0ba52521b266806f",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "882323f95a2b33a3",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "69a3af2f4fe36404",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "3 - References/Puzzles.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": false,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-coming-in",
|
||||
"title": "Backlinks for Puzzles"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "b754cc3ddf36726e",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "3 - References/Puzzles.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-going-out",
|
||||
"title": "Outgoing links from Puzzles"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "b87a73efab0ed234",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true
|
||||
},
|
||||
"icon": "lucide-tags",
|
||||
"title": "Tags"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "d4c0ab3a4686223c",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "3 - References/Puzzles.md"
|
||||
},
|
||||
"icon": "lucide-list",
|
||||
"title": "Outline of Puzzles"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "fb4533f62a627389",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "all-properties",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"showSearch": false,
|
||||
"searchQuery": ""
|
||||
},
|
||||
"icon": "lucide-archive",
|
||||
"title": "All properties"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "6090222fc7ed550a",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-properties",
|
||||
"state": {
|
||||
"file": "1 - Fleeting Notes/Synology NAS.md"
|
||||
},
|
||||
"icon": "lucide-info",
|
||||
"title": "File properties for Synology NAS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 5
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
"active": "33923136d84ea6a5",
|
||||
"lastOpenFiles": [
|
||||
"MOCS/Linux Wflow.md",
|
||||
"1 - Fleeting Notes/Firejail.md",
|
||||
"1 - Fleeting Notes/Synology NAS.md",
|
||||
"3 - References/Linux Services.md",
|
||||
"1 - Fleeting Notes/Exposing Virtual machines to LAN.md",
|
||||
"1 - Fleeting Notes/Backup and Restore Solution.md",
|
||||
"1 - Fleeting Notes/LLMs.md",
|
||||
"1 - Fleeting Notes/Omar Khayyam.md",
|
||||
"1 - Fleeting Notes/Russel Conjugation.md",
|
||||
"1 - Fleeting Notes/Tiling Managers.md",
|
||||
"1 - Fleeting Notes/Untitled.md",
|
||||
"3 - References/Networking.md",
|
||||
"3 - References/Hacker News.md",
|
||||
"3 - References/Solving Techniques.md",
|
||||
"MOCS/Puzzles.md",
|
||||
"MOCS/Persian Poetry.md",
|
||||
"3 - References/Knight Moves 6.md",
|
||||
"3 - References/Dual Booting.md",
|
||||
"Templates/MOC.md",
|
||||
"Untitled.canvas",
|
||||
"().md",
|
||||
"Templates/Fleeting Notes.md",
|
||||
"Vault Design.md",
|
||||
"3 - References",
|
||||
"Welcome.md",
|
||||
"Templates",
|
||||
"MOCS",
|
||||
"2 - Perm Notes",
|
||||
"1 - Fleeting Notes"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
---
|
||||
tags:
|
||||
parents:
|
||||
date/time: 2024-11-17T22:16:00
|
||||
---
|
||||
[Rest and Relax](https://relax-and-recover.org/rear-user-guide/index.html) - implement solution on laptop and desktop
|
||||
set up of NFS share [here](https://linuxize.com/post/how-to-mount-an-nfs-share-in-linux/)
|
||||
|
||||
|
||||
# Desktop
|
||||
|
||||
make sure to setup nfs share:
|
||||
|
||||
- Install NFS software on both laptop and desktop.
|
||||
- Configure NFS share on desktop:
|
||||
|
||||
- Create a directory where the NFS share will reside (e.g., `/nfs_shared`)
|
||||
- Edit the `/etc/exports` file to add the shared directory
|
||||
- Restart the NFS service to apply changes.
|
||||
- mount the NFS share on laptop so it can access shared files from desktop.
|
||||
|
||||
#Linux set up NFS share on laptop:
|
||||
|
||||
- Create
|
||||
# New systems Install
|
||||
|
||||
steps
|
||||
|
||||
1. install nala app: https://christitus.com/stop-using-apt/
|
||||
2. Install nala
|
||||
3. install fastfetch
|
||||
4. install borgbackup
|
||||
5. install timeshift: make backup of everything without home drive
|
||||
|
||||
now since this could be flaky we need rollback feature in place!
|
||||
|
||||
6. install nvidiadrivers (https://wiki.debian.org/NvidiaGraphicsDrivers#Version_535.183.01-1)
|
||||
https://forums.debian.net/viewtopic.php?t=160686 and container toolkit
|
||||
|
||||
7 . install apps
|
||||
|
||||
-vscode
|
||||
-keepassx
|
||||
-anki
|
||||
-calibre
|
||||
syncthing
|
||||
-kvm for virtual machines https://wiki.debian.org/KVM
|
||||
-ollama change Ollama service to save data in home directory
|
||||
- firefox extensions
|
||||
- docker engine /compose //install in home directory https://evodify.com/change-docker-storage-location/
|
||||
|
||||
|
||||
open webui: docker run -d -p 3000:8080 --network=host -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --gpus all -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:cuda
|
||||
|
||||
|
||||
# BorgBackup workflow
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
---
|
||||
tags:
|
||||
parents:
|
||||
date/time: 2024-11-18T20:05:00
|
||||
---
|
||||
erterterimplemented the solution [here](https://getlabsdone.com/how-to-connect-kvm-vm-to-host-network/)
|
||||
|
||||
## Network Manager icon looks disable, however networking is fine:
|
||||
|
||||
If the NetworkManager icon does not show a connection after setting up bridge networking on Debian 12, it may be because NetworkManager is not managing the bridge interface. By default, NetworkManager does not manage interfaces defined in
|
||||
|
||||
interfaces
|
||||
|
||||
or
|
||||
|
||||
interfaces.d
|
||||
|
||||
. Here’s how you can resolve this issue:
|
||||
|
||||
### Option 1: Configure NetworkManager to Manage the Bridge
|
||||
|
||||
1. **Install `network-manager-bridge`**:
|
||||
```sh
|
||||
sudo apt-get install network-manager-bridge
|
||||
```
|
||||
|
||||
2. **Create a Bridge Interface Using NetworkManager**:
|
||||
- Open a terminal and use `nmcli` to create and configure the bridge.
|
||||
|
||||
```sh
|
||||
sudo nmcli connection add type bridge ifname br0
|
||||
sudo nmcli connection add type bridge-slave ifname eth0 master br0
|
||||
sudo nmcli connection modify br0 ipv4.addresses 192.168.1.100/24 ipv4.gateway 192.168.1.1 ipv4.dns "8.8.8.8 8.8.4.4" ipv4.method manual
|
||||
sudo nmcli connection up br0
|
||||
```
|
||||
|
||||
3. **Remove the Bridge Configuration from
|
||||
|
||||
interfaces
|
||||
|
||||
**:
|
||||
- Open the file and remove or comment out the bridge configuration to avoid conflicts.
|
||||
|
||||
```sh
|
||||
sudo nano /etc/network/interfaces
|
||||
```
|
||||
|
||||
Comment out or remove the bridge configuration:
|
||||
```plaintext
|
||||
# auto br0
|
||||
# iface br0 inet static
|
||||
# address 192.168.1.100
|
||||
# netmask 255.255.255.0
|
||||
# gateway 192.168.1.1
|
||||
# dns-nameservers 8.8.8.8 8.8.4.4
|
||||
# bridge_ports eth0
|
||||
# bridge_stp off
|
||||
# bridge_fd 0
|
||||
# bridge_maxwait 0
|
||||
```
|
||||
|
||||
4. **Restart NetworkManager**:
|
||||
```sh
|
||||
sudo systemctl restart NetworkManager
|
||||
```
|
||||
|
||||
### Option 2: Configure NetworkManager to Ignore
|
||||
|
||||
interfaces
|
||||
|
||||
|
||||
|
||||
1. **Edit NetworkManager Configuration**:
|
||||
- Open the NetworkManager configuration file.
|
||||
|
||||
```sh
|
||||
sudo nano /etc/NetworkManager/NetworkManager.conf
|
||||
```
|
||||
|
||||
2. **Modify the Configuration**:
|
||||
- Ensure the following lines are present to tell NetworkManager to manage all devices.
|
||||
|
||||
```plaintext
|
||||
[main]
|
||||
plugins=ifupdown,keyfile
|
||||
|
||||
[ifupdown]
|
||||
managed=true
|
||||
```
|
||||
|
||||
3. **Restart NetworkManager**:
|
||||
```sh
|
||||
sudo systemctl restart NetworkManager
|
||||
```
|
||||
|
||||
### Summary
|
||||
|
||||
- **Option 1**: Use NetworkManager to create and manage the bridge interface. This ensures that the NetworkManager icon reflects the connection status.
|
||||
- **Option 2**: Configure NetworkManager to manage interfaces defined in
|
||||
|
||||
interfaces
|
||||
|
||||
.
|
||||
|
||||
By following these steps, you should be able to see the connection status in the NetworkManager icon after setting up bridge networking on Debian 12.
|
||||
12
notes/zettlekasten/1 - Fleeting Notes/Firejail.md
Normal file
12
notes/zettlekasten/1 - Fleeting Notes/Firejail.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
tags:
|
||||
parents:
|
||||
date/time: 2024-12-15T00:05:00
|
||||
---
|
||||
|
||||
https://wiki.archlinux.org/title/Firejail
|
||||
|
||||
|
||||
https://github.com/netblue30/firejail/issues/5137
|
||||
|
||||
|
||||
44
notes/zettlekasten/1 - Fleeting Notes/LLMs.md
Normal file
44
notes/zettlekasten/1 - Fleeting Notes/LLMs.md
Normal file
@@ -0,0 +1,44 @@
|
||||
---
|
||||
tags:
|
||||
parents:
|
||||
date/time: 2024-11-02T00:58:00
|
||||
---
|
||||
|
||||
|
||||
https://www.youtube.com/watch?v=9vM4p9NN0Ts stanford course
|
||||
|
||||
|
||||
|
||||
|
||||
http://www.incompleteideas.net/
|
||||
|
||||
|
||||
# Overview
|
||||
|
||||
|
||||
- ## Architecture
|
||||
|
||||
- ## Training algorithm/loss
|
||||
|
||||
- ## Data
|
||||
|
||||
- ## Evaluation
|
||||
|
||||
- ## Systems
|
||||
|
||||
|
||||
# Notes
|
||||
|
||||
pre-training (upto GP3) and pos-training(>gpt3)
|
||||
|
||||
**Overview**
|
||||
|
||||
- Language Models: are essentially probability distributions over sequence of tokens or words $P(x_1, ... x_L )$.
|
||||
for example:
|
||||
- $P(the,mouse,ate,the,cheese)=0.2$
|
||||
- $P(the,the,mouse,ate,the,cheese)=0.0001$ syntactic knowledge
|
||||
- $P(the,cheese,ate,the,cheese)=0.0001$ semantic knowledge
|
||||
- LLM are generative since given the distribution one can sample from it
|
||||
- LLMs are generally Autoregressive (AR): $$ p(x_1,x_2,...,x_L)=p(x_1)p(x_2|x_1)p(x_3|x_1,x_2),...p(x_L|x_1:x_{L-1})= \prod_i p(x_i|x_1:x_{i-1})$$
|
||||
|
||||
**Task**: predict next word:
|
||||
27
notes/zettlekasten/1 - Fleeting Notes/Omar Khayyam.md
Normal file
27
notes/zettlekasten/1 - Fleeting Notes/Omar Khayyam.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
tags:
|
||||
- "#poetry"
|
||||
parents: "[[Persian Poetry]]"
|
||||
date/time: 2024-10-15T00:23:00
|
||||
---
|
||||
# Omar Khayyam's rendee deedam
|
||||
|
||||
رندی دیدم نشسته روی خنگ زمین نه کفر و نه اسلام نه دنیا و نه دین
|
||||
نه حق نه حقیقت نه شریعت نه یقین اندر دو جهان کرا بود زهره این
|
||||
# Glossary
|
||||
|
||||
| | |
|
||||
| ------------------------------------------- | ----------- |
|
||||
| certainty | یقین |
|
||||
| A rogue/raskal/scoundral | رندی |
|
||||
| idiot/bare/barren | خنگ |
|
||||
| disbeliever/disbelief/atheist | کفر |
|
||||
| sharia (body of knowledge comes with Islam) | شریعت |
|
||||
| in/within | اندر |
|
||||
| to be | بود |
|
||||
| (zahreh) courage/gall/guts | زهره |
|
||||
| I got really frustrated | کفرم در امد |
|
||||
| kera (who) | کرا |
|
||||
# Reference
|
||||
|
||||
[Learn Persian with Chai and Conversation](https://www.youtube.com/watch?v=xvh9lY7KAZ4)
|
||||
49
notes/zettlekasten/1 - Fleeting Notes/Synology NAS.md
Normal file
49
notes/zettlekasten/1 - Fleeting Notes/Synology NAS.md
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
tags:
|
||||
- "#ssh"
|
||||
parents: "[[Linux Wflow]]"
|
||||
date/time: 2024-11-03T23:38:00
|
||||
---
|
||||
# Git repo
|
||||
|
||||
https://kb.synology.com/en-global/DSM/help/Git/git?version=7
|
||||
|
||||
Setting up Git Server : https://gist.github.com/walkerjeffd/374750c366605cd5123d
|
||||
|
||||
https://www.minmaxgeek.com/blog/fix-synology-ssl#step-2
|
||||
|
||||
on client side
|
||||
|
||||
```
|
||||
git clone ssh://yousef@chillibilly.pw:~/Projects
|
||||
```
|
||||
|
||||
|
||||
# Enable ssh through publickey
|
||||
|
||||
- generate private keys
|
||||
```
|
||||
ssh-keygen -t rsa -b 4096 -C "dl92@protonmail.com"
|
||||
```
|
||||
- copy keys to server(synology)
|
||||
```
|
||||
ssh-copy-id -n yousef@192.168.0.201
|
||||
|
||||
```
|
||||
- chg /etc/ssh/sshd_config and enable publickeyencryption and prohibit password
|
||||
|
||||
# Mounting drives through ssh
|
||||
|
||||
https://unix.stackexchange.com/questions/272264/use-sshfs-to-mount-synology-nas
|
||||
|
||||
- install sshfs
|
||||
- mount backup location
|
||||
```
|
||||
sshfs yousef@chillibilly.pw:/Rear ~/Rear
|
||||
|
||||
```
|
||||
|
||||
- mount borg archive
|
||||
```
|
||||
borg mount ~/Rear/<path_to_archive> ~/<path_to_backup_mount>
|
||||
```
|
||||
10
notes/zettlekasten/1 - Fleeting Notes/Tiling Managers.md
Normal file
10
notes/zettlekasten/1 - Fleeting Notes/Tiling Managers.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
tags:
|
||||
parents:
|
||||
date/time: 2024-11-30T00:09:00
|
||||
---
|
||||
|
||||
Nvidia and wayland
|
||||
|
||||
https://www.reddit.com/r/debian/comments/k3ouhc/comment/kavzuw3/?utm_source=share&utm_medium=web2x&context=3
|
||||
|
||||
20
notes/zettlekasten/1 - Fleeting Notes/Untitled.md
Normal file
20
notes/zettlekasten/1 - Fleeting Notes/Untitled.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
tags:
|
||||
parents:
|
||||
date/time: 2024-11-13T17:34:00
|
||||
---
|
||||
tert
|
||||
|
||||
Heimdall -app homepage
|
||||
firejail containers
|
||||
factorio
|
||||
catan
|
||||
|
||||
The Catan game is one of my all-time favorites to play with friends and family, especially during
|
||||
|
||||
|
||||
|
||||
https://aleksandarhaber.com/how-to-completely-uninstall-ollama-and-erase-llm-models-on-linux-systems/
|
||||
|
||||
trouble shooting nvidia driver
|
||||
https://www.reddit.com/r/debian/comments/1gt9q5s/debian_not_working_after_installing_nvidia_drivers/
|
||||
10
notes/zettlekasten/3 - References/Dual Booting.md
Normal file
10
notes/zettlekasten/3 - References/Dual Booting.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
tags:
|
||||
parents:
|
||||
date/time: 2024-10-22T23:07:00
|
||||
---
|
||||
gpar
|
||||
|
||||
https://itsfoss.com/install-windows-after-ubuntu-dual-boot/
|
||||
|
||||
https://www.baeldung.com/linux/grub-bootloader-add-new-os
|
||||
10
notes/zettlekasten/3 - References/Hacker News.md
Normal file
10
notes/zettlekasten/3 - References/Hacker News.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
tags:
|
||||
parents:
|
||||
date/time: 2024-11-01T16:20:00
|
||||
---
|
||||
# Interesting Articles/Authors
|
||||
|
||||
- [https://entropicthoughts.com/the-secret-of-meritocracy](https://entropicthoughts.com/the-secret-of-meritocracy)
|
||||
- [ A return to hand-written notes by learning to read & write](https://research.google/blog/a-return-to-hand-written-notes-by-learning-to-read-write/)
|
||||
-
|
||||
34
notes/zettlekasten/3 - References/Knight Moves 6.md
Normal file
34
notes/zettlekasten/3 - References/Knight Moves 6.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
tags:
|
||||
parents: "[[MOCS/Puzzles|Puzzles]]"
|
||||
date/time: 2024-10-15T22:32:00
|
||||
---
|
||||
vsco
|
||||
|
||||
|
||||
|
||||
|
||||
### Knight Moves 6
|
||||
|
||||
[](https://www.janestreet.com/puzzles/october-2024.png)
|
||||
|
||||
Pick **distinct positive integers** _A_, _B_, and _C_, and place them in the grid above. Your goal is to create two corner-to-corner trips — one from _a1_ to _f6_, and the other from _a6_ to _f1_ — both of which score **exactly 2024 points**.
|
||||
|
||||
A “trip” consists of knight’s moves. Squares may **not** be revisited within a trip.
|
||||
|
||||
The “score” for a trip is calculated as follows:
|
||||
|
||||
- Start with _A_ points.
|
||||
- Every time you make a move:
|
||||
- if your move is between two _different_ integers, **multiply** your score by the value you are moving to;
|
||||
- otherwise, **increment** your score by the value you are moving to.
|
||||
|
||||
Can you find positive integers _A_, _B_, and _C_, as well as a pair of trips, that satisfy the criteria above? How low can you get _A_ + _B_ + _C_?
|
||||
|
||||
Please format your entry by concatenating your values for _A_, _B_, and _C_, followed by your _a1_-to-_f6_ tour, followed by your _a6_-to-_f1_ tour. For example, “1,2,253,a1,b3,c5,d3,f4,d5,f6,a6,c5,a4,b2,c4,d2,f1” would be a properly formatted entry.
|
||||
|
||||
To qualify for the leaderboard your value for _A_ + _B_ + _C_ must be **less than 50**.
|
||||
|
||||
Submitted: | | | | | | |
|
||||
|---|---|---|---|---|---|
|
||||
|N=12|0 8 1,5,2,a1,c2,d4,f3,d2,f1,e3,d1,f2,e4,f6,a6,c5,d3,e5,c4,d6,e4,c3,d5,e3,f1|||||
|
||||
156
notes/zettlekasten/3 - References/Linux Services.md
Normal file
156
notes/zettlekasten/3 - References/Linux Services.md
Normal file
@@ -0,0 +1,156 @@
|
||||
---
|
||||
tags:
|
||||
- "#Linux/Service"
|
||||
parents: "[[Linux Wflow]]"
|
||||
date/time: 2024-10-15T22:07:00
|
||||
---
|
||||
|
||||
# Make Appimage run on startup
|
||||
|
||||
To run an AppImage on startup in a Linux environment, you can create a systemd service. Here are the steps:
|
||||
|
||||
1. **Make the AppImage executable**:
|
||||
```bash
|
||||
chmod +x /path/to/your/appimage
|
||||
```
|
||||
|
||||
2. **Create a systemd service file**:
|
||||
```bash
|
||||
sudo nano /etc/systemd/system/yourapp.service
|
||||
```
|
||||
|
||||
3. **Add the following content to the service file**:
|
||||
```ini
|
||||
[Unit]
|
||||
Description=Your AppImage Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/path/to/your/appimage
|
||||
Restart=always
|
||||
User=yourusername
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
```
|
||||
|
||||
4. **Reload systemd to recognize the new service**:
|
||||
```bash
|
||||
sudo systemctl daemon-reload
|
||||
```
|
||||
|
||||
5. **Enable the service to start on boot**:
|
||||
```bash
|
||||
sudo systemctl enable yourapp.service
|
||||
```
|
||||
|
||||
6. **Start the service immediately**:
|
||||
```bash
|
||||
sudo systemctl start yourapp.service
|
||||
```
|
||||
|
||||
Replace `/path/to/your/appimage` with the actual path to your AppImage and `yourusername` with your actual username.```
|
||||
|
||||
# General approach
|
||||
|
||||
|
||||
```
|
||||
|
||||
[Unit]
|
||||
Description=Your App Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/path/to/your/executable
|
||||
ExecStop=/path/to/stop/command
|
||||
ExecReload=/path/to/reload/command
|
||||
Restart=on-failure
|
||||
User=yourusername
|
||||
WorkingDirectory=/path/to/working/directory
|
||||
Environment="VAR_NAME=value"
|
||||
Type=simple
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
```
|
||||
|
||||
where:
|
||||
|
||||
|
||||
#### Unit Section
|
||||
|
||||
- **Description**: A short description of the service. This is displayed in systemd logs and status messages.
|
||||
|
||||
Description=Your App Service
|
||||
|
||||
- **After**: Specifies the order in which units are started. In this case, the service will start after the `network.target` is reached, ensuring that network services are available.
|
||||
|
||||
After=network.target
|
||||
|
||||
|
||||
#### Service Section
|
||||
|
||||
- **ExecStart**: The command that starts the service. This should be the full path to the executable or script you want to run.
|
||||
|
||||
ExecStart=/path/to/your/executable
|
||||
|
||||
- **Restart**: Defines the restart behavior of the service. Common values include:
|
||||
|
||||
- `no`: Do not restart the service.
|
||||
- `always`: Always restart the service if it stops.
|
||||
- `on-failure`: Restart the service only if it exits with a non-zero status.
|
||||
|
||||
Restart=always
|
||||
|
||||
- **User**: Specifies the user under which the service should run. This is useful for running services with non-root privileges.
|
||||
|
||||
User=yourusername
|
||||
|
||||
- **WorkingDirectory**: (Optional) Sets the working directory for the service. If not specified, the service will use the root directory (`/`).
|
||||
|
||||
WorkingDirectory=/path/to/working/directory
|
||||
|
||||
- **Environment**: (Optional) Sets environment variables for the service.
|
||||
|
||||
Environment="VAR_NAME=value"
|
||||
|
||||
|
||||
#### Install Section
|
||||
|
||||
- **WantedBy**: Specifies the target that the service should be started under. Common targets include:
|
||||
|
||||
- `multi-user.target`: A multi-user, non-graphical system (common for servers).
|
||||
- `graphical.target`: A graphical system with a display manager (common for desktops).
|
||||
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
||||
### Additional Directives
|
||||
|
||||
- **ExecStop**: Command to run when stopping the service.
|
||||
|
||||
ExecStop=/path/to/stop/command
|
||||
|
||||
- **ExecReload**: Command to run when reloading the service configuration.
|
||||
|
||||
ExecReload=/path/to/reload/command
|
||||
|
||||
- **Type**: Specifies the process start-up type. Common values include:
|
||||
|
||||
- `simple`: The service is considered started immediately after the `ExecStart` command is executed.
|
||||
- `forking`: The service is considered started after the process forks and the parent process exits.
|
||||
- `oneshot`: The service is considered started after the `ExecStart` command exits.
|
||||
- `notify`: The service will send a notification message via `sd_notify` when it has finished starting up.
|
||||
|
||||
Type=simple
|
||||
|
||||
|
||||
|
||||
|
||||
# References
|
||||
|
||||
Github Copilot
|
||||
|
||||
https://linuxhandbook.com/create-systemd-services/
|
||||
|
||||
92
notes/zettlekasten/3 - References/Networking.md
Normal file
92
notes/zettlekasten/3 - References/Networking.md
Normal file
@@ -0,0 +1,92 @@
|
||||
---
|
||||
tags:
|
||||
- "#Linux/Networking"
|
||||
parents: "[[Linux Wflow]]"
|
||||
date/time: 2024-10-15T22:10:00
|
||||
---
|
||||
|
||||
|
||||
use case:
|
||||
- check for ports in use - frequent issue is port in use and you forget this and try to use it in another context
|
||||
|
||||
# Open ports
|
||||
|
||||
## Method 1
|
||||
|
||||
If you are logged into a system, either directly or via SSH, you can use the lsof command to check its ports.
|
||||
|
||||
```
|
||||
sudo lsof -i -P -n
|
||||
```
|
||||
|
||||
This [lsof command](https://linuxhandbook.com/lsof-command/) is used to find the files and processes used by a user. The options used here are:
|
||||
|
||||
- -i: If no IP address is specified, this option selects the listing of all network files
|
||||
- -P: inhibits the conversion of port numbers to port names for network files
|
||||
- -n: inhibits the conversion of network numbers to host names for network files
|
||||
|
||||
This way, it will list open ports in the Linux terminal:
|
||||
|
||||

|
||||
|
||||
But, this also shows us a lot of extra ports that the computer does not actually listen to.
|
||||
|
||||
You can list the listening ports by [piping this output](https://linuxhandbook.com/pipe-redirection/) to the [grep command](https://linuxhandbook.com/grep-command-examples/) and matching the pattern "LISTEN", like this:
|
||||
|
||||
```bash
|
||||
sudo lsof -i -P -n | grep LISTEN
|
||||
```
|
||||
|
||||
This will only show the ports our computer is actively listening to and which service is using said open port.
|
||||
|
||||
Now, let's see another method to check open ports in bash shell.
|
||||
|
||||
## Method 2: Checking ports on any remote Linux server using the netcat command
|
||||
|
||||
[nc (Netcat) is a command line utility](https://linuxhandbook.com/nc-command/) that reads and writes data between computers over the network using the TCP and UDP protocols.
|
||||
|
||||
Given below is the syntax for `nc` command:
|
||||
|
||||
```bash
|
||||
nc [options] host port
|
||||
```
|
||||
|
||||
This utility has a nifty `-z` flag. When used, it will make `nc` scan for listening daemons without actually sending any data to the port.
|
||||
|
||||
Combine this with the `-v` flag, enabling verbosity, you can get a detailed output.
|
||||
|
||||
Below is the command you can use to scan for open ports using the `nc` command:
|
||||
|
||||
```bash
|
||||
nc -z -v <IP-ADDRESS> 1-65535 2>&1 | grep -v 'Connection refused'
|
||||
```
|
||||
|
||||
Replace `IP-ADDRESS` with the [IP address of the Linux system](https://linuxhandbook.com/find-ip-address/) you are checking the ports for.
|
||||
|
||||
As for why I selected values `1` to `65535`, that is because the port range starts from `1` and ends at `65535`.
|
||||
|
||||
Finally, pipe the output to the `grep` command. Using the `-v` option excludes any line that has "Connection refused" as a matched pattern.
|
||||
|
||||
This will show all the ports that are open on the computer which are accessible by another machine on the network.
|
||||
|
||||
|
||||
# Restart network interface
|
||||
|
||||
Use the following command to find out if you are using **systemd networkd service**, or **networking** or **NetworkManager** as service name with the systemd:
|
||||
|
||||
`systemctl list-unit-files --type=service --state=enabled`
|
||||
|
||||
|
||||
- The command to restart depends upon your version of Debian Linux. The latest version of Debian or Ubuntu Linux distro with **systemd networkd service** can use the following command:
|
||||
|
||||
`sudo systemctl restart systemd-networkd.service`
|
||||
`sudo systemctl status systemd-networkd.service`
|
||||
|
||||
- Debian/Ubuntu Linux with **networking** services, run:
|
||||
|
||||
`sudo systemctl restart networking `
|
||||
`sudo systemctl status networking`
|
||||
- The latest version of Ubuntu or Debian service name changed to NetworkManager. Hence, use the systemctl command as follows:
|
||||
-
|
||||
`sudo systemctl restart NetworkManager `
|
||||
`sudo systemctl status NetworkManager`
|
||||
16
notes/zettlekasten/3 - References/Solving Techniques.md
Normal file
16
notes/zettlekasten/3 - References/Solving Techniques.md
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
tags:
|
||||
parents: "[[Puzzles]]"
|
||||
date/time: 2024-10-31T23:38:00
|
||||
---
|
||||
Strategies for solving:
|
||||
|
||||
- Exhaustive search
|
||||
- Backtracking
|
||||
- Decrease-and-Conquer
|
||||
- Divide-and-Conquer
|
||||
- Transform-and-Conquer
|
||||
- Greedy Approach
|
||||
- Iterative Improvement
|
||||
- Dynamic Programming
|
||||
-
|
||||
8
notes/zettlekasten/MOCS/Linux Wflow.md
Normal file
8
notes/zettlekasten/MOCS/Linux Wflow.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
tags:
|
||||
- "#Linux"
|
||||
---
|
||||
```dataview
|
||||
list from [[]] and !outgoing([[]])
|
||||
```
|
||||
|
||||
8
notes/zettlekasten/MOCS/Persian Poetry.md
Normal file
8
notes/zettlekasten/MOCS/Persian Poetry.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
tags:
|
||||
- poetry
|
||||
---
|
||||
```dataview
|
||||
list from [[]] and !outgoing([[]])
|
||||
```
|
||||
|
||||
8
notes/zettlekasten/MOCS/Puzzles.md
Normal file
8
notes/zettlekasten/MOCS/Puzzles.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
tags:
|
||||
- "#Puzzles"
|
||||
---
|
||||
```dataview
|
||||
list from [[]] and !outgoing([[]])
|
||||
```
|
||||
|
||||
5
notes/zettlekasten/Templates/Fleeting Notes.md
Normal file
5
notes/zettlekasten/Templates/Fleeting Notes.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
tags:
|
||||
parents:
|
||||
date/time:
|
||||
---
|
||||
6
notes/zettlekasten/Templates/MOC.md
Normal file
6
notes/zettlekasten/Templates/MOC.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
tags:
|
||||
---
|
||||
```dataview
|
||||
list from [[]] and !outgoing([[]])
|
||||
```
|
||||
1
notes/zettlekasten/Untitled.canvas
Normal file
1
notes/zettlekasten/Untitled.canvas
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
40
notes/zettlekasten/Vault Design.md
Normal file
40
notes/zettlekasten/Vault Design.md
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
tags:
|
||||
- "#vaultdesign"
|
||||
parents:
|
||||
date/time: 2024-10-14T23:33:00
|
||||
---
|
||||
Initial inspiration from [Obsidian Rocks](https://obsidian.rocks/getting-started-with-obsidian-a-beginners-guide/)
|
||||
|
||||
- Zettelkasten Method
|
||||
- MOC Method
|
||||
|
||||
### Zettelkasten Method
|
||||
|
||||
The aim is to introduce/develop a set of atomic notes, which when linked with other atomic notes could lead to the development of new ideas. Atomic/Perm notes notes share the following characteristics:
|
||||
|
||||
- One main idea per note
|
||||
- understandable without context
|
||||
- written in my own words
|
||||
- linked to other notes
|
||||
|
||||
The process to create Permanent notes generally will entail the 1) creation of Fleeting note(s), 2) Refinement process in time and 3) and eventual promotion to a Permanent Note.
|
||||
|
||||
A fleeting note are notes about anything related to an idea or concept (we dont want include task/todo list!). These notes are meant to be:
|
||||
|
||||
- raw and unfiltered
|
||||
- useful to write when absorbing information from various sources (books/article/videos) with out distracting.
|
||||
- these notes are meant to revisited and refactored through time and promoted to a permanent note.
|
||||
|
||||
Zettelkasten requires maintenance and review there are tools that help monitor.
|
||||
|
||||
### Map of Content MOC
|
||||
|
||||
Similar to TOC. Related notes are gathered under one or more links. Workflow steps are:
|
||||
- create a folder where MOC will be housed
|
||||
- for each heading create a new MOC file. This file will render all dependent links via dataview plugin javascript.
|
||||
|
||||
```dataview
|
||||
list from [[]] and !outgoing([[]])
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user