Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
guFalcon committed Jun 12, 2024
1 parent 586da3d commit 58b781f
Show file tree
Hide file tree
Showing 15 changed files with 383 additions and 182 deletions.
1 change: 1 addition & 0 deletions .obsidian/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions .obsidian/appearance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
30 changes: 30 additions & 0 deletions .obsidian/core-plugins-migration.json
Original file line number Diff line number Diff line change
@@ -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": false,
"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": false
}
20 changes: 20 additions & 0 deletions .obsidian/core-plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"bookmarks",
"outline",
"word-count",
"file-recovery"
]
175 changes: 175 additions & 0 deletions .obsidian/workspace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
{
"main": {
"id": "66ba8c7b35d8c6ff",
"type": "split",
"children": [
{
"id": "77744110a855e4f5",
"type": "tabs",
"children": [
{
"id": "2d6b9cea1b5cc2c2",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "scheduled_hibernation.md",
"mode": "source",
"source": false
}
}
},
{
"id": "79d6f12eacc59f85",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "keycloak_update_from_pre_13.md",
"mode": "source",
"source": false
}
}
}
],
"currentTab": 1
}
],
"direction": "vertical"
},
"left": {
"id": "4eaa67c48b1eb8ea",
"type": "split",
"children": [
{
"id": "d9ad51fb91233c76",
"type": "tabs",
"children": [
{
"id": "9ffeb56ca1a84b42",
"type": "leaf",
"state": {
"type": "file-explorer",
"state": {
"sortOrder": "alphabetical"
}
}
},
{
"id": "75d43ea4820b71dd",
"type": "leaf",
"state": {
"type": "search",
"state": {
"query": "",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical"
}
}
},
{
"id": "0e5f3b058e6479fc",
"type": "leaf",
"state": {
"type": "bookmarks",
"state": {}
}
}
]
}
],
"direction": "horizontal",
"width": 300
},
"right": {
"id": "76aca6da6631789d",
"type": "split",
"children": [
{
"id": "c2a09e66b27c7bb1",
"type": "tabs",
"children": [
{
"id": "775166d4741d99d9",
"type": "leaf",
"state": {
"type": "backlink",
"state": {
"file": "keycloak_update_from_pre_13.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
"showSearch": false,
"searchQuery": "",
"backlinkCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "503bde0011453a9c",
"type": "leaf",
"state": {
"type": "outgoing-link",
"state": {
"file": "keycloak_update_from_pre_13.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "37a06a944ec280df",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
}
},
{
"id": "3b12a2f20ad3f4eb",
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "keycloak_update_from_pre_13.md"
}
}
}
]
}
],
"direction": "horizontal",
"width": 300,
"collapsed": true
},
"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": "79d6f12eacc59f85",
"lastOpenFiles": [
"scheduled_hibernation.md",
"keycloak_update_from_pre_13.md",
"ssh_cheat_sheet.md",
"vnc_cheat_sheet.md",
"ssl_cheat_sheet.md",
"docker.md",
"git_cheat_sheet_update.md",
"gpg_cheat_sheet.md",
"letsencrypt_cheat_sheet.md",
"linux_cheat_sheet.md"
]
}
8 changes: 0 additions & 8 deletions docker.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# Docker

## Installation

```bash
sudo apt install docker.io
```

### Post Installation
```bash
# post install general
Expand All @@ -30,10 +27,7 @@ sudo nano /etc/docker/daemon.json
# where the IPs are from your DNS servers.
# They will be used from within containers started on your host.
```


## Reload Start, Stop, Restart

```bash
# reload config (.json config files)
sudo systemctl daemon-reload
Expand All @@ -43,9 +37,7 @@ sudo systemctl stop docker
# start daemon
sudo systemctl start docker
```

## Move data-dir (/var/lib/docker)

```bash
# Stop docker daemon
sudo systemctl stop docker
Expand Down
11 changes: 0 additions & 11 deletions git_cheat_sheet_update.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
### git status

Gets the status of your index (which files you've changed or added/removed, but not yet committed).

### git branch <branch_name>

Creates a new branch. Doesn't check it out yet.

### git checkout <branch_name>

Checks out the given branch.

### git fetch --prune

Gets all the updates from upstream and removes cached branches from your list of upstream branches.

### git branch -d <branch_name>

Removes your local branch.

### git branch -a

Gets information about all branches, upstream and local, and displays what you've checked out at the moment. Nice overall branching info.

9 changes: 0 additions & 9 deletions gpg_cheat_sheet.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
# GPG Cheat Sheet

## Commands

### list keys

```bash
gpg --list-keys
```

### export keys

```bash
gpg --export-secret-keys -a 1234ABCD > secret.asc
# or
gpg --export-secret-keys keyIDNumber > exportedKeyFilename.asc
```

### edit keys

```bash
gpg --edit-key (keyIDNumber)

Expand All @@ -31,9 +24,7 @@ Please decide how far you trust this user to correctly verify other users' keys
5 = I trust ultimately
m = back to the main menu
```
### import keys
```bash
gpg --import mypub_key
gpg --allow-secret-key-import --import myprv_key
Expand Down
Loading

0 comments on commit 58b781f

Please sign in to comment.