diff options
-rw-r--r-- | .obsidian/workspace.json | 66 | ||||
-rw-r--r-- | .trash/2024-01-08.md (renamed from 0 inbox/2024-01-08.md) | 2 | ||||
-rw-r--r-- | .trash/2024-01-09.md (renamed from 0 inbox/2024-01-09.md) | 2 | ||||
-rw-r--r-- | .trash/2024-01-10.md (renamed from 0 inbox/2024-01-10.md) | 0 | ||||
-rw-r--r-- | .trash/2024-02-20.md (renamed from 0 inbox/2024-02-20.md) | 0 | ||||
-rw-r--r-- | .trash/2024-06-13.md (renamed from 0 inbox/2024-06-13.md) | 0 | ||||
-rw-r--r-- | .trash/2024-06-17.md (renamed from 0 inbox/2024-06-17.md) | 0 | ||||
-rw-r--r-- | .trash/2024-06-26.md (renamed from 0 inbox/2024-06-26.md) | 0 | ||||
-rw-r--r-- | .trash/2024-08-21.md | 20 | ||||
-rw-r--r-- | .trash/2024-08-22.md | 4 | ||||
-rw-r--r-- | .trash/2024-08-23.md (renamed from 0 inbox/2024-08-23.md) | 0 | ||||
-rw-r--r-- | .trash/2024-08-26.md (renamed from 0 inbox/2024-08-26.md) | 0 | ||||
-rw-r--r-- | .trash/2024-08-27.md (renamed from 0 inbox/2024-08-27.md) | 0 | ||||
-rw-r--r-- | .trash/2024-08-28.md (renamed from 0 inbox/2024-08-28.md) | 0 | ||||
-rw-r--r-- | .trash/2024-08-29.md (renamed from 0 inbox/2024-08-29.md) | 0 | ||||
-rw-r--r-- | .trash/2024-09-03.md (renamed from 0 inbox/2024-09-03.md) | 0 | ||||
-rw-r--r-- | .trash/2024-09-10.md (renamed from 0 inbox/2024-09-10.md) | 0 | ||||
-rw-r--r-- | .trash/2024-09-30.md (renamed from 0 inbox/2024-09-30.md) | 0 | ||||
-rw-r--r-- | .trash/2024-10-02.md (renamed from 0 inbox/2024-10-02.md) | 0 | ||||
-rw-r--r-- | .trash/2024-10-04.md (renamed from 0 inbox/2024-10-04.md) | 0 | ||||
-rw-r--r-- | .trash/2024-10-15.md (renamed from 0 inbox/2024-10-15.md) | 0 | ||||
-rw-r--r-- | .trash/2024-11-11.md (renamed from 0 inbox/2024-11-11.md) | 0 | ||||
-rw-r--r-- | .trash/2024-11-12.md (renamed from 0 inbox/2024-11-12.md) | 0 | ||||
-rw-r--r-- | .trash/ELF (files).md (renamed from 0 inbox/ELF (files).md) | 0 | ||||
-rw-r--r-- | .trash/Group.ONE Backup Service.md (renamed from 0 inbox/Group.ONE Backup Service.md) | 0 | ||||
-rw-r--r-- | .trash/Neutron DNS & Designate.md (renamed from 0 inbox/Neutron DNS & Designate.md) | 0 | ||||
-rw-r--r-- | .trash/Nix Flakes.md | 5 | ||||
-rw-r--r-- | .trash/Nixpkgs Overlays.md (renamed from 0 inbox/Nixpkgs Overlays.md) | 0 | ||||
-rw-r--r-- | .trash/Nova Scheduler.md (renamed from 0 inbox/Nova Scheduler.md) | 0 | ||||
-rw-r--r-- | .trash/Ruby gems nixpkgs.md (renamed from 0 inbox/Ruby gems nixpkgs.md) | 0 | ||||
-rw-r--r-- | .trash/Shell.nix python.md (renamed from 3 resources/programming/Elixir - modules.md) | 0 | ||||
-rw-r--r-- | .trash/Timings VPS.md (renamed from 0 inbox/Timings VPS.md) | 0 | ||||
-rw-r--r-- | .trash/Updates ansible ad-hoc.md | 0 | ||||
-rw-r--r-- | .trash/Zoner Migration.md (renamed from 0 inbox/Zoner Migration.md) | 0 | ||||
-rw-r--r-- | .trash/elixir - modules.md | 0 | ||||
-rw-r--r-- | .trash/intro.md | 7 | ||||
-rw-r--r-- | .trash/para.md | 2 | ||||
-rw-r--r-- | 0 inbox/2024-08-21.md | 27 | ||||
-rw-r--r-- | 0 inbox/Nix Flakes.md | 21 | ||||
-rw-r--r-- | 0 inbox/Shell.nix python.md | 15 | ||||
-rw-r--r-- | 0 inbox/intro.md | 21 | ||||
-rw-r--r-- | 0 inbox/para.md | 10 | ||||
-rw-r--r-- | 3 resources/Note taking.md | 7 | ||||
-rw-r--r-- | 3 resources/TaskWarrior (ToDo).md | 3 | ||||
-rw-r--r-- | 3 resources/ansible.md (renamed from 0 inbox/Updates ansible ad-hoc.md) | 1 | ||||
-rw-r--r-- | 3 resources/elixir.md (renamed from 3 resources/programming/Elixir.md) | 2 | ||||
-rw-r--r-- | 3 resources/group.one infra.md (renamed from 3 resources/Group.ONE Infrastructure.md) | 0 | ||||
-rw-r--r-- | 3 resources/man pages.md (renamed from 3 resources/Man pages.md) | 1 | ||||
-rw-r--r-- | 3 resources/mermaidjs.md (renamed from 0 inbox/2024-08-22.md) | 6 | ||||
-rw-r--r-- | 3 resources/nix.md | 58 | ||||
-rw-r--r-- | 3 resources/note taking system.md | 21 | ||||
-rw-r--r-- | 3 resources/programming/Nix.md | 16 | ||||
-rw-r--r-- | 3 resources/rabbitmq.md (renamed from 3 resources/RabbitMQ.md) | 1 | ||||
-rw-r--r-- | 3 resources/taskwarrior.md | 4 | ||||
-rw-r--r-- | 4 archive/Blkio errors.md (renamed from 0 inbox/Blkio errors.md) | 0 | ||||
-rw-r--r-- | 4 archive/Issues met TC oplossen.md (renamed from 0 inbox/Issues met TC oplossen.md) | 0 | ||||
-rw-r--r-- | 4 archive/antagonist_migratie.md (renamed from 0 inbox/antagonist_migratie.md) | 0 | ||||
-rw-r--r-- | TODO.md | 1 |
58 files changed, 160 insertions, 163 deletions
diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 4e0aa38..bf37445 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -4,21 +4,21 @@ "type": "split", "children": [ { - "id": "7d88ea66e5554b07", + "id": "27a70fc53d7bc8b7", "type": "tabs", "children": [ { - "id": "b4f55b03d2399001", + "id": "7e2bc46d82cc87a1", "type": "leaf", "state": { "type": "markdown", "state": { - "file": "Interviews/Interview Mohammed Al-Mahdawi.md", + "file": "3 resources/ansible.md", "mode": "source", "source": false }, "icon": "lucide-file", - "title": "Interview Mohammed Al-Mahdawi" + "title": "ansible" } } ] @@ -139,10 +139,10 @@ "state": { "type": "outline", "state": { - "file": "Interviews/Interview Mohammed Al-Mahdawi.md" + "file": "3 resources/ansible.md" }, "icon": "lucide-list", - "title": "Outline of Interview Mohammed Al-Mahdawi" + "title": "Outline of ansible" } } ], @@ -162,35 +162,35 @@ "command-palette:Open command palette": false } }, - "active": "0c5f7b9f79a1fa84", + "active": "7e2bc46d82cc87a1", "lastOpenFiles": [ - "Interviews/Interview Mohammed Al-Mahdawi.md", - "Interviews/Vragenlijst.md", - "Interviews/Interview Patrick Spek.md", + "0 inbox/Zoner Migration.md", + "3 resources/ansible.md", + "0 inbox/Updates ansible ad-hoc.md", + "3 resources/nix.md", + "0 inbox/Timings VPS.md", + "0 inbox/Shell.nix python.md", + "TODO.md", + "0 inbox/Ruby gems nixpkgs.md", + "0 inbox/para.md", + "0 inbox/Nova Scheduler.md", + "3 resources/mermaidjs.md", + "0 inbox/Nixpkgs Overlays.md", + "0 inbox/Nix Flakes.md", + "zettelkast/Index/Nix.md", + "4 archive/Issues met TC oplossen.md", + "0 inbox/Neutron DNS & Designate.md", + "3 resources/note taking system.md", + "0 inbox/intro.md", + "4 archive/Blkio errors.md", + "0 inbox/Group.ONE Backup Service.md", + "0 inbox/ELF (files).md", + "4 archive/antagonist_migratie.md", + "0 inbox/2024-11-12.md", + "0 inbox/2024-11-11.md", + "0 inbox/2024-10-15.md", + "0 inbox/2024-10-04.md", "Interviews", - "2024-11-11.md", - "2024-11-12.md", - "2024-10-15.md", - "2024-10-04.md", - "Daily/2024-10-02.md", - "Daily/2024-08-23.md", - "Daily/2024-08-27.md", - "Daily/2024-08-29.md", - "Daily/2024-09-03.md", - "Daily/2024-09-10.md", - "Daily/2024-09-30.md", - "Refined/2024-10-03.md", - "Daily/2024-08-28.md", - "Daily/2024-08-26.md", - "Daily/2024-08-22.md", - "Daily/2024-08-21.md", - "Elixir.md", - "Elixir - modules.md", - "Refined/RabbitMQ.md", - "Refined/TaskWarrior (ToDo).md", - "Refined/Group.ONE Infrastructure.md", - "Refined/Man pages.md", - "Refined/Note taking.md", "Refined", "Daily", "Untitled.canvas", diff --git a/0 inbox/2024-01-08.md b/.trash/2024-01-08.md index 13eee22..7e480af 100644 --- a/0 inbox/2024-01-08.md +++ b/.trash/2024-01-08.md @@ -4,7 +4,7 @@ tags: - qemu-guest-agent - backups --- -Got QEMU Guest agent working via booting a VM with an image after setting `hw_qemu_guest_agent='yes'` on that image. +ot QEMU Guest agent working via booting a VM with an image after setting `hw_qemu_guest_agent='yes'` on that image. Put a script under `/etc/qemu/fsfreeze-hook.d/` with the executable flag set that echo's 'yo' when it is run. diff --git a/0 inbox/2024-01-09.md b/.trash/2024-01-09.md index e0d0937..9b3c874 100644 --- a/0 inbox/2024-01-09.md +++ b/.trash/2024-01-09.md @@ -6,7 +6,7 @@ tags: - maintenance - issue --- -Had an idea to develop a tool to parse openstack release pages to see what's new from the CLI. +ad an idea to develop a tool to parse openstack release pages to see what's new from the CLI. Continued maintenance after making sure cold migrations do work on running VMs and make sure they are started again after migrating. diff --git a/0 inbox/2024-01-10.md b/.trash/2024-01-10.md index 6a91cdb..6a91cdb 100644 --- a/0 inbox/2024-01-10.md +++ b/.trash/2024-01-10.md diff --git a/0 inbox/2024-02-20.md b/.trash/2024-02-20.md index 2359685..2359685 100644 --- a/0 inbox/2024-02-20.md +++ b/.trash/2024-02-20.md diff --git a/0 inbox/2024-06-13.md b/.trash/2024-06-13.md index 61a16ac..61a16ac 100644 --- a/0 inbox/2024-06-13.md +++ b/.trash/2024-06-13.md diff --git a/0 inbox/2024-06-17.md b/.trash/2024-06-17.md index 144e133..144e133 100644 --- a/0 inbox/2024-06-17.md +++ b/.trash/2024-06-17.md diff --git a/0 inbox/2024-06-26.md b/.trash/2024-06-26.md index e69de29..e69de29 100644 --- a/0 inbox/2024-06-26.md +++ b/.trash/2024-06-26.md diff --git a/.trash/2024-08-21.md b/.trash/2024-08-21.md new file mode 100644 index 0000000..cf7a783 --- /dev/null +++ b/.trash/2024-08-21.md @@ -0,0 +1,20 @@ +eed to start learning to take notes consistently. My idea now, to kick-off this process, is to open a daily note in obsidian every day at the start of the day in which I will keep crude, quick notes. +Then at the end of the day I shall take some time to go over the notes and refine them. Not yet sure if that refinement will already be the end result or if i should go over refined notes again at maybe the end of each week to see if they really stick. +I should commit notes to git to save them. + + + +Don't forget to always read man pages. Maybe I should create a detailed note about how to use man pages. + +I will start going to the office full-time from now on. +I should make sure my Obsidian notes and taskwarrior tasks are kept safely in a git repo in case i lose my laptop.l + + + +I should ask for a diagram of the current systems and take note of it, e.g what is OneCRM / OneHOP / OneHome and all that. + +To upgrade a single package using apt we can use `apt-get install --only-upgrade <packagename>`. + +Need to "relearn" to design stuff and document it. + +Designing structures and a mechanism to return and store info about individual disk backups, we can send that as parent when making incremental backups. Currently we fetch parent reference from checkpoint, which in case of volume's doesn't work of course. It also breaks if, on the testpod, we reset all backups etc but dont do so with all checkpoints.
\ No newline at end of file diff --git a/.trash/2024-08-22.md b/.trash/2024-08-22.md new file mode 100644 index 0000000..a591d25 --- /dev/null +++ b/.trash/2024-08-22.md @@ -0,0 +1,4 @@ +Woke up full of motivation to go to the office. Asked my honey if it's okay to join her by train "is there enough time left?", "yeah" she replied. Then when I come downstairs and she asks me if I can be fast, I tell her maybe it's better you go then bc i worry I will not be able to. Right away she storms off mad and angry... My motivation gone, so I'll work from home.. + +Went to the office anyway by motorcycle, cannot feel like I'm waking up when staying at home anymore. + diff --git a/0 inbox/2024-08-23.md b/.trash/2024-08-23.md index 6f41ca2..6f41ca2 100644 --- a/0 inbox/2024-08-23.md +++ b/.trash/2024-08-23.md diff --git a/0 inbox/2024-08-26.md b/.trash/2024-08-26.md index a91a1c9..a91a1c9 100644 --- a/0 inbox/2024-08-26.md +++ b/.trash/2024-08-26.md diff --git a/0 inbox/2024-08-27.md b/.trash/2024-08-27.md index eb75d3f..eb75d3f 100644 --- a/0 inbox/2024-08-27.md +++ b/.trash/2024-08-27.md diff --git a/0 inbox/2024-08-28.md b/.trash/2024-08-28.md index ac0cac1..ac0cac1 100644 --- a/0 inbox/2024-08-28.md +++ b/.trash/2024-08-28.md diff --git a/0 inbox/2024-08-29.md b/.trash/2024-08-29.md index e69de29..e69de29 100644 --- a/0 inbox/2024-08-29.md +++ b/.trash/2024-08-29.md diff --git a/0 inbox/2024-09-03.md b/.trash/2024-09-03.md index 1d8a68e..1d8a68e 100644 --- a/0 inbox/2024-09-03.md +++ b/.trash/2024-09-03.md diff --git a/0 inbox/2024-09-10.md b/.trash/2024-09-10.md index 07ff5ba..07ff5ba 100644 --- a/0 inbox/2024-09-10.md +++ b/.trash/2024-09-10.md diff --git a/0 inbox/2024-09-30.md b/.trash/2024-09-30.md index fef578b..fef578b 100644 --- a/0 inbox/2024-09-30.md +++ b/.trash/2024-09-30.md diff --git a/0 inbox/2024-10-02.md b/.trash/2024-10-02.md index 64c611f..64c611f 100644 --- a/0 inbox/2024-10-02.md +++ b/.trash/2024-10-02.md diff --git a/0 inbox/2024-10-04.md b/.trash/2024-10-04.md index 9c77b37..9c77b37 100644 --- a/0 inbox/2024-10-04.md +++ b/.trash/2024-10-04.md diff --git a/0 inbox/2024-10-15.md b/.trash/2024-10-15.md index 8887a01..8887a01 100644 --- a/0 inbox/2024-10-15.md +++ b/.trash/2024-10-15.md diff --git a/0 inbox/2024-11-11.md b/.trash/2024-11-11.md index 5f3eedb..5f3eedb 100644 --- a/0 inbox/2024-11-11.md +++ b/.trash/2024-11-11.md diff --git a/0 inbox/2024-11-12.md b/.trash/2024-11-12.md index e48d53f..e48d53f 100644 --- a/0 inbox/2024-11-12.md +++ b/.trash/2024-11-12.md diff --git a/0 inbox/ELF (files).md b/.trash/ELF (files).md index e69de29..e69de29 100644 --- a/0 inbox/ELF (files).md +++ b/.trash/ELF (files).md diff --git a/0 inbox/Group.ONE Backup Service.md b/.trash/Group.ONE Backup Service.md index ebb2c92..ebb2c92 100644 --- a/0 inbox/Group.ONE Backup Service.md +++ b/.trash/Group.ONE Backup Service.md diff --git a/0 inbox/Neutron DNS & Designate.md b/.trash/Neutron DNS & Designate.md index 48785ab..48785ab 100644 --- a/0 inbox/Neutron DNS & Designate.md +++ b/.trash/Neutron DNS & Designate.md diff --git a/.trash/Nix Flakes.md b/.trash/Nix Flakes.md new file mode 100644 index 0000000..212281e --- /dev/null +++ b/.trash/Nix Flakes.md @@ -0,0 +1,5 @@ +nix + + + +--- diff --git a/0 inbox/Nixpkgs Overlays.md b/.trash/Nixpkgs Overlays.md index e69de29..e69de29 100644 --- a/0 inbox/Nixpkgs Overlays.md +++ b/.trash/Nixpkgs Overlays.md diff --git a/0 inbox/Nova Scheduler.md b/.trash/Nova Scheduler.md index 1f58400..1f58400 100644 --- a/0 inbox/Nova Scheduler.md +++ b/.trash/Nova Scheduler.md diff --git a/0 inbox/Ruby gems nixpkgs.md b/.trash/Ruby gems nixpkgs.md index e69de29..e69de29 100644 --- a/0 inbox/Ruby gems nixpkgs.md +++ b/.trash/Ruby gems nixpkgs.md diff --git a/3 resources/programming/Elixir - modules.md b/.trash/Shell.nix python.md index e69de29..e69de29 100644 --- a/3 resources/programming/Elixir - modules.md +++ b/.trash/Shell.nix python.md diff --git a/0 inbox/Timings VPS.md b/.trash/Timings VPS.md index 51857df..51857df 100644 --- a/0 inbox/Timings VPS.md +++ b/.trash/Timings VPS.md diff --git a/.trash/Updates ansible ad-hoc.md b/.trash/Updates ansible ad-hoc.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.trash/Updates ansible ad-hoc.md diff --git a/0 inbox/Zoner Migration.md b/.trash/Zoner Migration.md index dc61370..dc61370 100644 --- a/0 inbox/Zoner Migration.md +++ b/.trash/Zoner Migration.md diff --git a/.trash/elixir - modules.md b/.trash/elixir - modules.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.trash/elixir - modules.md diff --git a/.trash/intro.md b/.trash/intro.md new file mode 100644 index 0000000..5204005 --- /dev/null +++ b/.trash/intro.md @@ -0,0 +1,7 @@ +# Foundational document +This document outlines the basis of my note taking system and serves mostly as a reminder to myself. + +I want to train the skill of effective note taking as I believe that it will serve as a foundation +to any other study and will boost my overall productivity. + + diff --git a/.trash/para.md b/.trash/para.md new file mode 100644 index 0000000..c44b5b7 --- /dev/null +++ b/.trash/para.md @@ -0,0 +1,2 @@ +# PARA method + diff --git a/0 inbox/2024-08-21.md b/0 inbox/2024-08-21.md deleted file mode 100644 index 7408220..0000000 --- a/0 inbox/2024-08-21.md +++ /dev/null @@ -1,27 +0,0 @@ -Need to start learning to take notes consistently. My idea now, to kick-off this process, is to open a daily note in obsidian every day at the start of the day in which I will keep crude, quick notes. -Then at the end of the day I shall take some time to go over the notes and refine them. Not yet sure if that refinement will already be the end result or if i should go over refined notes again at maybe the end of each week to see if they really stick. -I should commit notes to git to save them. - -Use taskwarrior to keep track of todo's. -`task <filter> <command> [ <mods> | <args> ]` -commands can be abbreviated as long as they dont become ambigious. -Tasks can be recurring. -See `man task`, specially the CONTEXT section, because i'm always confused about the context, `task context none` to unset the damn thing. -Annotate tasks that are critical with the critical tag, `task <ID> annotate +critical` or `task add +critical blaat` -Upgraded to taskwarrior3. Should set-up a task server to synchronize tasks to so I don't lose all of them if my laptop dies. - -Don't forget to always read man pages. Maybe I should create a detailed note about how to use man pages. - -I will start going to the office full-time from now on. -I should make sure my Obsidian notes and taskwarrior tasks are kept safely in a git repo in case i lose my laptop.l - -Today I learned that we can influence the output of `rabbitmqctl list_queues` , we can append it with keywords of columns that it should show, this also allows us to reorder them to set those pesky names on the end to have nicer formatting. -`rabbitmqctl list_queues messages consumers name` shows messages accumulated in Q and the number of consumers it has and then ends with the name. Of course this is explained in the manpage which I should read more often as noted before. - -I should ask for a diagram of the current systems and take note of it, e.g what is OneCRM / OneHOP / OneHome and all that. - -To upgrade a single package using apt we can use `apt-get install --only-upgrade <packagename>`. - -Need to "relearn" to design stuff and document it. - -Designing structures and a mechanism to return and store info about individual disk backups, we can send that as parent when making incremental backups. Currently we fetch parent reference from checkpoint, which in case of volume's doesn't work of course. It also breaks if, on the testpod, we reset all backups etc but dont do so with all checkpoints.
\ No newline at end of file diff --git a/0 inbox/Nix Flakes.md b/0 inbox/Nix Flakes.md deleted file mode 100644 index cb7f69b..0000000 --- a/0 inbox/Nix Flakes.md +++ /dev/null @@ -1,21 +0,0 @@ -#nix - -Nix flakes are source trees containing a file `flake.nix` at their root. The file `flake.nix` provides a standardized way to provide [[Zettelkast/Index/Nix]] artifacts. It's like a package manager for [[Zettelkast/Index/Nix]]. A flake can be dependent on other Flakes and it's possible to pin dependencies to exact revisions by using a `flake.lock` file. - -Nix flake evaluation is hermetic, meaning that it produces the same result wherever it's built.k - -The feature can be enabled in `~/.config/nix/nix.conf`: - -``` -experimental-features = nix-command flakes -``` - -To initialize in a repo: `nix flake init`. - -In flakes dependencies have to be specified explicitly and MUST be locked to specific versions therefore it's no longer allowed to use the nixpkgs found in `NIX_PATH` by referencing it like `<nixpkgs>`. - -Output of a Flake is an arbitrary [[Zettelkast/Index/Nix]] value such as a package, [[NixOS]] module or library function. -Commands `nix build` and `nix shell` will build the output `packages.<system>.default` unless we specify another output, for example: `nix shell .#checks.aarch64-linux.build`. - ---- -[Flakes Wiki](https://nixos.wiki/wiki/Flakes)
\ No newline at end of file diff --git a/0 inbox/Shell.nix python.md b/0 inbox/Shell.nix python.md deleted file mode 100644 index 7dabd4d..0000000 --- a/0 inbox/Shell.nix python.md +++ /dev/null @@ -1,15 +0,0 @@ -https://nixos.org/manual/nixpkgs/stable/#python - -```nix -{ pkgs ? import <nixpkgs> {}}: - -pkgs.mkShell { - packages = [ pkgs.virtualenv ]; -} -``` - -```nix -with import <nixpkgs> {}; -( -let my_toolz = python311.pkgs.buildPythonPackage rec { pname = "toolz"; version = "0.10.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-CP3V73yWSArRHBLUct4hrNMjWZlvaaUlkpm1QP66RWA="; }; nativeBuildInputs = [ python311.pkgs.setuptools python311.pkgs.wheel ]; # has no tests doCheck = false; meta = { homepage = "https://github.com/pytoolz/toolz/"; description = "List processing tools and functional utilities"; # [...] }; }; in python311.withPackages (ps: with ps; [ numpy my_toolz ]) ).env -```
\ No newline at end of file diff --git a/0 inbox/intro.md b/0 inbox/intro.md deleted file mode 100644 index 0849f2f..0000000 --- a/0 inbox/intro.md +++ /dev/null @@ -1,21 +0,0 @@ -# Foundational document -This document outlines the basis of my note taking system and serves mostly as a reminder to myself. - -I want to train the skill of effective note taking as I believe that it will serve as a foundation -to any other study and will boost my overall productivity. - -## Why take notes? -By writing down notes we can relate information about a subject in a very personal way using our -own experiences to relate them to. - -We can us our notes as inspiration to create. In a centralized note taking system it is possible -to easily revisit notes and use them to inspire new ideas. - -Another effect of a centralized note system is that it is very easy to search through our notes -and use them as reference material. - - -## Quotes -"If I can't write about something; I don't understand the topic." - Mischa van den Burg? -"Clear thinking becomes clear writing; one can't exist without the other." - William Zinsser. - diff --git a/0 inbox/para.md b/0 inbox/para.md deleted file mode 100644 index 345f597..0000000 --- a/0 inbox/para.md +++ /dev/null @@ -1,10 +0,0 @@ -# PARA method -A method of note taking by Tiago Forte (Building a second brain) - -Projects: Anything that requires the completion of multiple tasks to reach a certain outcome. -Areas: Something that you are responsible for for a longer period of your live. -Resources: Notes about resources that you use to do anything, such as tools and programming languages for example. -Archive: Notes that you feel are nog longer relevant to you. They might end up being useful in unexpected ways -so don't throw away! - -GTD: Getting Things Done diff --git a/3 resources/Note taking.md b/3 resources/Note taking.md deleted file mode 100644 index 2a47666..0000000 --- a/3 resources/Note taking.md +++ /dev/null @@ -1,7 +0,0 @@ -**2024-08-21 17:59:00** -I want to become better at taking notes consistently in the hope that I forget less important things and become better overall at managing knowledge. -To try and create the habit I will open a new daily note in Obsidian at the start of the day and sit down at the end of the day to refine anything written down into a more permanent form like this one. I'm hoping that by doing this consistently I will more often write down ideas, information, etc. during the day, rather than forget about it. - -After refining the daily notes, I should commit and push changes to a remote git repo that is also regularly backed up so I keep all this knowledge safe. - -I'm not yet sure if and how I incorporate this into a "zettelkast", something I did start before but never really stuck. I will need to do more research into this, and note taking overall.
\ No newline at end of file diff --git a/3 resources/TaskWarrior (ToDo).md b/3 resources/TaskWarrior (ToDo).md deleted file mode 100644 index 6002fde..0000000 --- a/3 resources/TaskWarrior (ToDo).md +++ /dev/null @@ -1,3 +0,0 @@ -**2024-08-21 18:03:00** -I want to better keep track of what i'm doing, for that purpose I will use taskwarrior. For usage see `man task`. -Adding a task is done by `task add`, to modify it `task <ID> modify` . I use priorities, they can be set on a new or existing task with `priority:H/M/L`. diff --git a/0 inbox/Updates ansible ad-hoc.md b/3 resources/ansible.md index 2b8514c..501f9d0 100644 --- a/0 inbox/Updates ansible ad-hoc.md +++ b/3 resources/ansible.md @@ -1,3 +1,4 @@ +# Ad-hoc commands update apt cache: ``` ansible <pattern> -m ansible.builtin.apt -a "update_cache=true cache_valid_time=3600" diff --git a/3 resources/programming/Elixir.md b/3 resources/elixir.md index b106ae4..4d38de1 100644 --- a/3 resources/programming/Elixir.md +++ b/3 resources/elixir.md @@ -1,6 +1,6 @@ Elixir supports "macro's", which is Elixir code that runs at compile time. They receive the AST of the source code as input and can apply transformations to it. This is how Elixir is written itself, using Elixir macro's. -Elixir functions can be organized into [[Elixir - modules]]. +Elixir functions can be organized into [[elixir - modules]]. ``` defmodule MyModule do # Comment diff --git a/3 resources/Group.ONE Infrastructure.md b/3 resources/group.one infra.md index 1d9ba33..1d9ba33 100644 --- a/3 resources/Group.ONE Infrastructure.md +++ b/3 resources/group.one infra.md diff --git a/3 resources/Man pages.md b/3 resources/man pages.md index 901be15..576d4b8 100644 --- a/3 resources/Man pages.md +++ b/3 resources/man pages.md @@ -1,3 +1,2 @@ -**2024-08-21 18:07:20** I need to more consistently read man pages. Example is `man task` to see how taskwarrior works, after reading it today I found that it is actually quite easy. They often contain good information on how to use a certain tool.
\ No newline at end of file diff --git a/0 inbox/2024-08-22.md b/3 resources/mermaidjs.md index fd1531c..e468459 100644 --- a/0 inbox/2024-08-22.md +++ b/3 resources/mermaidjs.md @@ -1,8 +1,4 @@ -Woke up full of motivation to go to the office. Asked my honey if it's okay to join her by train "is there enough time left?", "yeah" she replied. Then when I come downstairs and she asks me if I can be fast, I tell her maybe it's better you go then bc i worry I will not be able to. Right away she storms off mad and angry... My motivation gone, so I'll work from home.. - -Went to the office anyway by motorcycle, cannot feel like I'm waking up when staying at home anymore. - -**MermaidJS ZenUML** +**ZenUML** Optional **Title** **Participants** can be declared when used or at the start. **Annotators** give **participants** a special icon, defined at the doc site. diff --git a/3 resources/nix.md b/3 resources/nix.md new file mode 100644 index 0000000..d407d2e --- /dev/null +++ b/3 resources/nix.md @@ -0,0 +1,58 @@ +# Language + `nix repl` to interactively evaluate Nix expressions. `:p` if output is not full. + `nix-instantiate --eval <file>.nix` to evaluate a Nix expression from a file. `--strict`. + +Nix is like JSON, but with functions. +Recursive attribute sets can reference values declared earlier in the same set. +```nix +rec { + one = 1; + two = one + 1; +} +``` + +A `let` binding is used to assign names to values just as attribute sets, they can then be used in expressions. Let bindings have a local scope. + +A `with` allows referencing attributes of attribute sets without referencing the set. +# Flakes +Nix flakes are source trees containing a file `flake.nix` at their root. The file `flake.nix` provides a standardized way to provide [[Zettelkast/Index/Nix]] artifacts. It's like a package manager for [[Zettelkast/Index/Nix]]. A flake can be dependent on other Flakes and it's possible to pin dependencies to exact revisions by using a `flake.lock` file. + +Nix flake evaluation is hermetic, meaning that it produces the same result wherever it's built.k + +The feature can be enabled in `~/.config/nix/nix.conf`: + +``` +experimental-features = nix-command flakes +``` + +To initialize in a repo: `nix flake init`. + +In flakes dependencies have to be specified explicitly and MUST be locked to specific versions therefore it's no longer allowed to use the nixpkgs found in `NIX_PATH` by referencing it like `<nixpkgs>`. + +Output of a Flake is an arbitrary [[Zettelkast/Index/Nix]] value such as a package, [[NixOS]] module or library function. +Commands `nix build` and `nix shell` will build the output `packages.<system>.default` unless we specify another output, for example: `nix shell .#checks.aarch64-linux.build`. + +# Overlays +[[TODO]] + +# Shell.nix +Can be used to set up per dir environments, e.g using direnv to automatically activate them. +## Python +https://nixos.org/manual/nixpkgs/stable/#python + +```nix +{ pkgs ? import <nixpkgs> {}}: + +pkgs.mkShell { + packages = [ pkgs.virtualenv ]; +} +``` + +```nix +with import <nixpkgs> {}; +( +let my_toolz = python311.pkgs.buildPythonPackage rec { pname = "toolz"; version = "0.10.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-CP3V73yWSArRHBLUct4hrNMjWZlvaaUlkpm1QP66RWA="; }; nativeBuildInputs = [ python311.pkgs.setuptools python311.pkgs.wheel ]; # has no tests doCheck = false; meta = { homepage = "https://github.com/pytoolz/toolz/"; description = "List processing tools and functional utilities"; # [...] }; }; in python311.withPackages (ps: with ps; [ numpy my_toolz ]) ).env +``` + +--- +[Flakes Wiki](https://nixos.wiki/wiki/Flakes)
\ No newline at end of file diff --git a/3 resources/note taking system.md b/3 resources/note taking system.md new file mode 100644 index 0000000..907e2ce --- /dev/null +++ b/3 resources/note taking system.md @@ -0,0 +1,21 @@ +## Why take notes? +By writing down notes we can relate information about a subject in a very personal way using our own experiences to relate them to. + +We can us our notes as inspiration to create. In a centralized note taking system it is possible to easily revisit notes and use them to inspire new ideas. + +Another effect of a centralized note system is that it is very easy to search through our notes and use them as reference material. + +## How +Using the para method; a method of note taking by Tiago Forte (Building a second brain) + +Projects: Anything that requires the completion of multiple tasks to reach a certain outcome. +Areas: Something that you are responsible for for a longer period of your live. +Resources: Notes about resources that you use to do anything, such as tools and programming languages for example. +Archive: Notes that you feel are nog longer relevant to you. They might end up being useful in unexpected ways +so don't throw away! + +GTD: Getting Things Done + +## Quotes +"If I can't write about something; I don't understand the topic." - Mischa van den Burg? +"Clear thinking becomes clear writing; one can't exist without the other." - William Zinsser. diff --git a/3 resources/programming/Nix.md b/3 resources/programming/Nix.md deleted file mode 100644 index fca31a8..0000000 --- a/3 resources/programming/Nix.md +++ /dev/null @@ -1,16 +0,0 @@ - `nix repl` to interactively evaluate Nix expressions. `:p` if output is not full. - `nix-instantiate --eval <file>.nix` to evaluate a Nix expression from a file. `--strict`. - -Nix is like JSON, but with functions. -Recursive attribute sets can reference values declared earlier in the same set. -```nix -rec { - one = 1; - two = one + 1; -} -``` - -A `let` binding is used to assign names to values just as attribute sets, they can then be used in expressions. Let bindings have a local scope. - -A `with` allows referencing attributes of attribute sets without referencing the set. - diff --git a/3 resources/RabbitMQ.md b/3 resources/rabbitmq.md index e9c94c5..312bec2 100644 --- a/3 resources/RabbitMQ.md +++ b/3 resources/rabbitmq.md @@ -1,2 +1 @@ -**2024-08-21 18:09** With `rabbitmqctl list_queues` we can add columns to show. So instead of the default layout which shows messages in the Q after the name and is horrible we can specify stuff like: `rabbitmqctl list_queues messages consumers name`. There are more options to be found in `man rabbitmqctl`. diff --git a/3 resources/taskwarrior.md b/3 resources/taskwarrior.md new file mode 100644 index 0000000..34fe640 --- /dev/null +++ b/3 resources/taskwarrior.md @@ -0,0 +1,4 @@ +`task add something +label` +`task context none` +`task add highprio thing +label priority:H` +`task context define mycontext +label project:blaat` diff --git a/0 inbox/Blkio errors.md b/4 archive/Blkio errors.md index 2b666a3..2b666a3 100644 --- a/0 inbox/Blkio errors.md +++ b/4 archive/Blkio errors.md diff --git a/0 inbox/Issues met TC oplossen.md b/4 archive/Issues met TC oplossen.md index 4ad3bf8..4ad3bf8 100644 --- a/0 inbox/Issues met TC oplossen.md +++ b/4 archive/Issues met TC oplossen.md diff --git a/0 inbox/antagonist_migratie.md b/4 archive/antagonist_migratie.md index c04a00b..c04a00b 100644 --- a/0 inbox/antagonist_migratie.md +++ b/4 archive/antagonist_migratie.md @@ -0,0 +1 @@ +Used as a link for subjects that I have yet to cover in notes.
\ No newline at end of file |